summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-21 15:00:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-21 15:00:12 +0900
commitf1813227cade0bda608db8f74344ca5b4260d4af (patch)
tree4350aff5493ee46887f2a3c05c36d93ceeab3017
parent3a3c833f4e952ec1c1e6be13d66237efb58336d3 (diff)
downloadtdeedu-master.tar.gz
tdeedu-master.zip
Remove use of TDE_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kbruch/src/mainqtwidget.cpp6
-rw-r--r--kig/misc/common.h1
-rw-r--r--kiten/kiten.cpp5
-rw-r--r--kstars/kstars/ksnewstuff.h2
-rw-r--r--kstars/kstars/kstarsactions.cpp1
-rw-r--r--kstars/kstars/kstarsinit.cpp1
-rw-r--r--kstars/kstars/thumbnailpicker.cpp1
7 files changed, 1 insertions, 16 deletions
diff --git a/kbruch/src/mainqtwidget.cpp b/kbruch/src/mainqtwidget.cpp
index 3c44c4bf..ace772f5 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 8b3371eb..df4e168c 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 <tdeglobalaccel.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 71a506cd..2d85af1b 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 aaa3a569..ece09153 100644
--- a/kstars/kstars/kstarsactions.cpp
+++ b/kstars/kstars/kstarsactions.cpp
@@ -37,7 +37,6 @@
#include <tdeprocess.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 cf5ec4b5..5209b941 100644
--- a/kstars/kstars/kstarsinit.cpp
+++ b/kstars/kstars/kstarsinit.cpp
@@ -26,7 +26,6 @@
#include <ktip.h>
#include <tdemessagebox.h>
#include <tdestandarddirs.h>
-#include <tdeversion.h>
#include "Options.h"
#include "kstars.h"
diff --git a/kstars/kstars/thumbnailpicker.cpp b/kstars/kstars/thumbnailpicker.cpp
index 4b7fd3f5..5339f4a3 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>