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/kdchart/KDChartObjectFactory.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/kdchart/KDChartObjectFactory.h')
-rw-r--r-- | kchart/kdchart/KDChartObjectFactory.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kchart/kdchart/KDChartObjectFactory.h b/kchart/kdchart/KDChartObjectFactory.h index 15fdb943..ee3a0c0b 100644 --- a/kchart/kdchart/KDChartObjectFactory.h +++ b/kchart/kdchart/KDChartObjectFactory.h @@ -1,35 +1,35 @@ #ifndef KDCHARTQSA_H #define KDCHARTQSA_H -#include <qsobjectfactory.h> +#include <tqsobjectfactory.h> -class KDChartObjectFactory :public QSObjectFactory { +class KDChartObjectFactory :public TQSObjectFactory { public: KDChartObjectFactory(); - virtual QObject* create( const QString& className, const QSArgumentList& args, QObject* context ); + virtual TQObject* create( const TQString& className, const TQSArgumentList& args, TQObject* context ); protected: - QObject* createKDChartWidget( const QSArgumentList& args ); - QObject* createKDChartTableData( const QSArgumentList& args ); - QObject* createQDateTime( const QSArgumentList& args ); - QObject* createQDate( const QSArgumentList& args ); - QObject* createQTime( const QSArgumentList& args ); - QObject* createKDChartTextPiece( const QSArgumentList& args ); - QObject* createQFont( const QSArgumentList& args ); - QObject* createKDChartCustomBox( const QSArgumentList& args ); - QObject* createQColor(const QSArgumentList& args ); - QObject* createKDChartPropertySet(const QSArgumentList& args ); - - bool isNumber( const QVariant& ); - bool checkArgCount( const QString& className, int count, int min, int max ); - bool checkArgsIsQtClass( const QSArgumentList& args, int index, const char* expected, const char* constructing ); - bool getString( const QSArgumentList& arg, int index, QString* str, const char* constructing ); - - bool getNumber( const QSArgumentList& args, int index, double* number, const char* constructing ); - bool getNumber( const QSArgumentList& args, int index, int* number, const char* constructing ); - bool getNumber( const QSArgumentList& args, int index, uint* number, const char* constructing ); - - bool getBool( const QSArgumentList& arg, int index, bool* b, const char* constructing ); - bool checkIsQtVariant( const QSArgumentList& arg, int index, QVariant::Type expected, const QString& variantName, const char* constructing ); + TQObject* createKDChartWidget( const TQSArgumentList& args ); + TQObject* createKDChartTableData( const TQSArgumentList& args ); + TQObject* createTQDateTime( const TQSArgumentList& args ); + TQObject* createTQDate( const TQSArgumentList& args ); + TQObject* createTQTime( const TQSArgumentList& args ); + TQObject* createKDChartTextPiece( const TQSArgumentList& args ); + TQObject* createTQFont( const TQSArgumentList& args ); + TQObject* createKDChartCustomBox( const TQSArgumentList& args ); + TQObject* createTQColor(const TQSArgumentList& args ); + TQObject* createKDChartPropertySet(const TQSArgumentList& args ); + + bool isNumber( const TQVariant& ); + bool checkArgCount( const TQString& className, int count, int min, int max ); + bool checkArgsIsTQtClass( const TQSArgumentList& args, int index, const char* expected, const char* constructing ); + bool getString( const TQSArgumentList& arg, int index, TQString* str, const char* constructing ); + + bool getNumber( const TQSArgumentList& args, int index, double* number, const char* constructing ); + bool getNumber( const TQSArgumentList& args, int index, int* number, const char* constructing ); + bool getNumber( const TQSArgumentList& args, int index, uint* number, const char* constructing ); + + bool getBool( const TQSArgumentList& arg, int index, bool* b, const char* constructing ); + bool checkIsTQtVariant( const TQSArgumentList& arg, int index, TQVariant::Type expected, const TQString& variantName, const char* constructing ); }; |