From 2f5fc762ecde1b4c97006aa4343ccf447297cbfc Mon Sep 17 00:00:00 2001 From: Noldor Date: Wed, 28 Feb 2007 16:27:12 +0000 Subject: more qt4 port git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@387 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/popupeditor/popupeditor.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/modules/popupeditor/popupeditor.cpp') diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp index 06478ff3e..fbf27a931 100644 --- a/src/modules/popupeditor/popupeditor.cpp +++ b/src/modules/popupeditor/popupeditor.cpp @@ -202,8 +202,11 @@ KviSinglePopupEditor::KviSinglePopupEditor(QWidget * par) m_pMenuButton = new QPushButton(__tr2qs("Test"),this); g->addWidget(m_pMenuButton,0,2); connect(m_pMenuButton,SIGNAL(clicked()),this,SLOT(testPopup())); - +#ifdef COMPILE_USE_QT4 + QSplitter * spl = new QSplitter(Qt::Vertical,this,"popupeditor"); +#else QSplitter * spl = new QSplitter(QSplitter::Vertical,this); +#endif m_pListView = new KviTalListView(spl); m_pListView->addColumn(__tr2qs("Item")); @@ -1024,8 +1027,11 @@ KviPopupEditor::KviPopupEditor(QWidget * par) : QWidget(par) { QGridLayout * l = new QGridLayout(this,1,1,0,2); - +#ifdef COMPILE_USE_QT4 + QSplitter * spl = new QSplitter(Qt::Horizontal,this,"popupeditor"); +#else QSplitter * spl = new QSplitter(QSplitter::Horizontal,this); +#endif l->addWidget(spl,0,0); KviTalVBox * box = new KviTalVBox(spl); -- cgit v1.3.1-10-gc9f91