diff options
Diffstat (limited to 'kspread/KSpreadAppIface.cpp')
| -rw-r--r-- | kspread/KSpreadAppIface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/KSpreadAppIface.cpp b/kspread/KSpreadAppIface.cpp index 6f0c8362e..fb98b0345 100644 --- a/kspread/KSpreadAppIface.cpp +++ b/kspread/KSpreadAppIface.cpp @@ -43,7 +43,7 @@ DCOPRef AppIface::createDoc() Doc* doc = new Doc(); doc->initDoc(KoDocument::InitDocFileNew); - return DCOPRef( kapp->dcopClient()->appId(), doc->dcopObject()->objId() ); + return DCOPRef( tdeApp->dcopClient()->appId(), doc->dcopObject()->objId() ); } DCOPRef AppIface::createDoc( const TQString& name ) @@ -52,7 +52,7 @@ DCOPRef AppIface::createDoc( const TQString& name ) Doc* doc = new Doc( 0, name.latin1() ); doc->initDoc( KoDocument::InitDocEmpty, 0 ); - return DCOPRef( kapp->dcopClient()->appId(), doc->dcopObject()->objId() ); + return DCOPRef( tdeApp->dcopClient()->appId(), doc->dcopObject()->objId() ); } TQMap<TQString,DCOPRef> AppIface::documents() @@ -64,7 +64,7 @@ TQMap<TQString,DCOPRef> AppIface::documents() for( ; it != lst.end(); ++it ) { map[ TQString( (*it)->name() ) ] = - DCOPRef( kapp->dcopClient()->appId(), (*it)->dcopObject()->objId() ); + DCOPRef( tdeApp->dcopClient()->appId(), (*it)->dcopObject()->objId() ); } return map; @@ -76,7 +76,7 @@ DCOPRef AppIface::document( const TQString& name ) TQValueListIterator<Doc*> it = lst.begin(); for( ; it != lst.end(); ++it ) if ( name == (*it)->name() ) - return DCOPRef( kapp->dcopClient()->appId(), (*it)->dcopObject()->objId() ); + return DCOPRef( tdeApp->dcopClient()->appId(), (*it)->dcopObject()->objId() ); return DCOPRef(); } |
