From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/core/kexiprojectset.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kexi/core/kexiprojectset.cpp') 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 it( d->list ); + const TQString _dbName = dbName.lower(); + TQPtrListIterator it( d->list ); for (;it.current();++it) { if (it.current()->databaseName().lower()==_dbName) return it.current(); -- cgit v1.2.1