summaryrefslogtreecommitdiffstats
path: root/src/qalculateplotdialog.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/qalculateplotdialog.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/qalculateplotdialog.h')
-rw-r--r--src/qalculateplotdialog.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/qalculateplotdialog.h b/src/qalculateplotdialog.h
index ed8f065..7dbf8d8 100644
--- a/src/qalculateplotdialog.h
+++ b/src/qalculateplotdialog.h
@@ -21,20 +21,20 @@
#define QALCULATEPLOTDIALOG_H
#include <kdialogbase.h>
-#include <qmap.h>
-#include <qstring.h>
+#include <tqmap.h>
+#include <tqstring.h>
class KLineEdit;
-class QCheckBox;
-class QRadioButton;
-class QSpinBox;
-class QButtonGroup;
+class TQCheckBox;
+class TQRadioButton;
+class TQSpinBox;
+class TQButtonGroup;
class KComboBox;
-class QPushButton;
-class QTabWidget;
+class TQPushButton;
+class TQTabWidget;
class KListView;
-class QLabel;
-class QListViewItem;
+class TQLabel;
+class TQListViewItem;
class QalculateExpressionEdit;
#include "qalculate_tde_utils.h"
@@ -48,32 +48,32 @@ class QalculatePlotDialog : public KDialogBase {
public:
- QalculatePlotDialog(QWidget *parent = 0, const char *name = 0);
+ QalculatePlotDialog(TQWidget *parent = 0, const char *name = 0);
virtual ~QalculatePlotDialog();
- QLabel *xVariableLabel;
+ TQLabel *xVariableLabel;
KLineEdit *seriesTitleEdit, *xVariableEdit, *minEdit, *maxEdit, *stepSizeEdit, *titleEdit, *xLabelEdit, *yLabelEdit;
QalculateExpressionEdit *expressionEdit;
- QCheckBox *rowsButton, *gridButton, *fullBorderButton, *logXButton, *logYButton;
- QRadioButton *functionButton, *vectorMatrixButton, *pairedMatrixButton, *primaryButton, *secondaryButton, *samplingRateButton, *stepSizeButton, *colorButton, *monochromeButton;
- QSpinBox *samplingRateBox, *logXBox, *logYBox;
- QButtonGroup *typeGroup, *rangeGroup;
+ TQCheckBox *rowsButton, *gridButton, *fullBorderButton, *logXButton, *logYButton;
+ TQRadioButton *functionButton, *vectorMatrixButton, *pairedMatrixButton, *primaryButton, *secondaryButton, *samplingRateButton, *stepSizeButton, *colorButton, *monochromeButton;
+ TQSpinBox *samplingRateBox, *logXBox, *logYBox;
+ TQButtonGroup *typeGroup, *rangeGroup;
KComboBox *styleCombo, *smoothingCombo, *legendPlacementCombo;
- QPushButton *addButton, *modifyButton, *removeButton, *applyRangeButton, *applyAppearanceButton;
- QTabWidget *tabs;
+ TQPushButton *addButton, *modifyButton, *removeButton, *applyRangeButton, *applyAppearanceButton;
+ TQTabWidget *tabs;
KListView *seriesView;
bool generatePlot(PlotParameters &pp, vector<MathStructure> &y_vectors, vector<MathStructure> &x_vectors, vector<PlotDataParameters*> &pdps);
void generatePlotSeries(MathStructure **x_vector, MathStructure **y_vector, int type, string str, string str_x);
- QMap<QListViewItem*, int> itemStyle;
- QMap<QListViewItem*, int> itemSmoothing;
- QMap<QListViewItem*, int> itemType;
- QMap<QListViewItem*, int> itemAxis;
- QMap<QListViewItem*, bool> itemRows;
- QMap<QListViewItem*, MathStructure*> itemXVector;
- QMap<QListViewItem*, MathStructure*> itemYVector;
- QMap<QListViewItem*, QString> itemXVariable;
+ TQMap<TQListViewItem*, int> itemStyle;
+ TQMap<TQListViewItem*, int> itemSmoothing;
+ TQMap<TQListViewItem*, int> itemType;
+ TQMap<TQListViewItem*, int> itemAxis;
+ TQMap<TQListViewItem*, bool> itemRows;
+ TQMap<TQListViewItem*, MathStructure*> itemXVector;
+ TQMap<TQListViewItem*, MathStructure*> itemYVector;
+ TQMap<TQListViewItem*, TQString> itemXVariable;
protected slots:
@@ -82,7 +82,7 @@ protected slots:
public slots:
void onClosing();
- void seriesItemRenamed(QListViewItem*, const QString&, int);
+ void seriesItemRenamed(TQListViewItem*, const TQString&, int);
void seriesSelected();
void rangeTypeChanged(int);
void typeChanged(int);