aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/editor/scripteditor.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2007-01-26 03:54:22 +0000
committerGravatar Szymon Tomasz Stefanek2007-01-26 03:54:22 +0000
commit1a8a7e6f145613c34ff0604b95370995fc625ef2 (patch)
tree79b63ab083ae2eecfbf98170e9d50731f6bb4d67 /src/modules/editor/scripteditor.cpp
parentfix win compilation and update win projects (diff)
downloadKVIrc-1a8a7e6f145613c34ff0604b95370995fc625ef2.tar.gz
KVIrc-1a8a7e6f145613c34ff0604b95370995fc625ef2.tar.bz2
KVIrc-1a8a7e6f145613c34ff0604b95370995fc625ef2.zip
More Qt 4.x port and the torrent module by Alexander Stillich
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@255 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/editor/scripteditor.cpp')
-rw-r--r--src/modules/editor/scripteditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
index bd27cae06..c2068daa4 100644
--- a/src/modules/editor/scripteditor.cpp
+++ b/src/modules/editor/scripteditor.cpp
@@ -69,8 +69,8 @@ static QColor g_clrFind(187,221,255);
static QFont g_fntNormal("Fixed",12);
-KviCompletionBox::KviCompletionBox(QWidget * parent = 0, const char * name = 0, WFlags f = 0)
-: QListBox(parent,name,f)
+KviCompletionBox::KviCompletionBox(QWidget * parent = 0)
+: KviTalListBox(parent)
{
setPaletteForegroundColor(QColor(0,0,0));
setPaletteBackgroundColor(QColor(255,255,255));
@@ -80,7 +80,7 @@ KviCompletionBox::KviCompletionBox(QWidget * parent = 0, const char * name = 0,
setFont(listfont);
setVariableWidth(false);
setFixedWidth(200);
- //completelistbox->setColumnMode(QListBox::Variable);
+ //completelistbox->setColumnMode(KviTalListBox::Variable);
hide();
}
@@ -152,7 +152,7 @@ void KviCompletionBox::keyPressEvent(QKeyEvent * e)
}
}
- QListBox::keyPressEvent(e);
+ KviTalListBox::keyPressEvent(e);
}
KviScriptEditorWidgetColorOptions::KviScriptEditorWidgetColorOptions(QWidget * pParent)
@@ -223,7 +223,7 @@ KviScriptEditorWidget::KviScriptEditorWidget(QWidget * pParent)
m_szHelp="Nothing";
updateOptions();
m_szFind="";
- completelistbox=new KviCompletionBox(this,"completelistbox");
+ completelistbox=new KviCompletionBox(this);
connect (completelistbox,SIGNAL(selected(const QString &)),this,SLOT(slotComplete(const QString &)));
}