From ac04782336b6a026b44df9d51ba9ca008a712da2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:19:08 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kexi/core/kexidbconnectionset.cpp | 6 +++--- kexi/core/kexidbconnectionset.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kexi/core') diff --git a/kexi/core/kexidbconnectionset.cpp b/kexi/core/kexidbconnectionset.cpp index 69828d07..b608c46d 100644 --- a/kexi/core/kexidbconnectionset.cpp +++ b/kexi/core/kexidbconnectionset.cpp @@ -73,11 +73,11 @@ bool KexiDBConnectionSet::addConnectionData(KexiDB::ConnectionData *data, const return false; TQString baseFilename( dir + (data->hostName.isEmpty() ? "localhost" : data->hostName) ); int i = 0; - while (KStandardDirs::exists(baseFilename+(i>0 ? TQString::number(i) : TQString())+".kexic")) + while (TDEStandardDirs::exists(baseFilename+(i>0 ? TQString::number(i) : TQString())+".kexic")) i++; - if (!KStandardDirs::exists(dir)) { + if (!TDEStandardDirs::exists(dir)) { //make 'connections' dir and protect it - if (!KStandardDirs::makeDir(dir, 0700)) + if (!TDEStandardDirs::makeDir(dir, 0700)) return false; } filename = baseFilename+(i>0 ? TQString::number(i) : TQString())+".kexic"; diff --git a/kexi/core/kexidbconnectionset.h b/kexi/core/kexidbconnectionset.h index fc831cdc..4e75b4d9 100644 --- a/kexi/core/kexidbconnectionset.h +++ b/kexi/core/kexidbconnectionset.h @@ -34,7 +34,7 @@ public: /*! Loads connection data set from storage, currently from .kexic files saved in dirs returned by - KStandardDirs::findDirs("data", "connections") */ + TDEStandardDirs::findDirs("data", "connections") */ void load(); /*! Adds \a data as connection data. -- cgit v1.2.1