From 7c3b44b81086c6b99f91e294c3b438dc808b47e2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 24 Aug 2023 21:28:39 +0900 Subject: Drop USE_QT4 code Signed-off-by: Michele Calgaro (cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31) --- src/modules/url/libkviurl.cpp | 16 ---------------- src/modules/url/libkviurl.h | 4 ---- 2 files changed, 20 deletions(-) (limited to 'src/modules/url') 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 #include -#ifdef COMPILE_USE_QT4 - #include - #include -#endif static TQPixmap * g_pUrlIconPixmap = 0; static KviUrlAction * g_pUrlAction = 0; @@ -148,11 +144,7 @@ UrlDialog::UrlDialog(KviPointerList *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 #include #include -#ifdef COMPILE_USE_QT4 - #include -#else #include -#endif #include #include "kvi_tal_listbox.h" #include -- cgit v1.2.1