summaryrefslogtreecommitdiffstats
path: root/src/qalculateinsertfunctiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateinsertfunctiondialog.cpp')
-rw-r--r--src/qalculateinsertfunctiondialog.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/qalculateinsertfunctiondialog.cpp b/src/qalculateinsertfunctiondialog.cpp
index b6be78d..489ec5e 100644
--- a/src/qalculateinsertfunctiondialog.cpp
+++ b/src/qalculateinsertfunctiondialog.cpp
@@ -34,7 +34,6 @@
#include <tqpushbutton.h>
#include <kdatepicker.h>
#include <tdefiledialog.h>
-#include <tdeversion.h>
#include <kstdguiitem.h>
#include "buttonwithindexsignal.h"
#include "qalculateinsertmatrixvectordialog.h"
@@ -45,17 +44,8 @@ extern EvaluationOptions evalops;
QalculateInsertFunctionDialog::QalculateInsertFunctionDialog(MathFunction *f, TQWidget *parent, const TQString &selected_text, const char *name) : KDialogBase(parent, name, true, f->title(true).c_str(), Ok|Apply|Cancel, Ok) {
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 2
- setButtonOKText(i18n("Insert"));
- setButtonApplyText(i18n("Execute"));
-#else
-#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 3
- setButtonOK(KGuiItem(i18n("Insert")));
-#else
setButtonOK(KStdGuiItem::insert());
-#endif
setButtonApply(KGuiItem(i18n("Execute")));
-#endif
mathFunction = f;
TQVBox *box = makeVBoxMainWidget();
box->setSpacing(12);