aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/window
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2008-04-28 01:31:42 +0000
committerGravatar Szymon Tomasz Stefanek2008-04-28 01:31:42 +0000
commit6eff13c1b9d284fad598bc4ad92826db29723926 (patch)
tree7797f07f76f4826010215fad47a31191155dfd04 /src/modules/window
parentfix compilation error (diff)
downloadKVIrc-6eff13c1b9d284fad598bc4ad92826db29723926.tar.gz
KVIrc-6eff13c1b9d284fad598bc4ad92826db29723926.tar.bz2
KVIrc-6eff13c1b9d284fad598bc4ad92826db29723926.zip
A huge progress in KDE4 port, kvirc and several modules now compile. Linking problems solved. Added an option to pick up a random IP address for round-robin IRC servers. Some code cleanup all around...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1608 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/window')
-rw-r--r--src/modules/window/libkviwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp
index 05d987d34..9e1e7ab2e 100644
--- a/src/modules/window/libkviwindow.cpp
+++ b/src/modules/window/libkviwindow.cpp
@@ -53,7 +53,7 @@
// kvi_app.cpp
-extern KVIRC_API KviPointerHashTable<const char *,KviWindow> * g_pGlobalWindowDict;
+extern KVIRC_API KviPointerHashTable<QString,KviWindow> * g_pGlobalWindowDict;
KviPointerList<KviUserWindow> * g_pUserWindowList = 0;
// $window.caption $window.x $window.y $window.width $window.height $window.isActive $window.type
@@ -857,7 +857,7 @@ static bool window_kvs_fnc_list(KviKvsModuleFunctionCall * c)
{
// all contexts but no "no_context" windows
bool bAllWindows = KviQString::equalCI(szType,"all");
- KviPointerHashTableIterator<const char *,KviWindow> it(*g_pGlobalWindowDict);
+ KviPointerHashTableIterator<QString,KviWindow> it(*g_pGlobalWindowDict);
while(KviWindow * wnd = it.current())
{
@@ -881,7 +881,7 @@ static bool window_kvs_fnc_list(KviKvsModuleFunctionCall * c)
{
// all contexts and also "no_context" windows
bool bAllWindows = KviQString::equalCI(szType.lower(),"all");
- KviPointerHashTableIterator<const char *,KviWindow> it(*g_pGlobalWindowDict);
+ KviPointerHashTableIterator<QString,KviWindow> it(*g_pGlobalWindowDict);
while(KviWindow * wnd = it.current())
{
@@ -902,7 +902,7 @@ static bool window_kvs_fnc_list(KviKvsModuleFunctionCall * c)
{
// only "no_context" windows
bool bAllWindows = KviQString::equalCI(szType.lower(),"all");
- KviPointerHashTableIterator<const char *,KviWindow> it(*g_pGlobalWindowDict);
+ KviPointerHashTableIterator<QString,KviWindow> it(*g_pGlobalWindowDict);
while(KviWindow * wnd = it.current())
{
@@ -947,7 +947,7 @@ static bool window_kvs_fnc_list(KviKvsModuleFunctionCall * c)
}
bool bAllWindows = KviQString::equalCI(szType.lower(),"all");
- KviPointerHashTableIterator<const char *,KviWindow> it(*g_pGlobalWindowDict);
+ KviPointerHashTableIterator<QString,KviWindow> it(*g_pGlobalWindowDict);
while(KviWindow * wnd = it.current())
{