diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kchart/kchartWizardLabelsLegendPage.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kchartWizardLabelsLegendPage.h')
-rw-r--r-- | kchart/kchartWizardLabelsLegendPage.h | 75 |
1 files changed, 38 insertions, 37 deletions
diff --git a/kchart/kchartWizardLabelsLegendPage.h b/kchart/kchartWizardLabelsLegendPage.h index 34b2b9c5..8144ea3e 100644 --- a/kchart/kchartWizardLabelsLegendPage.h +++ b/kchart/kchartWizardLabelsLegendPage.h @@ -1,25 +1,26 @@ #ifndef _kchartWIZARDLABELSLEGENDPAGE_H #define _kchartWIZARDLABELSLEGENDPAGE_H -#include <qwidget.h> +#include <tqwidget.h> #include <kcolorbutton.h> -class QColor; -class QPushButton; -class QLineEdit; -class QRadioButton; +class TQColor; +class TQPushButton; +class TQLineEdit; +class TQRadioButton; namespace KChart { class KChartPart; -class KChartWizardLabelsLegendPage : public QWidget +class KChartWizardLabelsLegendPage : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KChartWizardLabelsLegendPage( QWidget* parent, KChartPart* chart ); + KChartWizardLabelsLegendPage( TQWidget* tqparent, KChartPart* chart ); ~KChartWizardLabelsLegendPage(); #if 0 @@ -35,32 +36,32 @@ public slots: void changeTitleFont(); void changeLegendTitleFont(); void changeLegendTextFont(); - void changeXLabelColor(const QColor &); - void changeYLabelColor(const QColor &); - void changeTitleColor(const QColor &); + void changeXLabelColor(const TQColor &); + void changeYLabelColor(const TQColor &); + void changeTitleColor(const TQColor &); #if 0 - //void changeYTitle2Color(const QColor &); + //void changeYTitle2Color(const TQColor &); #endif - void changeLegendTitleColor(const QColor &); - void changeLegendTextColor(const QColor &); + void changeLegendTitleColor(const TQColor &); + void changeLegendTextColor(const TQColor &); protected: - void paintEvent( QPaintEvent * ); + void paintEvent( TQPaintEvent * ); private: KChartPart* _chart; //kchartWidget* preview; - QLineEdit* _xlabelED; - QLineEdit* _ylabelED; - QLineEdit* _titleED; + TQLineEdit* _xlabelED; + TQLineEdit* _ylabelED; + TQLineEdit* _titleED; #if 0 - QLineEdit* _ylabel2ED; + TQLineEdit* _ylabel2ED; #endif - QPushButton *xtitlefont; - QPushButton *ytitlefont; - QPushButton *titlefont; + TQPushButton *xtitlefont; + TQPushButton *ytitlefont; + TQPushButton *titlefont; #if 0 - QPushButton *ytitle2font; + TQPushButton *ytitle2font; #endif KColorButton *xtitlecolor; KColorButton *ytitlecolor; @@ -69,32 +70,32 @@ private: KColorButton *ytitle2color; #endif - QLineEdit *_legendTitleText; + TQLineEdit *_legendTitleText; KColorButton *legendTextColor; KColorButton *legendTitleColor; - QPushButton *legendTextFont; - QPushButton *legendTitleFont; + TQPushButton *legendTextFont; + TQPushButton *legendTitleFont; - QFont xlabel; - QFont ylabel; + TQFont xlabel; + TQFont ylabel; #if 0 - QFont ylabel2; + TQFont ylabel2; #endif - QFont title; - QColor x_color; - QColor y_color; + TQFont title; + TQColor x_color; + TQColor y_color; #if 0 - QColor y_color2; + TQColor y_color2; #endif - QColor title_color; + TQColor title_color; - QColor _legendTextColor; - QColor _legendTitleColor; + TQColor _legendTextColor; + TQColor _legendTitleColor; - QFont _legendTextFont; - QFont _legendTitleFont; + TQFont _legendTextFont; + TQFont _legendTitleFont; }; |