summaryrefslogtreecommitdiffstats
path: root/kspread/KSpreadMapIface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/KSpreadMapIface.cc')
-rw-r--r--kspread/KSpreadMapIface.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/kspread/KSpreadMapIface.cc b/kspread/KSpreadMapIface.cc
index 3f5cf79f8..046f4c445 100644
--- a/kspread/KSpreadMapIface.cc
+++ b/kspread/KSpreadMapIface.cc
@@ -40,7 +40,7 @@ MapIface::MapIface( Map* map )
m_map = map;
}
-DCOPRef MapIface::sheet( const QString& name )
+DCOPRef MapIface::sheet( const TQString& name )
{
Sheet* t = m_map->findSheet( name );
if ( !t )
@@ -58,7 +58,7 @@ DCOPRef MapIface::sheetByIndex( int index )
return DCOPRef();
}
- kdDebug(36001) << "+++++++ Returning table " << t->QObject::name() << endl;
+ kdDebug(36001) << "+++++++ Returning table " << t->TQObject::name() << endl;
return DCOPRef( kapp->dcopClient()->appId(), t->dcopObject()->objId() );
}
@@ -68,31 +68,31 @@ int MapIface::sheetCount() const
return m_map->count();
}
-QStringList MapIface::sheetNames() const
+TQStringList MapIface::sheetNames() const
{
- QStringList names;
+ TQStringList names;
- QPtrList<Sheet>& lst = m_map->sheetList();
- QPtrListIterator<Sheet> it( lst );
+ TQPtrList<Sheet>& lst = m_map->sheetList();
+ TQPtrListIterator<Sheet> it( lst );
for( ; it.current(); ++it )
names.append( it.current()->name() );
return names;
}
-QValueList<DCOPRef> MapIface::sheets()
+TQValueList<DCOPRef> MapIface::sheets()
{
- QValueList<DCOPRef> t;
+ TQValueList<DCOPRef> t;
- QPtrList<Sheet>& lst = m_map->sheetList();
- QPtrListIterator<Sheet> it( lst );
+ TQPtrList<Sheet>& lst = m_map->sheetList();
+ TQPtrListIterator<Sheet> it( lst );
for( ; it.current(); ++it )
t.append( DCOPRef( kapp->dcopClient()->appId(), it.current()->dcopObject()->objId() ) );
return t;
}
-DCOPRef MapIface::insertSheet( const QString& name )
+DCOPRef MapIface::insertSheet( const TQString& name )
{
if ( m_map->findSheet( name ) )
return sheet( name );
@@ -103,8 +103,8 @@ DCOPRef MapIface::insertSheet( const QString& name )
return sheet( name );
}
-bool MapIface::processDynamic(const QCString &fun, const QByteArray &/*data*/,
- QCString& replyType, QByteArray &replyData)
+bool MapIface::processDynamic(const TQCString &fun, const TQByteArray &/*data*/,
+ TQCString& replyType, TQByteArray &replyData)
{
// Does the name follow the pattern "foobar()" ?
uint len = fun.length();
@@ -119,7 +119,7 @@ bool MapIface::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;
}