diff options
| author | 2008-01-15 00:44:02 +0000 | |
|---|---|---|
| committer | 2008-01-15 00:44:02 +0000 | |
| commit | f366793158b096ece7ca23a742c5ae9ed8688f65 (patch) | |
| tree | 7cf67714b1af2a4e9e520b8c8b8ba1b77332fb20 /src/modules/spaste/libkvispaste.cpp | |
| parent | modified Makefiles to accept new Croatian translation files (diff) | |
| download | KVIrc-f366793158b096ece7ca23a742c5ae9ed8688f65.tar.gz KVIrc-f366793158b096ece7ca23a742c5ae9ed8688f65.tar.bz2 KVIrc-f366793158b096ece7ca23a742c5ae9ed8688f65.zip | |
More alternate port to Qt4: no longer relying on Qt collection classes
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1085 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/spaste/libkvispaste.cpp')
| -rw-r--r-- | src/modules/spaste/libkvispaste.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/spaste/libkvispaste.cpp b/src/modules/spaste/libkvispaste.cpp index 14f40be7e..0d3457c40 100644 --- a/src/modules/spaste/libkvispaste.cpp +++ b/src/modules/spaste/libkvispaste.cpp @@ -41,7 +41,7 @@ #include <unistd.h> #endif -KviPtrList<SPasteController> * g_pControllerList = 0; +KviPointerList<SPasteController> * g_pControllerList = 0; int ctrlId = 0; static SPasteController * spaste_find_controller(KviWindow * w) @@ -208,7 +208,7 @@ static bool spaste_kvs_cmd_stop(KviKvsModuleCommandCall * c) return true; } else { - KviPtrListIterator<SPasteController> it(*g_pControllerList); + KviPointerListIterator<SPasteController> it(*g_pControllerList); SPasteController *item; if(!iId) //Delete all spaste's from the current window @@ -264,7 +264,7 @@ static bool spaste_kvs_cmd_stop(KviKvsModuleCommandCall * c) static bool spaste_kvs_cmd_list(KviKvsModuleCommandCall * c) { - KviPtrListIterator<SPasteController> it(*g_pControllerList); + KviPointerListIterator<SPasteController> it(*g_pControllerList); SPasteController *item; while( (item = it.current()) != 0) @@ -312,7 +312,7 @@ static bool spaste_kvs_cmd_setdelay(KviKvsModuleCommandCall * c) //------------------------------------------------- static bool spaste_module_init(KviModule * m) { - g_pControllerList = new KviPtrList<SPasteController>; + g_pControllerList = new KviPointerList<SPasteController>; g_pControllerList->setAutoDelete(false); KVSM_REGISTER_SIMPLE_COMMAND(m,"file",spaste_kvs_cmd_file); |
