diff options
| author | 2007-02-28 16:27:12 +0000 | |
|---|---|---|
| committer | 2007-02-28 16:27:12 +0000 | |
| commit | 2f5fc762ecde1b4c97006aa4343ccf447297cbfc (patch) | |
| tree | 7288b13b904a6eea4d5ccaeab5dd9df33dca99f6 /src/modules/popupeditor/popupeditor.cpp | |
| parent | small fix (diff) | |
| download | KVIrc-2f5fc762ecde1b4c97006aa4343ccf447297cbfc.tar.gz KVIrc-2f5fc762ecde1b4c97006aa4343ccf447297cbfc.tar.bz2 KVIrc-2f5fc762ecde1b4c97006aa4343ccf447297cbfc.zip | |
more qt4 port
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@387 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/popupeditor/popupeditor.cpp')
| -rw-r--r-- | src/modules/popupeditor/popupeditor.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
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); |
