summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexidb/kexidbfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/kexidb/kexidbfield.cpp')
-rw-r--r--kexi/plugins/scripting/kexidb/kexidbfield.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbfield.cpp b/kexi/plugins/scripting/kexidb/kexidbfield.cpp
index 949b5e1a..1f5a51de 100644
--- a/kexi/plugins/scripting/kexidb/kexidbfield.cpp
+++ b/kexi/plugins/scripting/kexidb/kexidbfield.cpp
@@ -87,19 +87,19 @@ KexiDBField::~KexiDBField()
{
}
-const QString KexiDBField::getClassName() const
+const TQString KexiDBField::getClassName() const
{
return "Kross::KexiDB::KexiDBField";
}
-const QString KexiDBField::type() { return m_field->typeString(); }
-void KexiDBField::setType(const QString type) { m_field->setType( ::KexiDB::Field::typeForString(type) ); }
+const TQString KexiDBField::type() { return m_field->typeString(); }
+void KexiDBField::setType(const TQString type) { m_field->setType( ::KexiDB::Field::typeForString(type) ); }
-const QString KexiDBField::subType() { return m_field->subType(); }
-void KexiDBField::setSubType(const QString& subtype) { m_field->setSubType(subtype); }
+const TQString KexiDBField::subType() { return m_field->subType(); }
+void KexiDBField::setSubType(const TQString& subtype) { m_field->setSubType(subtype); }
-const QString KexiDBField::variantType() { return QVariant::typeToName( m_field->variantType() ); }
-const QString KexiDBField::typeGroup() { return m_field->typeGroupString(); }
+const TQString KexiDBField::variantType() { return TQVariant::typeToName( m_field->variantType() ); }
+const TQString KexiDBField::typeGroup() { return m_field->typeGroupString(); }
bool KexiDBField::isAutoInc() { return m_field->isAutoIncrement(); }
void KexiDBField::setAutoInc(bool autoinc) { m_field->setAutoIncrement(autoinc); }
@@ -125,14 +125,14 @@ void KexiDBField::setIndexed(bool indexed) { m_field->setIndexed(indexed); }
bool KexiDBField::isUnsigned() { return m_field->isUnsigned(); }
void KexiDBField::setUnsigned(bool isunsigned) { m_field->setUnsigned(isunsigned); }
-const QString KexiDBField::name() { return m_field->name(); }
-void KexiDBField::setName(const QString& name) { m_field->setName(name); }
+const TQString KexiDBField::name() { return m_field->name(); }
+void KexiDBField::setName(const TQString& name) { m_field->setName(name); }
-const QString KexiDBField::caption() { return m_field->caption(); }
-void KexiDBField::setCaption(const QString& caption) { m_field->setCaption(caption); }
+const TQString KexiDBField::caption() { return m_field->caption(); }
+void KexiDBField::setCaption(const TQString& caption) { m_field->setCaption(caption); }
-const QString KexiDBField::description() { return m_field->description(); }
-void KexiDBField::setDescription(const QString& desc) { m_field->setDescription(desc); }
+const TQString KexiDBField::description() { return m_field->description(); }
+void KexiDBField::setDescription(const TQString& desc) { m_field->setDescription(desc); }
uint KexiDBField::length() { return m_field->length(); }
void KexiDBField::setLength(uint length) { m_field->setLength(length); }
@@ -143,5 +143,5 @@ void KexiDBField::setPrecision(uint precision) { m_field->setPrecision(precision
uint KexiDBField::width() { return m_field->width(); }
void KexiDBField::setWidth(uint width) { m_field->setWidth(width); }
-QVariant KexiDBField::defaultValue() { return m_field->defaultValue(); }
-void KexiDBField::setDefaultValue(const QVariant& defaultvalue) { m_field->setDefaultValue(defaultvalue); }
+TQVariant KexiDBField::defaultValue() { return m_field->defaultValue(); }
+void KexiDBField::setDefaultValue(const TQVariant& defaultvalue) { m_field->setDefaultValue(defaultvalue); }