diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-31 16:31:47 +0900 |
commit | 7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch) | |
tree | d92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/actioneditor | |
parent | cafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff) | |
download | kvirc-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/actioneditor')
-rw-r--r-- | src/modules/actioneditor/actioneditor.cpp | 14 | ||||
-rw-r--r-- | src/modules/actioneditor/actioneditor.h | 5 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp index b35959d9..8fdd1bd0 100644 --- a/src/modules/actioneditor/actioneditor.cpp +++ b/src/modules/actioneditor/actioneditor.cpp @@ -54,11 +54,7 @@ #include <tqcheckbox.h> #include <tqtooltip.h> #include <tqpainter.h> -#ifdef COMPILE_USE_QT4 - #include <tq3header.h> -#else #include <tqheader.h> -#endif #include <tqtabwidget.h> #include <kvi_tal_groupbox.h> #include "kvi_valuelist.h" @@ -654,13 +650,7 @@ KviActionEditor::KviActionEditor(TQWidget * par) TQGridLayout * l = new TQGridLayout(this,1,1,2,2); -#ifdef COMPILE_USE_QT4 m_pSplitter = new TQSplitter(Qt::Horizontal,this); - m_pSplitter->setOpaqueResize(false); - -#else - m_pSplitter = new TQSplitter(Qt::Horizontal,this); -#endif l->addWidget(m_pSplitter,0,0); @@ -669,11 +659,7 @@ KviActionEditor::KviActionEditor(TQWidget * par) m_pListView = new KviActionEditorListView(box); //m_pListView->setMultiSelection(false); m_pListView->setShowSortIndicator(true); -#ifdef COMPILE_USE_QT4 - m_pListView->setFocusPolicy(TQ_StrongFocus); -#else m_pListView->setFocusPolicy(TQ_StrongFocus); -#endif connect(m_pListView,TQT_SIGNAL(currentChanged(KviTalListViewItem *)),this,TQT_SLOT(currentChanged(KviTalListViewItem *))); diff --git a/src/modules/actioneditor/actioneditor.h b/src/modules/actioneditor/actioneditor.h index d6808af3..6823a387 100644 --- a/src/modules/actioneditor/actioneditor.h +++ b/src/modules/actioneditor/actioneditor.h @@ -71,12 +71,7 @@ class TQToolButton; class TQSimpleRichText; class TQPushButton; -#ifdef COMPILE_USE_QT4 - #include <tq3simplerichtext.h> - #define TQSimpleRichText Q3SimpleRichText -#else #include <tqsimplerichtext.h> -#endif |