diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 19:55:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 19:55:40 -0600 |
commit | 73ff676f11662d6178c8854a7832ebffe2ae409d (patch) | |
tree | 9e89ea7d87940087d2d3c5db9b378ef989dd1346 /lib/kofficecore/KoDocument.cpp | |
parent | c2ba2f56121c21a762619faf195e8332ef5b224f (diff) | |
download | koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.tar.gz koffice-73ff676f11662d6178c8854a7832ebffe2ae409d.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'lib/kofficecore/KoDocument.cpp')
-rw-r--r-- | lib/kofficecore/KoDocument.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp index 6abf8083..7eebcbca 100644 --- a/lib/kofficecore/KoDocument.cpp +++ b/lib/kofficecore/KoDocument.cpp @@ -2217,7 +2217,7 @@ TQCString KoDocument::nativeOasisMimeType() const //static -KService::Ptr KoDocument::readNativeService( KInstance *instance ) +KService::Ptr KoDocument::readNativeService( TDEInstance *instance ) { TQString instname = instance ? instance->instanceName() : kapp->instanceName(); @@ -2241,7 +2241,7 @@ KService::Ptr KoDocument::readNativeService( KInstance *instance ) return service; } -TQCString KoDocument::readNativeFormatMimeType( KInstance *instance ) //static +TQCString KoDocument::readNativeFormatMimeType( TDEInstance *instance ) //static { KService::Ptr service = readNativeService( instance ); if ( !service ) @@ -2262,7 +2262,7 @@ TQCString KoDocument::readNativeFormatMimeType( KInstance *instance ) //static return service->property( "X-TDE-NativeMimeType" ).toString().latin1(); } -TQStringList KoDocument::readExtraNativeMimeTypes( KInstance *instance ) //static +TQStringList KoDocument::readExtraNativeMimeTypes( TDEInstance *instance ) //static { KService::Ptr service = readNativeService( instance ); if ( !service ) @@ -2600,7 +2600,7 @@ void KoDocument::startCustomDocument() { deleteOpenPane(); } -KoOpenPane* KoDocument::createOpenPane( TQWidget* parent, KInstance* instance, +KoOpenPane* KoDocument::createOpenPane( TQWidget* parent, TDEInstance* instance, const TQString& templateType ) { KoOpenPane* openPane = new KoOpenPane( parent, instance, templateType ); |