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/popupeditor/popupeditor.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/popupeditor/popupeditor.cpp')
| -rw-r--r-- | src/modules/popupeditor/popupeditor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp index 53e1b9d29..9ebbb7e67 100644 --- a/src/modules/popupeditor/popupeditor.cpp +++ b/src/modules/popupeditor/popupeditor.cpp @@ -46,7 +46,7 @@ #include <qlayout.h> #include <qlabel.h> #include <qtooltip.h> -#include "kvi_asciidict.h" +#include "kvi_pointerhashtable.h" #include <qpushbutton.h> #include "kvi_tal_vbox.h" @@ -1067,10 +1067,10 @@ void KviPopupEditor::oneTimeSetup() if(m_bOneTimeSetupDone)return; m_bOneTimeSetupDone = true; - const KviDict<KviKvsPopupMenu> * a = KviKvsPopupManager::instance()->popupDict(); + const KviPointerHashTable<QString,KviKvsPopupMenu> * a = KviKvsPopupManager::instance()->popupDict(); if(!a)return; - KviDictIterator<KviKvsPopupMenu> it(*a); + KviPointerHashTableIterator<QString,KviKvsPopupMenu> it(*a); KviMenuListViewItem * item; @@ -1255,7 +1255,7 @@ void KviPopupEditor::commit() KviMenuListViewItem * it = (KviMenuListViewItem *)m_pListView->firstChild(); // Copy the original popup dict - KviDict<KviKvsPopupMenu> copy(*(KviKvsPopupManager::instance()->popupDict())); + KviPointerHashTable<QString,KviKvsPopupMenu> copy(*(KviKvsPopupManager::instance()->popupDict())); copy.setAutoDelete(false); while(it) @@ -1270,7 +1270,7 @@ void KviPopupEditor::commit() // the remaining elements in the copy need to be removed from // the "new" dictionary (they are no longer used) - KviDictIterator<KviKvsPopupMenu> iter(copy); + KviPointerHashTableIterator<QString,KviKvsPopupMenu> iter(copy); while(iter.current()) { |
