summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_ctcppagedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_ctcppagedialog.cpp')
-rw-r--r--src/kvirc/ui/kvi_ctcppagedialog.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/kvirc/ui/kvi_ctcppagedialog.cpp b/src/kvirc/ui/kvi_ctcppagedialog.cpp
index 8a151e61..96d25e88 100644
--- a/src/kvirc/ui/kvi_ctcppagedialog.cpp
+++ b/src/kvirc/ui/kvi_ctcppagedialog.cpp
@@ -34,20 +34,13 @@
#include <tqlabel.h>
#include <tqpixmap.h>
-#ifdef COMPILE_USE_QT4
- #include <tqdesktopwidget.h>
-#endif
// kvi_app.cpp
extern KVIRC_API KviCtcpPageDialog * g_pCtcpPageDialog;
KviCtcpPageDialog::KviCtcpPageDialog()
: TQWidget(0,"kvirc_ctcppage_dialog",
-#ifdef COMPILE_USE_QT4
- TQt::WindowStaysOnTopHint | TQt::Tool | TQt::Dialog | TQt::Window)
-#else
WStyle_StaysOnTop | WStyle_Tool | WType_Dialog | WType_TopLevel)
-#endif
{
TQGridLayout * g = new TQGridLayout(this,4,1,6,0);
m_pWidgetStack = new KviTalWidgetStack(this);
@@ -95,11 +88,7 @@ void KviCtcpPageDialog::tabSelected(int id)
void KviCtcpPageDialog::addPage(const TQString &szNick,const TQString &szUser,const TQString &szHost,const TQString &szMsg)
{
-#ifdef COMPILE_USE_QT4
- int id = m_pTabBar->addTab(szNick);
-#else
int id = m_pTabBar->addTab(new TQTab(szNick));
-#endif
TQLabel * l = new TQLabel(this);
l->setFrameStyle(TQFrame::Raised | TQFrame::StyledPanel);
//l->setMaximumWidth(600);