diff options
| author | 2011-01-07 18:06:43 +0000 | |
|---|---|---|
| committer | 2011-01-07 18:06:43 +0000 | |
| commit | 0554493842659c84b50ef43afb90dd6335981967 (patch) | |
| tree | 4ad4e25b22dd6be869196d40892a990c3823bc8c /src/modules/window/libkviwindow.cpp | |
| parent | update (diff) | |
| download | KVIrc-0554493842659c84b50ef43afb90dd6335981967.tar.gz KVIrc-0554493842659c84b50ef43afb90dd6335981967.tar.bz2 KVIrc-0554493842659c84b50ef43afb90dd6335981967.zip | |
killed some defines;
more work on KDE notifier;
improved hungarian notation;
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5308 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/window/libkviwindow.cpp')
| -rw-r--r-- | src/modules/window/libkviwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp index dfc105720..35bb2ba47 100644 --- a/src/modules/window/libkviwindow.cpp +++ b/src/modules/window/libkviwindow.cpp @@ -123,7 +123,7 @@ static bool window_kvs_cmd_clearOutput(KviKvsModuleCommandCall * c) if(pWnd) { if(pWnd->view())pWnd->view()->clearBuffer(); - if(pWnd->type() == KVI_WINDOW_TYPE_CHANNEL) + if(pWnd->type() == KviWindow::Channel) { KviChannelWindow *chan = (KviChannelWindow *)pWnd; if(chan->messageView()) chan->messageView()->clearBuffer(); @@ -924,7 +924,7 @@ static bool window_kvs_cmd_listtypes(KviKvsModuleCommandCall * c) [comment]# List all the windows in all irc contexts[/comment] [cmd]echo[/cmd] $window.list(all,all) [comment]# List all the DCC Send windows: They don't belong to any irc context[/comment] - [cmd]echo[/cmd] $window.list(dccsend,none) + [cmd]echo[/cmd] $window.list(dcctransfer,none) [comment]# List all the user windows created with $window.open[/comment] [comment]# They may either belong to an irc context or not[/comment] [cmd]echo[/cmd] $window.list(userwnd,any) @@ -1220,7 +1220,7 @@ static bool window_kvs_cmd_setWindowTitle(KviKvsModuleCommandCall * c) return true; } - if(pWnd->type() == KVI_WINDOW_TYPE_USERWINDOW) + if(pWnd->type() == KviWindow::UserWindow) { ((UserWindow *)pWnd)->setWindowTitleStrings(szPlain); } else { |
