diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:19:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:19:08 -0600 |
commit | ac04782336b6a026b44df9d51ba9ca008a712da2 (patch) | |
tree | 62ad1da391a6dad027a2d371671b19e5306acee0 /kexi/core/kexidbconnectionset.cpp | |
parent | f7055674768fa7f0267da4a14b9061e60ebab3fc (diff) | |
download | koffice-ac04782336b6a026b44df9d51ba9ca008a712da2.tar.gz koffice-ac04782336b6a026b44df9d51ba9ca008a712da2.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kexi/core/kexidbconnectionset.cpp')
-rw-r--r-- | kexi/core/kexidbconnectionset.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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"; |