summaryrefslogtreecommitdiffstats
path: root/src/modules/logview/logviewmdiwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/logview/logviewmdiwindow.cpp')
-rw-r--r--src/modules/logview/logviewmdiwindow.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
index 2e045d84..1faa6146 100644
--- a/src/modules/logview/logviewmdiwindow.cpp
+++ b/src/modules/logview/logviewmdiwindow.cpp
@@ -32,11 +32,7 @@
#include "kvi_qcstring.h"
#include "kvi_app.h"
#include "kvi_fileutils.h"
-#ifdef COMPILE_USE_QT4
- #include <tq3progressdialog.h>
-#else
#include <tqprogressdialog.h>
-#endif
#include "kvi_valuelist.h"
#include "kvi_accel.h"
#include <tqpixmap.h>
@@ -68,11 +64,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
{
g_pLogViewWindow = this;
// m_pLogViewWidget = new KviLogViewWidget(this);
- #ifdef COMPILE_USE_QT4
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"main_splitter");
-#else
m_pSplitter = new TQSplitter(Qt::Horizontal,this,"main_splitter");
-#endif
m_pTabWidget = new TQTabWidget(m_pSplitter);
m_pIndexTab = new KviTalVBox(m_pTabWidget);
@@ -153,11 +145,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
layout->addWidget(w,11,1);
m_pIrcView = new KviIrcView(m_pSplitter,g_pFrame,this);
-#ifdef COMPILE_USE_QT4
- m_pIrcView->setFocusPolicy(TQ_ClickFocus);
-#else
m_pIrcView->setFocusPolicy(TQ_ClickFocus);
-#endif
KviValueList<int> li;
li.append(110);
li.append(width()-110);
@@ -250,15 +238,9 @@ void KviLogViewMDIWindow::setupItemList()
TQDate toDate = m_pToDateEdit->date();
TQString textBuffer;
-#ifdef COMPILE_USE_QT4
- Q3ProgressDialog progress( __tr2qs_ctx("Filtering files...","logview"),
- __tr2qs_ctx("Abort filtering","logview"), m_logList.count(),
- this, "progress", TRUE );
-#else
TQProgressDialog progress( __tr2qs_ctx("Filtering files...","logview"),
__tr2qs_ctx("Abort filtering","logview"), m_logList.count(),
this, "progress", TRUE );
-#endif
int i=0;