summaryrefslogtreecommitdiffstats
path: root/src/modules/url
diff options
context:
space:
mode:
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>