summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditdatasetdialog.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/qalculateeditdatasetdialog.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/qalculateeditdatasetdialog.cpp')
-rw-r--r--src/qalculateeditdatasetdialog.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/qalculateeditdatasetdialog.cpp b/src/qalculateeditdatasetdialog.cpp
index aa98420..2b19c8d 100644
--- a/src/qalculateeditdatasetdialog.cpp
+++ b/src/qalculateeditdatasetdialog.cpp
@@ -32,19 +32,10 @@
#include <tqhbox.h>
#include <tqcheckbox.h>
#include <tdemessagebox.h>
-#include <tdeversion.h>
#include <tqlayout.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 <tqapplication.h>
#include <kstdguiitem.h>
@@ -57,11 +48,7 @@ QalculateEditDataSetDialog::QalculateEditDataSetDialog(TQWidget *parent, const c
edited_dataset = NULL;
property_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);
@@ -78,19 +65,11 @@ QalculateEditDataSetDialog::QalculateEditDataSetDialog(TQWidget *parent, const c
fileEdit = new KLineEdit(page1);
grid->addWidget(fileEdit, 1, 1);
grid->addWidget(new TQLabel(i18n("Description:"), page1), 2, 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, 3, 3, 0, 1);
grid->addWidget(new TQLabel(i18n("Copyright:"), page1), 4, 0);
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 1
- copyrightEdit = new TQTextEdit(page1);
-#else
copyrightEdit = new KTextEdit(page1);
-#endif
copyrightEdit->setTextFormat(TQTextEdit::PlainText);
grid->addMultiCellWidget(copyrightEdit, 5, 5, 0, 1);
@@ -455,11 +434,7 @@ QalculateEditDataPropertyDialog::QalculateEditDataPropertyDialog(TQWidget *paren
titleEdit = new KLineEdit(mainWidget());
grid->addWidget(titleEdit, 2, 1);
grid->addWidget(new TQLabel(i18n("Description:"), mainWidget()), 3, 0);
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 1
- descriptionEdit = new TQTextEdit(mainWidget());
-#else
descriptionEdit = new KTextEdit(mainWidget());
-#endif
descriptionEdit->setTextFormat(TQTextEdit::PlainText);
grid->addMultiCellWidget(descriptionEdit, 4, 4, 0, 1);
grid->addWidget(new TQLabel(i18n("Value type:"), mainWidget()), 5, 0);