summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoApplicationIface.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-22 17:48:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 22:54:28 +0900
commitfdde1e4ac285a7b43ca5f45f220ea7fec8db248b (patch)
tree2886714a5f837bc0b86f178624f8437dd863b6be /lib/kofficecore/KoApplicationIface.cpp
parentf491bbc527febc11c4f3f2cf158735ae93a4e19a (diff)
downloadkoffice-fdde1e4ac285a7b43ca5f45f220ea7fec8db248b.tar.gz
koffice-fdde1e4ac285a7b43ca5f45f220ea7fec8db248b.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficecore/KoApplicationIface.cpp')
-rw-r--r--lib/kofficecore/KoApplicationIface.cpp8
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;