summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditfunctiondialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-17 17:34:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-18 11:56:20 +0900
commit61a0a06deae49bb08a672f31596434fa3324bf28 (patch)
tree2f92d0ba8fc82911b91ef44db7c796db49594d60 /src/qalculateeditfunctiondialog.cpp
parent6499d46d89cc886e9934727164a14a259b29539d (diff)
downloadqalculate-tde-remove/tde-version.tar.gz
qalculate-tde-remove/tde-version.zip
Remove use of TDE_VERSIONremove/tde-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/qalculateeditfunctiondialog.cpp')
-rw-r--r--src/qalculateeditfunctiondialog.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/qalculateeditfunctiondialog.cpp b/src/qalculateeditfunctiondialog.cpp
index 81bc9ca..4975656 100644
--- a/src/qalculateeditfunctiondialog.cpp
+++ b/src/qalculateeditfunctiondialog.cpp
@@ -33,18 +33,9 @@
#include <tqcheckbox.h>
#include <tdemessagebox.h>
#include <tqlayout.h>
-#include <tdeversion.h>
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 1
-#include <tqtextedit.h>
-#else
#include <ktextedit.h>
-#endif
#include <tdelistview.h>
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 2
-#include <tqtabwidget.h>
-#else
#include <ktabwidget.h>
-#endif
#include <tqheader.h>
#include <tdeapplication.h>
#include <kstdguiitem.h>
@@ -60,11 +51,7 @@ QalculateEditFunctionDialog::QalculateEditFunctionDialog(TQWidget *parent, const
edited_function = NULL;
argument_edit_dialog = NULL;
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 2
- tabs = new TQTabWidget(this);
-#else
tabs = new KTabWidget(this);
-#endif
setMainWidget(tabs);
TQWidget *page1 = new TQWidget(this);
TQWidget *page2 = new TQWidget(this);
@@ -97,19 +84,11 @@ QalculateEditFunctionDialog::QalculateEditFunctionDialog(TQWidget *parent, const
hideButton = new TQCheckBox(i18n("Hide function"), page1);
hbox->addWidget(hideButton);
grid->addWidget(new TQLabel(i18n("Description:"), page1), 5, 0);
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 1
- descriptionEdit = new TQTextEdit(page1);
-#else
descriptionEdit = new KTextEdit(page1);
-#endif
descriptionEdit->setTextFormat(TQTextEdit::PlainText);
grid->addMultiCellWidget(descriptionEdit, 6, 6, 0, 1);
vbox->addWidget(new TQLabel(i18n("Expression:"), page2));
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 1
- expressionEdit = new TQTextEdit(page2);
-#else
expressionEdit = new KTextEdit(page2);
-#endif
expressionEdit->setTextFormat(TQTextEdit::PlainText);
vbox->addWidget(expressionEdit);
hbox = new TQHBoxLayout(vbox, spacingHint());