diff options
Diffstat (limited to 'kexi/core/kexiprojectset.cpp')
-rw-r--r-- | kexi/core/kexiprojectset.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/core/kexiprojectset.cpp b/kexi/core/kexiprojectset.cpp index 51e804dd..994c70af 100644 --- a/kexi/core/kexiprojectset.cpp +++ b/kexi/core/kexiprojectset.cpp @@ -67,7 +67,7 @@ KexiProjectSet::KexiProjectSet(KexiDB::ConnectionData &conndata, delete conn; return; } - QStringList dbnames = conn->databaseNames(false/*skip system*/); + TQStringList dbnames = conn->databaseNames(false/*skip system*/); // kexidbg << dbnames.count() << endl; if (conn->error()) { setError(conn); @@ -76,7 +76,7 @@ KexiProjectSet::KexiProjectSet(KexiDB::ConnectionData &conndata, } delete conn; conn = 0; - for (QStringList::ConstIterator it = dbnames.constBegin(); it!=dbnames.constEnd(); ++it) { + for (TQStringList::ConstIterator it = dbnames.constBegin(); it!=dbnames.constEnd(); ++it) { // project's caption is just the same as database name - nothing better is available KexiProjectData *pdata = new KexiProjectData(conndata, *it, *it); d->list.append( pdata ); @@ -100,10 +100,10 @@ KexiProjectData::List KexiProjectSet::list() const return d->list; } -KexiProjectData* KexiProjectSet::findProject(const QString &dbName) const +KexiProjectData* KexiProjectSet::findProject(const TQString &dbName) const { - const QString _dbName = dbName.lower(); - QPtrListIterator<KexiProjectData> it( d->list ); + const TQString _dbName = dbName.lower(); + TQPtrListIterator<KexiProjectData> it( d->list ); for (;it.current();++it) { if (it.current()->databaseName().lower()==_dbName) return it.current(); |