aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/raweditor
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2007-01-23 22:24:31 +0000
committerGravatar Szymon Tomasz Stefanek2007-01-23 22:24:31 +0000
commitdaf9b531b3b8b058dc07b2e818876ece1943cb76 (patch)
treee605c2b2a174ca3ddca4f35bae9d8c66e9497dac /src/modules/raweditor
parentnot important fix (diff)
downloadKVIrc-daf9b531b3b8b058dc07b2e818876ece1943cb76.tar.gz
KVIrc-daf9b531b3b8b058dc07b2e818876ece1943cb76.tar.bz2
KVIrc-daf9b531b3b8b058dc07b2e818876ece1943cb76.zip
More Qt 4.x port
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@246 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/raweditor')
-rw-r--r--src/modules/raweditor/raweditor.cpp10
-rw-r--r--src/modules/raweditor/raweditor.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp
index 262a8b0e2..7a3189a4f 100644
--- a/src/modules/raweditor/raweditor.cpp
+++ b/src/modules/raweditor/raweditor.cpp
@@ -39,8 +39,8 @@
#include <qmessagebox.h>
#include <qsplitter.h>
#include <qlayout.h>
-#include <qvbox.h>
-#include <qpopupmenu.h>
+#include "kvi_tal_vbox.h"
+#include "kvi_tal_popupmenu.h"
#include <qtooltip.h>
#include <qinputdialog.h>
#include <qpushbutton.h>
@@ -79,7 +79,7 @@ KviRawEditor::KviRawEditor(QWidget * par)
l->addWidget(spl,0,0);
- QVBox * boxi = new QVBox(spl);
+ KviTalVBox * boxi = new KviTalVBox(spl);
m_pListView = new QListView(boxi);
m_pListView->addColumn(__tr2qs("Raw Event"));
m_pListView->setMultiSelection(false);
@@ -89,7 +89,7 @@ KviRawEditor::KviRawEditor(QWidget * par)
QPushButton * pb = new QPushButton(__tr2qs("&Export All To..."),boxi);
connect(pb,SIGNAL(clicked()),this,SLOT(exportAllEvents()));
- QVBox * box = new QVBox(spl);
+ KviTalVBox * box = new KviTalVBox(spl);
m_pNameEditor = new QLineEdit(box);
QToolTip::add(m_pNameEditor,__tr2qs("Edit the raw event handler name."));
m_pEditor = KviScriptEditor::createInstance(box);
@@ -130,7 +130,7 @@ void KviRawEditor::oneTimeSetup()
}
- m_pContextPopup = new QPopupMenu(this);
+ m_pContextPopup = new KviTalPopupMenu(this);
connect(m_pListView,SIGNAL(selectionChanged(QListViewItem *)),this,SLOT(selectionChanged(QListViewItem *)));
connect(m_pListView,SIGNAL(rightButtonPressed(QListViewItem *,const QPoint &,int)),
diff --git a/src/modules/raweditor/raweditor.h b/src/modules/raweditor/raweditor.h
index 926fb0d8b..8e5759ef1 100644
--- a/src/modules/raweditor/raweditor.h
+++ b/src/modules/raweditor/raweditor.h
@@ -58,7 +58,7 @@ public:
virtual const QPixmap * pixmap(int col) const;
};
-class QPopupMenu;
+class KviTalPopupMenu;
class KviRawEditor : public QWidget
{
@@ -70,7 +70,7 @@ public:
KviScriptEditor * m_pEditor;
QListView * m_pListView;
QLineEdit * m_pNameEditor;
- QPopupMenu * m_pContextPopup;
+ KviTalPopupMenu * m_pContextPopup;
KviRawHandlerListViewItem * m_pLastEditedItem;
bool m_bOneTimeSetupDone;
public: