diff options
Diffstat (limited to 'kivio/kiviopart/KIvioMapIface.cc')
-rw-r--r-- | kivio/kiviopart/KIvioMapIface.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kivio/kiviopart/KIvioMapIface.cc b/kivio/kiviopart/KIvioMapIface.cc index cd056f2b..2caea757 100644 --- a/kivio/kiviopart/KIvioMapIface.cc +++ b/kivio/kiviopart/KIvioMapIface.cc @@ -33,7 +33,7 @@ KIvioMapIface::KIvioMapIface( KivioMap* map ) m_map = map; } -DCOPRef KIvioMapIface::page( const QString& name ) +DCOPRef KIvioMapIface::page( const TQString& name ) { KivioPage* t = m_map->findPage( name ); if ( !t ) @@ -51,7 +51,7 @@ DCOPRef KIvioMapIface::pageByIndex( int index ) return DCOPRef(); } - kdDebug(43000) << "+++++++ Returning page " << t->QObject::name() << endl; + kdDebug(43000) << "+++++++ Returning page " << t->TQObject::name() << endl; return DCOPRef( kapp->dcopClient()->appId(), t->dcopObject()->objId() ); } @@ -61,31 +61,31 @@ int KIvioMapIface::pageCount() const return m_map->count(); } -QStringList KIvioMapIface::pageNames() const +TQStringList KIvioMapIface::pageNames() const { - QStringList names; + TQStringList names; - QPtrList<KivioPage>& lst = m_map->pageList(); - QPtrListIterator<KivioPage> it( lst ); + TQPtrList<KivioPage>& lst = m_map->pageList(); + TQPtrListIterator<KivioPage> it( lst ); for( ; it.current(); ++it ) names.append( it.current()->name() ); return names; } -QValueList<DCOPRef> KIvioMapIface::pages() +TQValueList<DCOPRef> KIvioMapIface::pages() { - QValueList<DCOPRef> t; + TQValueList<DCOPRef> t; - QPtrList<KivioPage>& lst = m_map->pageList(); - QPtrListIterator<KivioPage> it( lst ); + TQPtrList<KivioPage>& lst = m_map->pageList(); + TQPtrListIterator<KivioPage> it( lst ); for( ; it.current(); ++it ) t.append( DCOPRef( kapp->dcopClient()->appId(), it.current()->dcopObject()->objId() ) ); return t; } -DCOPRef KIvioMapIface::insertPage( const QString& name ) +DCOPRef KIvioMapIface::insertPage( const TQString& name ) { if ( m_map->findPage( name ) ) return page( name ); @@ -97,8 +97,8 @@ DCOPRef KIvioMapIface::insertPage( const QString& name ) return page( name ); } -bool KIvioMapIface::processDynamic(const QCString &fun, const QByteArray &/*data*/, - QCString& replyType, QByteArray &replyData) +bool KIvioMapIface::processDynamic(const TQCString &fun, const TQByteArray &/*data*/, + TQCString& replyType, TQByteArray &replyData) { // Does the name follow the pattern "foobar()" ? uint len = fun.length(); @@ -113,7 +113,7 @@ bool KIvioMapIface::processDynamic(const QCString &fun, const QByteArray &/*data return false; replyType = "DCOPRef"; - QDataStream out( replyData, IO_WriteOnly ); + TQDataStream out( replyData, IO_WriteOnly ); out << DCOPRef( kapp->dcopClient()->appId(), t->dcopObject()->objId() ); return true; } |