summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditfunctiondialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateeditfunctiondialog.h')
-rw-r--r--src/qalculateeditfunctiondialog.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/qalculateeditfunctiondialog.h b/src/qalculateeditfunctiondialog.h
index ecd322d..2797ee1 100644
--- a/src/qalculateeditfunctiondialog.h
+++ b/src/qalculateeditfunctiondialog.h
@@ -21,22 +21,22 @@
#define QALCULATEEDITFUNCTIONDIALOG_H
#include <kdialogbase.h>
-#include <qmap.h>
+#include <tqmap.h>
-class QLabel;
+class TQLabel;
class KComboBox;
class KLineEdit;
-class QCheckBox;
-class QPushButton;
+class TQCheckBox;
+class TQPushButton;
class MathStructure;
class QalculateEditNamesDialog;
class QalculateEditSubFunctionsDialog;
class QalculateEditArgumentDialog;
class MathFunction;
class KListView;
-class QTextEdit;
+class TQTextEdit;
class Argument;
-class QTabWidget;
+class TQTabWidget;
class UserFunction;
/**
@@ -48,10 +48,10 @@ class QalculateEditFunctionDialog : public KDialogBase {
public:
- QalculateEditFunctionDialog(QWidget *parent = 0, const char *name = 0);
+ QalculateEditFunctionDialog(TQWidget *parent = 0, const char *name = 0);
virtual ~QalculateEditFunctionDialog();
- MathFunction *editFunction(QString category = QString::null, MathFunction *f = NULL);
+ MathFunction *editFunction(TQString category = TQString::null, MathFunction *f = NULL);
QalculateEditNamesDialog *names_edit_dialog;
QalculateEditSubFunctionsDialog *subfunctions_edit_dialog;
@@ -59,25 +59,25 @@ public:
MathFunction *edited_function;
KComboBox *categoryCombo;
KLineEdit *conditionEdit, *nameEdit, *titleEdit;
- QLabel *namesLabel;
- QCheckBox *hideButton;
+ TQLabel *namesLabel;
+ TQCheckBox *hideButton;
KListView *argumentsView;
- QTextEdit *descriptionEdit, *expressionEdit;
- QPushButton *namesButton, *subFunctionsButton, *newArgumentButton, *editArgumentButton, *deleteArgumentButton;
- QTabWidget *tabs;
- QMap<QListViewItem*, Argument*> argumentsItems;
- QMap<QListViewItem*, bool> argumentsItemsEdited;
+ TQTextEdit *descriptionEdit, *expressionEdit;
+ TQPushButton *namesButton, *subFunctionsButton, *newArgumentButton, *editArgumentButton, *deleteArgumentButton;
+ TQTabWidget *tabs;
+ TQMap<TQListViewItem*, Argument*> argumentsItems;
+ TQMap<TQListViewItem*, bool> argumentsItemsEdited;
public slots:
void argumentSelectionChanged();
- void argumentRenamed(QListViewItem*, const QString&, int);
+ void argumentRenamed(TQListViewItem*, const TQString&, int);
void editNames();
void newArgument();
void editArgument();
void deleteArgument();
void editSubFunctions();
- void nameChanged(const QString&);
+ void nameChanged(const TQString&);
protected slots:
@@ -92,7 +92,7 @@ class QalculateEditSubFunctionsDialog : public KDialog {
public:
- QalculateEditSubFunctionsDialog(QWidget *parent = 0, const char *name = 0);
+ QalculateEditSubFunctionsDialog(TQWidget *parent = 0, const char *name = 0);
virtual ~QalculateEditSubFunctionsDialog();
void saveSubFunctions(UserFunction *f);
@@ -100,13 +100,13 @@ public:
bool isEmpty();
KListView* subFunctionsView;
- QPushButton* newButton;
- QPushButton* deleteButton;
- QPushButton* buttonClose;
+ TQPushButton* newButton;
+ TQPushButton* deleteButton;
+ TQPushButton* buttonClose;
public slots:
- void itemClicked(QListViewItem*, const QPoint&, int);
+ void itemClicked(TQListViewItem*, const TQPoint&, int);
void newSubFunction();
void deleteSubFunction();
void selectionChanged();
@@ -119,14 +119,14 @@ class QalculateEditArgumentDialog : public KDialogBase {
public:
- QalculateEditArgumentDialog(QWidget *parent = 0, const char *name = 0);
+ QalculateEditArgumentDialog(TQWidget *parent = 0, const char *name = 0);
virtual ~QalculateEditArgumentDialog();
Argument *editArgument(Argument *arg = NULL);
KComboBox *typeCombo;
KLineEdit *nameEdit, *conditionEdit, *maxEdit, *minEdit;
- QCheckBox *conditionButton, *matrixButton, *zeroButton, *complexButton, *maxButton, *minButton, *maxIncludeEqualsButton, *minIncludeEqualsButton, *testButton;
+ TQCheckBox *conditionButton, *matrixButton, *zeroButton, *complexButton, *maxButton, *minButton, *maxIncludeEqualsButton, *minIncludeEqualsButton, *testButton;
public slots: