summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexidb/kexidbfield.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/scripting/kexidb/kexidbfield.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); }