From fdde1e4ac285a7b43ca5f45f220ea7fec8db248b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 22 Jan 2025 17:48:01 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- kspread/KSpreadAppIface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kspread/KSpreadAppIface.cpp') 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 AppIface::documents() @@ -64,7 +64,7 @@ TQMap 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 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(); } -- cgit v1.2.3