summaryrefslogtreecommitdiffstats
path: root/src/modules/logview
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-24 21:28:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 10:03:10 +0900
commit030a2248f3630fd0404df98beffc78b5b5ca4c31 (patch)
tree75d55e7e177ca48e69d59f74181ce37841ecd51b /src/modules/logview
parent17118265cf93b35b0b68e450ea5f43046c1d81c3 (diff)
downloadkvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.tar.gz
kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.zip
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/logview')
-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;