summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp')
-rw-r--r--kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp b/kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp
index f36bf0b0..4e07e166 100644
--- a/kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp
+++ b/kexi/plugins/scripting/kexidb/kexidbfieldlist.cpp
@@ -53,7 +53,7 @@ KexiDBFieldList::~KexiDBFieldList()
{
}
-const QString KexiDBFieldList::getClassName() const
+const TQString KexiDBFieldList::getClassName() const
{
return "Kross::KexiDB::KexiDBFieldList";
}
@@ -67,7 +67,7 @@ KexiDBField* KexiDBFieldList::field(uint index) {
return field ? new KexiDBField(field) : 0;
}
-KexiDBField* KexiDBFieldList::fieldByName(const QString& name) {
+KexiDBField* KexiDBFieldList::fieldByName(const TQString& name) {
::KexiDB::Field* field = m_fieldlist->field(name);
return field ? new KexiDBField(field) : 0;
}
@@ -77,7 +77,7 @@ Kross::Api::List* KexiDBFieldList::fields() {
}
bool KexiDBFieldList::hasField(KexiDBField* field) { return m_fieldlist->hasField( field->field() ); }
-const QStringList KexiDBFieldList::names() const { return m_fieldlist->names(); }
+const TQStringList KexiDBFieldList::names() const { return m_fieldlist->names(); }
void KexiDBFieldList::addField(KexiDBField* field) { m_fieldlist->addField( field->field() ); }
void KexiDBFieldList::insertField(uint index, KexiDBField* field) { m_fieldlist->insertField(index, field->field()); }
void KexiDBFieldList::removeField(KexiDBField* field) { m_fieldlist->removeField( field->field() ); }
@@ -90,9 +90,9 @@ void KexiDBFieldList::setFields(KexiDBFieldList* fieldlist) {
m_fieldlist->addField( it.current() );
}
-KexiDBFieldList* KexiDBFieldList::subList(QValueList<QVariant> list) {
- QValueList<QVariant>::ConstIterator it( list.constBegin() ), end( list.constEnd() );
- QStringList sl;
+KexiDBFieldList* KexiDBFieldList::subList(TQValueList<TQVariant> list) {
+ TQValueList<TQVariant>::ConstIterator it( list.constBegin() ), end( list.constEnd() );
+ TQStringList sl;
for(; it != end; ++it) sl.append( (*it).toString() );
::KexiDB::FieldList* fl = m_fieldlist->subList(sl);
return fl ? new Kross::KexiDB::KexiDBFieldList(fl) : 0;