diff options
Diffstat (limited to 'kspread/KSpreadAppIface.cc')
-rw-r--r-- | kspread/KSpreadAppIface.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kspread/KSpreadAppIface.cc b/kspread/KSpreadAppIface.cc index 31fb328a..8ebc978c 100644 --- a/kspread/KSpreadAppIface.cc +++ b/kspread/KSpreadAppIface.cc @@ -46,7 +46,7 @@ DCOPRef AppIface::createDoc() return DCOPRef( kapp->dcopClient()->appId(), doc->dcopObject()->objId() ); } -DCOPRef AppIface::createDoc( const QString& name ) +DCOPRef AppIface::createDoc( const TQString& name ) { // ######### Torben: Check for duplicate names here Doc* doc = new Doc( 0, name.latin1() ); @@ -55,25 +55,25 @@ DCOPRef AppIface::createDoc( const QString& name ) return DCOPRef( kapp->dcopClient()->appId(), doc->dcopObject()->objId() ); } -QMap<QString,DCOPRef> AppIface::documents() +TQMap<TQString,DCOPRef> AppIface::documents() { - QMap<QString,DCOPRef> map; + TQMap<TQString,DCOPRef> map; - QValueList<Doc*> lst = Doc::documents(); - QValueListIterator<Doc*> it = lst.begin(); + TQValueList<Doc*> lst = Doc::documents(); + TQValueListIterator<Doc*> it = lst.begin(); for( ; it != lst.end(); ++it ) { - map[ QString( (*it)->name() ) ] = + map[ TQString( (*it)->name() ) ] = DCOPRef( kapp->dcopClient()->appId(), (*it)->dcopObject()->objId() ); } return map; } -DCOPRef AppIface::document( const QString& name ) +DCOPRef AppIface::document( const TQString& name ) { - QValueList<Doc*> lst = Doc::documents(); - QValueListIterator<Doc*> it = lst.begin(); + TQValueList<Doc*> lst = Doc::documents(); + TQValueListIterator<Doc*> it = lst.begin(); for( ; it != lst.end(); ++it ) if ( name == (*it)->name() ) return DCOPRef( kapp->dcopClient()->appId(), (*it)->dcopObject()->objId() ); |