diff options
Diffstat (limited to 'kchart/kchartWizardSetupAxesPage.h')
-rw-r--r-- | kchart/kchartWizardSetupAxesPage.h | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/kchart/kchartWizardSetupAxesPage.h b/kchart/kchartWizardSetupAxesPage.h index 7cb8055a..a6b0823a 100644 --- a/kchart/kchartWizardSetupAxesPage.h +++ b/kchart/kchartWizardSetupAxesPage.h @@ -1,14 +1,14 @@ #ifndef _kchartWIZARDSETUPAXESPAGE_H #define _kchartWIZARDSETUPAXESPAGE_H -#include <qwidget.h> +#include <tqwidget.h> #include <kcolorbutton.h> -class QColor; -class QLineEdit; -class QSpinBox; -class QPushButton; -class QCheckBox; +class TQColor; +class TQLineEdit; +class TQSpinBox; +class TQPushButton; +class TQCheckBox; namespace KChart { @@ -16,47 +16,48 @@ namespace KChart class KChartPart; class kchartWidget; -class KChartWizardSetupAxesPage : public QWidget +class KChartWizardSetupAxesPage : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KChartWizardSetupAxesPage( QWidget* parent, KChartPart* chart ); + KChartWizardSetupAxesPage( TQWidget* tqparent, KChartPart* chart ); ~KChartWizardSetupAxesPage(); bool chart3d; public slots: void apply(); - void changeLabelColor(const QColor &); + void changeLabelColor(const TQColor &); void changeLabelFont(); - void changeBorderColor(const QColor &); - void changeGridColor(const QColor &); + void changeBorderColor(const TQColor &); + void changeGridColor(const TQColor &); protected: - void paintEvent( QPaintEvent *_ev ); + void paintEvent( TQPaintEvent *_ev ); private: kchartWidget* preview; KChartPart* _chart; - QCheckBox* gridX; - QCheckBox* gridY; - QCheckBox* border; - QLineEdit *y_interval; - QLineEdit *y_max; - QLineEdit *y_min; - QLineEdit *ylabel_fmt; + TQCheckBox* gridX; + TQCheckBox* gridY; + TQCheckBox* border; + TQLineEdit *y_interval; + TQLineEdit *y_max; + TQLineEdit *y_min; + TQLineEdit *ylabel_fmt; #if 0 - QLineEdit *ylabel2_fmt; + TQLineEdit *ylabel2_fmt; #endif - QSpinBox *angle; - QSpinBox *depth; - QSpinBox *barWidth; - QPushButton *ylabelFont; + TQSpinBox *angle; + TQSpinBox *depth; + TQSpinBox *barWidth; + TQPushButton *ylabelFont; KColorButton *borderColor; KColorButton *gridColor; KColorButton *ylabelColor; - QFont ylabel; - QColor ycolor; - QColor colorGrid; - QColor colorBorder; + TQFont ylabel; + TQColor ycolor; + TQColor colorGrid; + TQColor colorBorder; }; } //namespace KChart |