aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_servers.cpp
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/options/optw_servers.cpp
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/options/optw_servers.cpp')
-rw-r--r--src/modules/options/optw_servers.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/options/optw_servers.cpp b/src/modules/options/optw_servers.cpp
index 932c125ac..11ca4ac6e 100644
--- a/src/modules/options/optw_servers.cpp
+++ b/src/modules/options/optw_servers.cpp
@@ -54,7 +54,7 @@
#include <qtoolbutton.h>
#include <qlineedit.h>
#include <qcheckbox.h>
-#include <qpopupmenu.h>
+#include "kvi_tal_popupmenu.h"
#include <qcursor.h>
#include <qtooltip.h>
#include <qvalidator.h>
@@ -1026,8 +1026,8 @@ KviServerOptionsWidget::KviServerOptionsWidget(QWidget * parent)
{
createLayout(4,2);
- m_pContextPopup = new QPopupMenu(this);
- m_pImportPopup = new QPopupMenu(this);
+ m_pContextPopup = new KviTalPopupMenu(this);
+ m_pImportPopup = new KviTalPopupMenu(this);
connect(m_pImportPopup,SIGNAL(aboutToShow()),this,SLOT(importPopupAboutToShow()));
connect(m_pImportPopup,SIGNAL(activated(int)),this,SLOT(importPopupActivated(int)));
@@ -1058,7 +1058,7 @@ KviServerOptionsWidget::KviServerOptionsWidget(QWidget * parent)
QToolTip::add(m_pListView->viewport(),tiptxt);
#endif
- QVBox * vbox = new QVBox(this);
+ KviTalVBox * vbox = new KviTalVBox(this);
addWidgetToLayout(vbox,1,0,1,0);
m_pNewNetworkButton = new KviStyledToolButton(vbox);
@@ -1164,7 +1164,7 @@ KviServerOptionsWidget::KviServerOptionsWidget(QWidget * parent)
QToolTip::add(m_pConnectCurrent,__tr2qs_ctx("<center>Hit this button to connect to the currently selected server.</center>","options"));
#endif
- m_pRecentPopup = new QPopupMenu(this);
+ m_pRecentPopup = new KviTalPopupMenu(this);
connect(m_pRecentPopup,SIGNAL(aboutToShow()),this,SLOT(recentServersPopupAboutToShow()));
connect(m_pRecentPopup,SIGNAL(activated(int)),this,SLOT(recentServersPopupClicked(int)));