summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoApplicationIface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoApplicationIface.cc')
-rw-r--r--lib/kofficecore/KoApplicationIface.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/kofficecore/KoApplicationIface.cc b/lib/kofficecore/KoApplicationIface.cc
index eb6f4d2da..042a39a82 100644
--- a/lib/kofficecore/KoApplicationIface.cc
+++ b/lib/kofficecore/KoApplicationIface.cc
@@ -40,41 +40,41 @@ KoApplicationIface::~KoApplicationIface()
{
}
-DCOPRef KoApplicationIface::createDocument( const QString &nativeFormat )
+DCOPRef KoApplicationIface::createDocument( const TQString &nativeFormat )
{
KoDocumentEntry entry = KoDocumentEntry::queryByMimeType( nativeFormat );
if ( entry.isEmpty() )
{
- KMessageBox::questionYesNo( 0, i18n( "Unknown KOffice MimeType %s. Check your installation." ).arg( nativeFormat ) );
+ KMessageBox::questionYesNo( 0, i18n( "Unknown KOffice MimeType %s. Check your installation." ).tqarg( nativeFormat ) );
return DCOPRef();
}
KoDocument* doc = entry.createDoc( 0 );
return DCOPRef( kapp->dcopClient()->appId(), doc->dcopObject()->objId() );
}
-QValueList<DCOPRef> KoApplicationIface::getDocuments()
+TQValueList<DCOPRef> KoApplicationIface::getDocuments()
{
- QValueList<DCOPRef> lst;
- QPtrList<KoDocument> *documents = KoDocument::documentList();
+ TQValueList<DCOPRef> lst;
+ TQPtrList<KoDocument> *documents = KoDocument::documentList();
if ( documents )
{
- QPtrListIterator<KoDocument> it( *documents );
+ TQPtrListIterator<KoDocument> it( *documents );
for (; it.current(); ++it )
lst.append( DCOPRef( kapp->dcopClient()->appId(), it.current()->dcopObject()->objId() ) );
}
return lst;
}
-QValueList<DCOPRef> KoApplicationIface::getViews()
+TQValueList<DCOPRef> KoApplicationIface::getViews()
{
- QValueList<DCOPRef> lst;
- QPtrList<KoDocument> *documents = KoDocument::documentList();
+ TQValueList<DCOPRef> lst;
+ TQPtrList<KoDocument> *documents = KoDocument::documentList();
if ( documents )
{
- QPtrListIterator<KoDocument> it( *documents );
+ TQPtrListIterator<KoDocument> it( *documents );
for (; it.current(); ++it )
{
- QPtrListIterator<KoView> itview( it.current()->views() );
+ TQPtrListIterator<KoView> itview( it.current()->views() );
for ( ; itview.current(); ++itview )
lst.append( DCOPRef( kapp->dcopClient()->appId(), itview.current()->dcopObject()->objId() ) );
}
@@ -82,13 +82,13 @@ QValueList<DCOPRef> KoApplicationIface::getViews()
return lst;
}
-QValueList<DCOPRef> KoApplicationIface::getWindows()
+TQValueList<DCOPRef> KoApplicationIface::getWindows()
{
- QValueList<DCOPRef> lst;
- QPtrList<KMainWindow> *mainWindows = KMainWindow::memberList;
+ TQValueList<DCOPRef> lst;
+ TQPtrList<KMainWindow> *mainWindows = KMainWindow::memberList;
if ( mainWindows )
{
- QPtrListIterator<KMainWindow> it( *mainWindows );
+ TQPtrListIterator<KMainWindow> it( *mainWindows );
for (; it.current(); ++it )
lst.append( DCOPRef( kapp->dcopClient()->appId(),
static_cast<KoMainWindow *>(it.current())->dcopObject()->objId() ) );