diff options
Diffstat (limited to 'kexi/kexidb/drivers/sqlite/sqlitealter.cpp')
-rw-r--r-- | kexi/kexidb/drivers/sqlite/sqlitealter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/kexidb/drivers/sqlite/sqlitealter.cpp b/kexi/kexidb/drivers/sqlite/sqlitealter.cpp index cc72e48a..c1903efa 100644 --- a/kexi/kexidb/drivers/sqlite/sqlitealter.cpp +++ b/kexi/kexidb/drivers/sqlite/sqlitealter.cpp @@ -24,7 +24,7 @@ #include <kstaticdeleter.h> -#include <qmap.h> +#include <tqmap.h> using namespace KexiDB; @@ -33,15 +33,15 @@ enum SQLiteTypeAffinity { //as defined here: 2.1 Determination Of Column Affinit }; //! helper for affinityForType() -static KStaticDeleter< QMap<int,int> > KexiDB_SQLite_affinityForType_deleter; -QMap<int,int> *KexiDB_SQLite_affinityForType = 0; +static KStaticDeleter< TQMap<int,int> > KexiDB_SQLite_affinityForType_deleter; +TQMap<int,int> *KexiDB_SQLite_affinityForType = 0; //! \return SQLite type affinity for \a type //! See doc/dev/alter_table_type_conversions.ods, page 2 for more info static SQLiteTypeAffinity affinityForType(Field::Type type) { if (!KexiDB_SQLite_affinityForType) { - KexiDB_SQLite_affinityForType_deleter.setObject( KexiDB_SQLite_affinityForType, new QMap<int,int>() ); + KexiDB_SQLite_affinityForType_deleter.setObject( KexiDB_SQLite_affinityForType, new TQMap<int,int>() ); KexiDB_SQLite_affinityForType->insert(Field::Byte, IntAffinity); KexiDB_SQLite_affinityForType->insert(Field::ShortInteger, IntAffinity); KexiDB_SQLite_affinityForType->insert(Field::Integer, IntAffinity); @@ -60,7 +60,7 @@ static SQLiteTypeAffinity affinityForType(Field::Type type) } tristate SQLiteConnection::drv_changeFieldProperty(TableSchema &table, Field& field, - const QString& propertyName, const QVariant& value) + const TQString& propertyName, const TQVariant& value) { /* if (propertyName=="name") { |