diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-21 15:00:12 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-21 16:00:22 +0900 |
| commit | 4f676cb6c5f8cbad60f107efe86f3e0148773bb1 (patch) | |
| tree | 7f8b6e61849bbdfd2847aee3755c181c80a64c19 | |
| parent | 447122383788a3b4a42eb519bb263cbbeca4c7a1 (diff) | |
| download | tdeedu-r14.1.x.tar.gz tdeedu-r14.1.x.zip | |
Remove use of TDE_VERSIONr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f1813227cade0bda608db8f74344ca5b4260d4af)
| -rw-r--r-- | kbruch/src/mainqtwidget.cpp | 6 | ||||
| -rw-r--r-- | kig/misc/common.h | 1 | ||||
| -rw-r--r-- | kiten/kiten.cpp | 5 | ||||
| -rw-r--r-- | kstars/kstars/ksnewstuff.h | 2 | ||||
| -rw-r--r-- | kstars/kstars/kstarsactions.cpp | 1 | ||||
| -rw-r--r-- | kstars/kstars/kstarsinit.cpp | 1 | ||||
| -rw-r--r-- | kstars/kstars/thumbnailpicker.cpp | 1 |
7 files changed, 1 insertions, 16 deletions
diff --git a/kbruch/src/mainqtwidget.cpp b/kbruch/src/mainqtwidget.cpp index 97d73264..256d8bcf 100644 --- a/kbruch/src/mainqtwidget.cpp +++ b/kbruch/src/mainqtwidget.cpp @@ -107,10 +107,6 @@ MainQtWidget::MainQtWidget() TQObject::connect(m_exerciseFactorize, TQ_SIGNAL(signalExerciseSolvedCorrect()), m_statview, TQ_SLOT(addCorrect())); TQObject::connect(m_exerciseFactorize, TQ_SIGNAL(signalExerciseSolvedWrong()), m_statview, TQ_SLOT(addWrong())); -#if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3) -#else - resize(TQSize(TQMAX(toolBar()->sizeHint().width(), sizeHint().width()), sizeHint().height())); -#endif // now show the last exercise m_exercises->showPage(SettingsClass::activeExercise()); slotAboutToShowPage(m_exercises->pageWidget(m_exercises->activePageIndex())); @@ -241,12 +237,10 @@ void MainQtWidget::setupActions() // now connect the ComboBox's signal textChanged() to the slot function TQObject::connect(m_OperationBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(OperationBoxSlot())); -#if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3) if (!initialGeometrySet()) resize( TQSize(725, 330).expandedTo(minimumSizeHint())); setupGUI(ToolBar | Keys | StatusBar | Create); setAutoSaveSettings(); -#endif } diff --git a/kig/misc/common.h b/kig/misc/common.h index 8581326b..92c8a022 100644 --- a/kig/misc/common.h +++ b/kig/misc/common.h @@ -26,7 +26,6 @@ #include "rect.h" #include <tqrect.h> -#include <tdeversion.h> #include <vector> #include <assert.h> diff --git a/kiten/kiten.cpp b/kiten/kiten.cpp index 781f684b..103d47ae 100644 --- a/kiten/kiten.cpp +++ b/kiten/kiten.cpp @@ -24,7 +24,6 @@ #include <tdeconfig.h> #include <tdeconfigdialog.h> #include <kdebug.h> -#include <tdeversion.h> #include <kedittoolbar.h> #include <kglobalaccel.h> #include <kiconloader.h> @@ -48,9 +47,7 @@ TopLevel::TopLevel(TQWidget *parent, const char *name) : TDEMainWindow(parent, name) { -#if TDE_VERSION > 305 - setStandardToolBarMenuEnabled(true); -#endif + setStandardToolBarMenuEnabled(true); config = Config::self(); config->readConfig(); diff --git a/kstars/kstars/ksnewstuff.h b/kstars/kstars/ksnewstuff.h index 7f4a35b0..993d7c5d 100644 --- a/kstars/kstars/ksnewstuff.h +++ b/kstars/kstars/ksnewstuff.h @@ -30,8 +30,6 @@ #ifndef KSNEWSTUFF_H #define KSNEWSTUFF_H -#include <tdeversion.h> - #include <tdelocale.h> #include <kdebug.h> #include <tqobject.h> diff --git a/kstars/kstars/kstarsactions.cpp b/kstars/kstars/kstarsactions.cpp index ee36368b..038150cb 100644 --- a/kstars/kstars/kstarsactions.cpp +++ b/kstars/kstars/kstarsactions.cpp @@ -37,7 +37,6 @@ #include <kprocess.h> #include <tqcheckbox.h> #include <tqdir.h> -#include <tdeversion.h> //FIXME GLSOSSARY (uncomment these when content is added) //#include <libtdeedu/tdeeduui/tdeeduglossary.h> diff --git a/kstars/kstars/kstarsinit.cpp b/kstars/kstars/kstarsinit.cpp index 7e64e27f..e1746c74 100644 --- a/kstars/kstars/kstarsinit.cpp +++ b/kstars/kstars/kstarsinit.cpp @@ -26,7 +26,6 @@ #include <ktip.h> #include <tdemessagebox.h> #include <kstandarddirs.h> -#include <tdeversion.h> #include "Options.h" #include "kstars.h" diff --git a/kstars/kstars/thumbnailpicker.cpp b/kstars/kstars/thumbnailpicker.cpp index 31eab5fb..af86044f 100644 --- a/kstars/kstars/thumbnailpicker.cpp +++ b/kstars/kstars/thumbnailpicker.cpp @@ -25,7 +25,6 @@ #include <tqstyle.h> #include <tdeapplication.h> -#include <tdeversion.h> #include <kpushbutton.h> #include <klineedit.h> #include <tdelistbox.h> |
