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/editor/scripteditor.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/editor/scripteditor.cpp')
| -rw-r--r-- | src/modules/editor/scripteditor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 2e7ab0d3e..70237ee07 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -47,7 +47,7 @@ #include "kvi_qstring.h" #include "kvi_config.h" #include "kvi_module.h" -#include "kvi_list.h" +#include "kvi_pointerlist.h" // #include "kvi_app.h" #include "kvi_console.h" @@ -58,7 +58,7 @@ #include <qlayout.h> -extern KviPtrList<KviScriptEditorImplementation> * g_pScriptEditorWindowList; +extern KviPointerList<KviScriptEditorImplementation> * g_pScriptEditorWindowList; extern KviModule * g_pEditorModulePointer; @@ -96,7 +96,7 @@ KviCompletionBox::KviCompletionBox(QWidget * parent = 0) void KviCompletionBox::updateContents(QString buffer) { buffer=buffer.stripWhiteSpace(); - KviPtrList<QString> list; + KviPointerList<QString> list; clear(); QString szModule; @@ -167,7 +167,7 @@ void KviCompletionBox::keyPressEvent(QKeyEvent * e) KviScriptEditorWidgetColorOptions::KviScriptEditorWidgetColorOptions(QWidget * pParent) : QDialog(pParent) { - m_pSelectorInterfaceList = new KviPtrList<KviSelectorInterface>; + m_pSelectorInterfaceList = new KviPointerList<KviSelectorInterface>; m_pSelectorInterfaceList->setAutoDelete(false); setCaption(__tr2qs_ctx("Preferences","editor")); QGridLayout * g = new QGridLayout(this,3,3,4,4); @@ -409,7 +409,7 @@ void KviScriptEditorWidget::contentsMousePressEvent(QMouseEvent *e) buffer=this->text(para); getWordOnCursor(buffer,index); QString tmp=buffer; - KviPtrList<QString> l; + KviPointerList<QString> l; if (tmp.left(1) == "$") { tmp.remove(0,1); @@ -441,7 +441,7 @@ bool KviScriptEditorWidget::contextSensitiveHelp() const /* QString tmp=buffer; - KviPtrList<QString> * l; + KviPointerList<QString> * l; if(tmp.left(1) == "$") { tmp.remove(0,1); |
