summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb')
-rw-r--r--kexi/kexidb/drivermanager.cpp4
-rw-r--r--kexi/kexidb/utils.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexidb/drivermanager.cpp b/kexi/kexidb/drivermanager.cpp
index b5713297..512bf8ad 100644
--- a/kexi/kexidb/drivermanager.cpp
+++ b/kexi/kexidb/drivermanager.cpp
@@ -92,8 +92,8 @@ bool DriverManagerInternal::lookupDrivers()
connect(tqApp,TQT_SIGNAL(aboutToQuit()),this,TQT_SLOT(slotAppQuits()));
}
//TODO: for QT-only version check for TDEInstance wrapper
-// KexiDBWarn << "DriverManagerInternal::lookupDrivers(): cannot work without TDEInstance (KGlobal::instance()==0)!" << endl;
-// setError("Driver Manager cannot work without TDEInstance (KGlobal::instance()==0)!");
+// KexiDBWarn << "DriverManagerInternal::lookupDrivers(): cannot work without TDEInstance (TDEGlobal::instance()==0)!" << endl;
+// setError("Driver Manager cannot work without TDEInstance (TDEGlobal::instance()==0)!");
lookupDriversNeeded = false;
clearError();
diff --git a/kexi/kexidb/utils.cpp b/kexi/kexidb/utils.cpp
index 594773af..d6652f6d 100644
--- a/kexi/kexidb/utils.cpp
+++ b/kexi/kexidb/utils.cpp
@@ -613,12 +613,12 @@ TQString KexiDB::formatNumberForVisibleDecimalPlaces(double value, int decimalPl
i--;
if (s[i]=='.') //remove '.'
i--;
- s = s.left(i+1).replace('.', KGlobal::locale()->decimalSymbol());
+ s = s.left(i+1).replace('.', TDEGlobal::locale()->decimalSymbol());
return s;
}
if (decimalPlaces == 0)
return TQString::number((int)value);
- return KGlobal::locale()->formatNumber(value, decimalPlaces);
+ return TDEGlobal::locale()->formatNumber(value, decimalPlaces);
}
KexiDB::Field::Type KexiDB::intToFieldType( int type )