summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartWrapperFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kdchart/KDChartWrapperFactory.cpp')
-rw-r--r--kchart/kdchart/KDChartWrapperFactory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kchart/kdchart/KDChartWrapperFactory.cpp b/kchart/kdchart/KDChartWrapperFactory.cpp
index 430ef3a4..2ff08f1a 100644
--- a/kchart/kdchart/KDChartWrapperFactory.cpp
+++ b/kchart/kdchart/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;