summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditdatasetdialog.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-09 20:52:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 20:52:09 +0200
commit91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (patch)
treec842adfbb1a172d9b61241d7dde70354e821bb75 /src/qalculateeditdatasetdialog.h
parent4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (diff)
downloadqalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.tar.gz
qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qalculateeditdatasetdialog.h')
-rw-r--r--src/qalculateeditdatasetdialog.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/qalculateeditdatasetdialog.h b/src/qalculateeditdatasetdialog.h
index 2c27b65..3dde6fa 100644
--- a/src/qalculateeditdatasetdialog.h
+++ b/src/qalculateeditdatasetdialog.h
@@ -21,24 +21,24 @@
#define QALCULATEEDITDATASETDIALOG_H
#include <kdialogbase.h>
-#include <qmap.h>
-#include <qvaluevector.h>
+#include <tqmap.h>
+#include <tqvaluevector.h>
class KLineEdit;
-class QCheckBox;
+class TQCheckBox;
class KComboBox;
-class QPushButton;
+class TQPushButton;
class MathStructure;
class QalculateEditNamesDialog;
class DataSet;
class KListView;
-class QTextEdit;
+class TQTextEdit;
class DataProperty;
-class QTabWidget;
+class TQTabWidget;
class UserFunction;
class QalculateEditDataPropertyDialog;
class QalculateEditDataPropertyNamesDialog;
-class QLineEdit;
+class TQLineEdit;
/**
@author Niklas Knutsson
@@ -49,7 +49,7 @@ class QalculateEditDataSetDialog : public KDialogBase {
public:
- QalculateEditDataSetDialog(QWidget *parent = 0, const char *name = 0);
+ QalculateEditDataSetDialog(TQWidget *parent = 0, const char *name = 0);
virtual ~QalculateEditDataSetDialog();
DataSet *editDataSet(DataSet *ds = NULL);
@@ -59,14 +59,14 @@ public:
QalculateEditDataPropertyDialog *property_edit_dialog;
DataSet *edited_dataset;
KLineEdit *objectArgumentEdit, *propertyArgumentEdit, *defaultPropertyEdit, *nameEdit, *titleEdit, *fileEdit;
- QLabel *namesLabel;
+ TQLabel *namesLabel;
KListView *propertiesView;
- QTextEdit *descriptionEdit, *copyrightEdit;
- QPushButton *namesButton, *newPropertyButton, *editPropertyButton, *deletePropertyButton;
- QTabWidget *tabs;
- QMap<QListViewItem*, DataProperty*> propertiesItems;
- QValueVector<DataProperty*> tmp_props;
- QValueVector<DataProperty*> tmp_props_orig;
+ TQTextEdit *descriptionEdit, *copyrightEdit;
+ TQPushButton *namesButton, *newPropertyButton, *editPropertyButton, *deletePropertyButton;
+ TQTabWidget *tabs;
+ TQMap<TQListViewItem*, DataProperty*> propertiesItems;
+ TQValueVector<DataProperty*> tmp_props;
+ TQValueVector<DataProperty*> tmp_props_orig;
public slots:
@@ -75,7 +75,7 @@ public slots:
void newProperty();
void editProperty();
void deleteProperty();
- void nameChanged(const QString&);
+ void nameChanged(const TQString&);
protected slots:
@@ -89,7 +89,7 @@ class QalculateEditDataPropertyDialog : public KDialogBase {
public:
- QalculateEditDataPropertyDialog(QWidget *parent = 0, const char *name = 0);
+ QalculateEditDataPropertyDialog(TQWidget *parent = 0, const char *name = 0);
~QalculateEditDataPropertyDialog();
bool editDataProperty(DataProperty *dp, bool newdp = false);
@@ -98,10 +98,10 @@ public:
DataProperty *edited_property;
KComboBox *typeCombo;
KLineEdit *nameEdit, *titleEdit, *unitEdit;
- QLabel *namesLabel;
- QCheckBox *hideButton, *keyButton, *approximateButton, *caseButton, *bracketsButton;
- QPushButton *namesButton;
- QTextEdit *descriptionEdit;
+ TQLabel *namesLabel;
+ TQCheckBox *hideButton, *keyButton, *approximateButton, *caseButton, *bracketsButton;
+ TQPushButton *namesButton;
+ TQTextEdit *descriptionEdit;
public slots:
@@ -119,23 +119,23 @@ class QalculateEditDataPropertyNamesDialog : public KDialog {
public:
- QalculateEditDataPropertyNamesDialog(QWidget *parent = 0, const char *name = 0);
+ QalculateEditDataPropertyNamesDialog(TQWidget *parent = 0, const char *name = 0);
~QalculateEditDataPropertyNamesDialog();
- void saveNames(DataProperty *item, const QString &str = QString::null);
- void setNames(DataProperty *item = NULL, const QString &namestr = QString::null, bool names_edited = false);
+ void saveNames(DataProperty *item, const TQString &str = TQString::null);
+ void setNames(DataProperty *item = NULL, const TQString &namestr = TQString::null, bool names_edited = false);
bool isEmpty();
- void setNamesLE(QLineEdit *entry, QLabel *label);
+ void setNamesLE(TQLineEdit *entry, TQLabel *label);
KListView* namesView;
- QPushButton* newButton;
- QPushButton* deleteButton;
- QPushButton* buttonClose;
+ TQPushButton* newButton;
+ TQPushButton* deleteButton;
+ TQPushButton* buttonClose;
int i_type;
public slots:
- void itemClicked(QListViewItem*, const QPoint&, int);
+ void itemClicked(TQListViewItem*, const TQPoint&, int);
void newName();
void deleteName();
void nameSelectionChanged();