diff options
Diffstat (limited to 'libkdchart/KDChartWrapperFactory.cpp')
-rw-r--r-- | libkdchart/KDChartWrapperFactory.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdchart/KDChartWrapperFactory.cpp b/libkdchart/KDChartWrapperFactory.cpp index 430ef3a..2ff08f1 100644 --- a/libkdchart/KDChartWrapperFactory.cpp +++ b/libkdchart/KDChartWrapperFactory.cpp @@ -1,6 +1,6 @@ #include "KDChartWrapperFactory.h" #include <KDChartTable.h> -#include <qfont.h> +#include <tqfont.h> #include "wrappers/KDChartParamsWrapper.h" #include "wrappers/KDChartTableDataWrapper.h" #include "wrappers/KDChartCustomBoxWrapper.h" @@ -15,18 +15,18 @@ KDChartWrapperFactory::KDChartWrapperFactory() registerWrapper( "KDChartAxisParams", "KDChartAxisParamsWrapper" ); } -QObject* KDChartWrapperFactory::create( const QString& className, void* ptr ) +TQObject* KDChartWrapperFactory::create( const TQString& className, void* ptr ) { - if ( className == QString::fromLatin1( "KDChartParams" ) ) + if ( className == TQString::tqfromLatin1( "KDChartParams" ) ) return new KDChartParamsWrapper( static_cast<KDChartParams*>( ptr ) ); - if ( className == QString::fromLatin1( "KDChartVectorTableData" ) ) + if ( className == TQString::tqfromLatin1( "KDChartVectorTableData" ) ) return new KDChartTableDataWrapper( static_cast<KDChartTableData*>( ptr ) ); - if ( className == QString::fromLatin1( "KDChartCustomBox" ) ) + if ( className == TQString::tqfromLatin1( "KDChartCustomBox" ) ) return new KDChartCustomBoxWrapper( static_cast<KDChartCustomBox*>( ptr ) ); - if ( className == QString::fromLatin1( "KDChartAxisParams" ) ) + if ( className == TQString::tqfromLatin1( "KDChartAxisParams" ) ) return new KDChartAxisParamsWrapper( static_cast<KDChartAxisParams*>( ptr ) ); return 0; |