diff options
Diffstat (limited to 'kounavail')
-rw-r--r-- | kounavail/kounavail.cc | 14 | ||||
-rw-r--r-- | kounavail/kounavail.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/kounavail/kounavail.cc b/kounavail/kounavail.cc index 364a8e84..d3db14cc 100644 --- a/kounavail/kounavail.cc +++ b/kounavail/kounavail.cc @@ -127,8 +127,8 @@ void KoUnavailView::paintEvent( TQPaintEvent* ev ) K_EXPORT_COMPONENT_FACTORY( libkounavailpart, KoUnavailFactory ) -KInstance* KoUnavailFactory::s_global = 0L; -KAboutData* KoUnavailFactory::s_aboutData = 0L; +TDEInstance* KoUnavailFactory::s_global = 0L; +TDEAboutData* KoUnavailFactory::s_aboutData = 0L; KoUnavailFactory::KoUnavailFactory( TQObject* parent, const char* name ) : KoFactory( parent, name ) @@ -149,25 +149,25 @@ KParts::Part* KoUnavailFactory::createPartObject( TQWidget *parentWidget, const return new KoUnavailPart( parentWidget, widgetName, parent, name ); } -KAboutData* KoUnavailFactory::aboutData() +TDEAboutData* KoUnavailFactory::aboutData() { if ( !s_aboutData ) { static const char* description=I18N_NOOP("KoUnavail KOffice Program"); static const char* version="0.1"; - s_aboutData=new KAboutData( "kounavail", I18N_NOOP("KoUnavail"), - version, description, KAboutData::License_LGPL, + s_aboutData=new TDEAboutData( "kounavail", I18N_NOOP("KoUnavail"), + version, description, TDEAboutData::License_LGPL, "(c) 2001, David Faure"); s_aboutData->addAuthor("David Faure",0, "[email protected]"); } return s_aboutData; } -KInstance* KoUnavailFactory::global() +TDEInstance* KoUnavailFactory::global() { if ( !s_global ) { - s_global = new KInstance( aboutData() ); + s_global = new TDEInstance( aboutData() ); // Tell the iconloader about share/apps/koffice/icons //s_global->iconLoader()->addAppDir("koffice"); } diff --git a/kounavail/kounavail.h b/kounavail/kounavail.h index 1a0e1c0e..91bdd034 100644 --- a/kounavail/kounavail.h +++ b/kounavail/kounavail.h @@ -85,8 +85,8 @@ protected: #include <KoFactory.h> -class KInstance; -class KAboutData; +class TDEInstance; +class TDEAboutData; class KoUnavailFactory : public KoFactory { @@ -98,14 +98,14 @@ public: virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); - static KInstance* global(); + static TDEInstance* global(); - // _Creates_ a KAboutData but doesn't keep ownership - static KAboutData* aboutData(); + // _Creates_ a TDEAboutData but doesn't keep ownership + static TDEAboutData* aboutData(); private: - static KInstance* s_global; - static KAboutData* s_aboutData; + static TDEInstance* s_global; + static TDEAboutData* s_aboutData; }; #endif |