diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:48:01 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 22:54:28 +0900 |
| commit | fdde1e4ac285a7b43ca5f45f220ea7fec8db248b (patch) | |
| tree | 2886714a5f837bc0b86f178624f8437dd863b6be /kspread/KSpreadAppIface.cpp | |
| parent | f491bbc527febc11c4f3f2cf158735ae93a4e19a (diff) | |
| download | koffice-fdde1e4ac285a7b43ca5f45f220ea7fec8db248b.tar.gz koffice-fdde1e4ac285a7b43ca5f45f220ea7fec8db248b.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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(); } |
