diff options
Diffstat (limited to 'lib/kofficecore/KoApplicationIface.cpp')
-rw-r--r-- | lib/kofficecore/KoApplicationIface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoApplicationIface.cpp b/lib/kofficecore/KoApplicationIface.cpp index e8995ad66..62e1f8481 100644 --- a/lib/kofficecore/KoApplicationIface.cpp +++ b/lib/kofficecore/KoApplicationIface.cpp @@ -49,7 +49,7 @@ DCOPRef KoApplicationIface::createDocument( const TQString &nativeFormat ) return DCOPRef(); } KoDocument* doc = entry.createDoc( 0 ); - return DCOPRef( kapp->dcopClient()->appId(), doc->dcopObject()->objId() ); + return DCOPRef( tdeApp->dcopClient()->appId(), doc->dcopObject()->objId() ); } TQValueList<DCOPRef> KoApplicationIface::getDocuments() @@ -60,7 +60,7 @@ TQValueList<DCOPRef> KoApplicationIface::getDocuments() { TQPtrListIterator<KoDocument> it( *documents ); for (; it.current(); ++it ) - lst.append( DCOPRef( kapp->dcopClient()->appId(), it.current()->dcopObject()->objId() ) ); + lst.append( DCOPRef( tdeApp->dcopClient()->appId(), it.current()->dcopObject()->objId() ) ); } return lst; } @@ -76,7 +76,7 @@ TQValueList<DCOPRef> KoApplicationIface::getViews() { TQPtrListIterator<KoView> itview( it.current()->views() ); for ( ; itview.current(); ++itview ) - lst.append( DCOPRef( kapp->dcopClient()->appId(), itview.current()->dcopObject()->objId() ) ); + lst.append( DCOPRef( tdeApp->dcopClient()->appId(), itview.current()->dcopObject()->objId() ) ); } } return lst; @@ -90,7 +90,7 @@ TQValueList<DCOPRef> KoApplicationIface::getWindows() { TQPtrListIterator<TDEMainWindow> it( *mainWindows ); for (; it.current(); ++it ) - lst.append( DCOPRef( kapp->dcopClient()->appId(), + lst.append( DCOPRef( tdeApp->dcopClient()->appId(), static_cast<KoMainWindow *>(it.current())->dcopObject()->objId() ) ); } return lst; |