summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/utils.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kexi/kexidb/utils.h
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kexi/kexidb/utils.h')
-rw-r--r--kexi/kexidb/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/utils.h b/kexi/kexidb/utils.h
index 334ea20c..ec807d34 100644
--- a/kexi/kexidb/utils.h
+++ b/kexi/kexidb/utils.h
@@ -454,11 +454,11 @@ namespace KexiDB
return TQString::fromUtf8(data, length);
if (f->isIntegerType()) {
if (f->type()==KexiDB::Field::BigInteger)
- return TQVariant( TQString::fromLatin1(data, length).toLongLong() );
- return TQVariant( TQString::fromLatin1(data, length).toInt() );
+ return TQVariant( TQString::tqfromLatin1(data, length).toLongLong() );
+ return TQVariant( TQString::tqfromLatin1(data, length).toInt() );
}
if (f->isFPNumericType())
- return TQString::fromLatin1(data, length).toDouble();
+ return TQString::tqfromLatin1(data, length).toDouble();
if (f->type()==KexiDB::Field::BLOB) {
TQByteArray ba;
ba.duplicate(data, length);