From 61a0a06deae49bb08a672f31596434fa3324bf28 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 17 Mar 2026 17:34:11 +0900 Subject: Remove use of TDE_VERSION Signed-off-by: Michele Calgaro --- src/qalculateeditfunctiondialog.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/qalculateeditfunctiondialog.cpp') 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 #include #include -#include -#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 1 -#include -#else #include -#endif #include -#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 2 -#include -#else #include -#endif #include #include #include @@ -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()); -- cgit v1.2.3