diff options
Diffstat (limited to 'kchart/kchart_factory.cc')
-rw-r--r-- | kchart/kchart_factory.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kchart/kchart_factory.cc b/kchart/kchart_factory.cc index de8fee19..a9324f24 100644 --- a/kchart/kchart_factory.cc +++ b/kchart/kchart_factory.cc @@ -21,8 +21,8 @@ KInstance *KChartFactory::s_global = 0; KAboutData *KChartFactory::s_aboutData = 0; -KChartFactory::KChartFactory( QObject* parent, const char* name ) - : KoFactory( parent, name ) +KChartFactory::KChartFactory( TQObject* tqparent, const char* name ) + : KoFactory( tqparent, name ) { global(); } @@ -37,16 +37,16 @@ KChartFactory::~KChartFactory() } -KParts::Part* KChartFactory::createPartObject( QWidget *parentWidget, +KParts::Part* KChartFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, - QObject* parent, + TQObject* tqparent, const char* name, const char *classname, - const QStringList & ) + const TQStringList & ) { bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 ); - KChartPart *part = new KChartPart( parentWidget, widgetName, parent, name, + KChartPart *part = new KChartPart( tqparentWidget, widgetName, tqparent, name, !bWantKoDocument ); if ( !bWantKoDocument ) |