summaryrefslogtreecommitdiffstats
path: root/src/modules/url
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 16:31:47 +0900
commit7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch)
treed92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/url
parentcafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff)
downloadkvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz
kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/modules/url')
-rw-r--r--src/modules/url/libkviurl.cpp16
-rw-r--r--src/modules/url/libkviurl.h4
2 files changed, 0 insertions, 20 deletions
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp
index 0b67792c..3556fd3b 100644
--- a/src/modules/url/libkviurl.cpp
+++ b/src/modules/url/libkviurl.cpp
@@ -38,10 +38,6 @@
#include <tqcursor.h>
#include <tqdatetime.h>
-#ifdef COMPILE_USE_QT4
- #include <tq3textstream.h>
- #include <TQTextStream>
-#endif
static TQPixmap * g_pUrlIconPixmap = 0;
static KviUrlAction * g_pUrlAction = 0;
@@ -148,11 +144,7 @@ UrlDialog::UrlDialog(KviPointerList<KviUrl> *g_pList)
connect(m_pUrlList,TQT_SIGNAL(rightButtonPressed(KviTalListViewItem *, const TQPoint &, int)),TQT_SLOT(popup(KviTalListViewItem *, const TQPoint &, int)));
// setFocusHandlerNoChildren(m_pUrlList);
-#ifdef COMPILE_USE_QT4
m_pUrlList->setFocusPolicy(TQ_StrongFocus);
-#else
- m_pUrlList->setFocusPolicy(TQ_StrongFocus);
-#endif
m_pUrlList->setFocus();
}
@@ -530,11 +522,7 @@ void loadUrlList()
TQFile file;
file.setName(TQString::fromUtf8(urllist.ptr()));
if (!file.open(IO_ReadOnly))return;
-#ifdef COMPILE_USE_QT4
- Q3TextStream stream(&file);
-#else
TQTextStream stream(&file);
-#endif
g_pList->clear();
@@ -594,11 +582,7 @@ void loadBanList()
TQFile file;
file.setName(TQString::fromUtf8(banlist.ptr()));
if (!file.open(IO_ReadOnly))return;
-#ifdef COMPILE_USE_QT4
- Q3TextStream stream(&file);
-#else
TQTextStream stream(&file);
-#endif
g_pBanList->clear();
int i=0;
diff --git a/src/modules/url/libkviurl.h b/src/modules/url/libkviurl.h
index 531a4671..9d99de1e 100644
--- a/src/modules/url/libkviurl.h
+++ b/src/modules/url/libkviurl.h
@@ -27,11 +27,7 @@
#include <tqstring.h>
#include <tqpushbutton.h>
#include <tqfile.h>
-#ifdef COMPILE_USE_QT4
- #include <tq3textstream.h>
-#else
#include <tqtextstream.h>
-#endif
#include <tqcheckbox.h>
#include "kvi_tal_listbox.h"
#include <tqmenubar.h>