summaryrefslogtreecommitdiffstats
path: root/src/modules/setup
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/setup
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/setup')
-rw-r--r--src/modules/setup/setupwizard.cpp6
-rw-r--r--src/modules/setup/setupwizard.h5
2 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp
index e17f5798..ee0230a7 100644
--- a/src/modules/setup/setupwizard.cpp
+++ b/src/modules/setup/setupwizard.cpp
@@ -55,9 +55,6 @@ bool g_bFoundMirc;
#include <unistd.h> // for symlink()
#endif
-#ifdef COMPILE_USE_QT4
- #include <TQDesktopWidget>
-#endif
// libkvisetup.cpp
extern TQString g_szChoosenIncomingDirectory;
@@ -125,9 +122,6 @@ KviSetupPage::KviSetupPage(KviSetupWizard * w)
l->setBackgroundColor(TQColor(48,48,48));
m_pTextLabel = new TQLabel(m_pVBox);
-#ifdef COMPILE_USE_QT4
- m_pTextLabel->setWordWrap(true);
-#endif
m_pTextLabel->setAlignment(TQt::AlignJustify | TQt::AlignTop);
m_pVBox->setStretchFactor(m_pTextLabel,1);
}
diff --git a/src/modules/setup/setupwizard.h b/src/modules/setup/setupwizard.h
index d0f948bb..d4ab1229 100644
--- a/src/modules/setup/setupwizard.h
+++ b/src/modules/setup/setupwizard.h
@@ -32,13 +32,8 @@
#include <tqlabel.h>
#include <tqpixmap.h>
#include <tqlineedit.h>
-#ifdef COMPILE_USE_QT4
-#include <tq3buttongroup.h>
-#define KviTalVButtonGroup Q3VButtonGroup
-#else
#include <tqvbuttongroup.h>
#define KviTalVButtonGroup TQVButtonGroup
-#endif
#include <tqradiobutton.h>
#include <tqcombobox.h>
#include <tqcheckbox.h>