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/kchartLegendConfigPage.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/kchartLegendConfigPage.h')
-rw-r--r-- | kchart/kchartLegendConfigPage.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/kchart/kchartLegendConfigPage.h b/kchart/kchartLegendConfigPage.h index 38fde8dd..fe484184 100644 --- a/kchart/kchartLegendConfigPage.h +++ b/kchart/kchartLegendConfigPage.h @@ -21,28 +21,29 @@ #ifndef __KCHARTLEGENDCONFIGPAGE_H__ #define __KCHARTLEGENDCONFIGPAGE_H__ -#include <qwidget.h> -#include <qbutton.h> -#include <qlayout.h> +#include <tqwidget.h> +#include <tqbutton.h> +#include <tqlayout.h> -class QVButtonGroup; -class QRadioButton; -class QLineEdit; +class TQVButtonGroup; +class TQRadioButton; +class TQLineEdit; class KColorButton; -class QPushButton; +class TQPushButton; namespace KChart { class KChartParams; -class KChartLegendConfigPage : public QWidget +class KChartLegendConfigPage : public TQWidget { Q_OBJECT + TQ_OBJECT public: KChartLegendConfigPage( KChartParams* params, - QWidget* parent ); + TQWidget* tqparent ); void init(); void apply(); public slots: @@ -51,20 +52,20 @@ public slots: private: KChartParams* _params; - QPushButton *lTopLeft, *lTopLeftTop, *lTop, *lTopRightTop, *lTopRight, + TQPushButton *lTopLeft, *lTopLeftTop, *lTop, *lTopRightTop, *lTopRight, *lTopLeftLeft, *lTopRightRight, *lLeft, *noLegend, *lRight, *lBottomLeftLeft, *lBottomRightRight, *lBottomLeft, *lBottomLeftBottom, *lBottom, *lBottomRightBottom, *lBottomRight; - QLineEdit *title; - QVButtonGroup* orientationGroup; + TQLineEdit *title; + TQVButtonGroup* orientationGroup; KColorButton *legendTitleColor, *legendTextColor, *legendFrameColor; - QFont titleLegend, textLegend; - QPushButton *titleLegendFontButton, *textLegendFontButton; - QButton::ToggleState titleLegendIsRelative, textLegendIsRelative; + TQFont titleLegend, textLegend; + TQPushButton *titleLegendFontButton, *textLegendFontButton; + TQButton::ToggleState titleLegendIsRelative, textLegendIsRelative; - QPushButton* addButton( QGridLayout* layout, QButtonGroup* gb, - const QString &toolTipText, const QString &icon, + TQPushButton* addButton( TQGridLayout* tqlayout, TQButtonGroup* gb, + const TQString &toolTipText, const TQString &icon, int posY, int posX ); }; |