summaryrefslogtreecommitdiffstats
path: root/kchart/kchartSubTypeChartPage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kchart/kchartSubTypeChartPage.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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/kchartSubTypeChartPage.h')
-rw-r--r--kchart/kchartSubTypeChartPage.h72
1 files changed, 39 insertions, 33 deletions
diff --git a/kchart/kchartSubTypeChartPage.h b/kchart/kchartSubTypeChartPage.h
index f50ba84e..425dda50 100644
--- a/kchart/kchartSubTypeChartPage.h
+++ b/kchart/kchartSubTypeChartPage.h
@@ -21,25 +21,26 @@
#ifndef __KCHARTSUBTYPECHARTPAGE_H__
#define __KCHARTSUBTYPECHARTPAGE_H__
-#include <qwidget.h>
+#include <tqwidget.h>
class KDChartParams;
-class QLabel;
-class QRadioButton;
-class QSpinBox;
+class TQLabel;
+class TQRadioButton;
+class TQSpinBox;
namespace KChart
{
class KChartParams;
-class KChartSubTypeChartPage : public QWidget
+class KChartSubTypeChartPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KChartSubTypeChartPage( KChartParams* params, QWidget* parent ) :
- QWidget( parent ), m_params( params ) {}
+ KChartSubTypeChartPage( KChartParams* params, TQWidget* tqparent ) :
+ TQWidget( tqparent ), m_params( params ) {}
virtual void init() = 0;
virtual void apply() = 0;
@@ -50,10 +51,11 @@ protected:
class KChartLineSubTypeChartPage : public KChartSubTypeChartPage
{
Q_OBJECT
+ TQ_OBJECT
public:
KChartLineSubTypeChartPage( KChartParams* params,
- QWidget* parent );
+ TQWidget* tqparent );
virtual void init();
virtual void apply();
@@ -61,20 +63,21 @@ private slots:
void slotChangeSubType( int type );
private:
- QRadioButton* normal;
- QRadioButton* stacked;
- QRadioButton* percent;
- QLabel* exampleLA;
+ TQRadioButton* normal;
+ TQRadioButton* stacked;
+ TQRadioButton* percent;
+ TQLabel* exampleLA;
};
class KChartAreaSubTypeChartPage : public KChartSubTypeChartPage
{
Q_OBJECT
+ TQ_OBJECT
public:
KChartAreaSubTypeChartPage( KChartParams* params,
- QWidget* parent );
+ TQWidget* tqparent );
virtual void init();
virtual void apply();
@@ -82,18 +85,19 @@ private slots:
void slotChangeSubType( int type );
private:
- QRadioButton* normal;
- QRadioButton* stacked;
- QRadioButton* percent;
- QLabel* exampleLA;
+ TQRadioButton* normal;
+ TQRadioButton* stacked;
+ TQRadioButton* percent;
+ TQLabel* exampleLA;
};
class KChartBarSubTypeChartPage : public KChartSubTypeChartPage
{
Q_OBJECT
+ TQ_OBJECT
public:
- KChartBarSubTypeChartPage( KChartParams* params, QWidget* parent );
+ KChartBarSubTypeChartPage( KChartParams* params, TQWidget* tqparent );
virtual void init();
virtual void apply();
@@ -101,21 +105,22 @@ private slots:
void slotChangeSubType( int type );
private:
- QRadioButton *normal;
- QRadioButton *stacked;
- QRadioButton *percent;
- QLabel *exampleLA;
- QSpinBox *m_numLines;
+ TQRadioButton *normal;
+ TQRadioButton *stacked;
+ TQRadioButton *percent;
+ TQLabel *exampleLA;
+ TQSpinBox *m_numLines;
};
class KChartHiloSubTypeChartPage : public KChartSubTypeChartPage
{
Q_OBJECT
+ TQ_OBJECT
public:
KChartHiloSubTypeChartPage( KChartParams* params,
- QWidget* parent );
+ TQWidget* tqparent );
virtual void init();
virtual void apply();
@@ -123,19 +128,20 @@ private slots:
void slotChangeSubType( int type );
private:
- QRadioButton* normal;
- QRadioButton* stacked;
- QRadioButton* percent;
- QLabel* exampleLA;
+ TQRadioButton* normal;
+ TQRadioButton* stacked;
+ TQRadioButton* percent;
+ TQLabel* exampleLA;
};
class KChartPolarSubTypeChartPage : public KChartSubTypeChartPage
{
Q_OBJECT
+ TQ_OBJECT
public:
KChartPolarSubTypeChartPage( KChartParams* params,
- QWidget* parent );
+ TQWidget* tqparent );
virtual void init();
virtual void apply();
@@ -143,10 +149,10 @@ private slots:
void slotChangeSubType( int type );
private:
- QRadioButton* normal;
- QRadioButton* stacked;
- QRadioButton* percent;
- QLabel* exampleLA;
+ TQRadioButton* normal;
+ TQRadioButton* stacked;
+ TQRadioButton* percent;
+ TQLabel* exampleLA;
};
} //KChart namespace