summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/kexiactions
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/kexiactions')
-rw-r--r--kexi/plugins/macros/kexiactions/datatableaction.cpp2
-rw-r--r--kexi/plugins/macros/kexiactions/objectnamevariable.h2
-rw-r--r--kexi/plugins/macros/kexiactions/openaction.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/macros/kexiactions/datatableaction.cpp b/kexi/plugins/macros/kexiactions/datatableaction.cpp
index fff0eaf5..d2eb1df1 100644
--- a/kexi/plugins/macros/kexiactions/datatableaction.cpp
+++ b/kexi/plugins/macros/kexiactions/datatableaction.cpp
@@ -93,7 +93,7 @@ namespace KexiMacro {
//this->appendChild( KSharedPtr<KoMacro::Variable>(new KoMacro::Variable(name)) );
}
const TQString n =
- namelist.tqcontains(partitem)
+ namelist.contains(partitem)
? partitem
: namelist.count() > 0 ? namelist[0] : "";
this->setVariant(n);
diff --git a/kexi/plugins/macros/kexiactions/objectnamevariable.h b/kexi/plugins/macros/kexiactions/objectnamevariable.h
index e9ffa949..419e2b00 100644
--- a/kexi/plugins/macros/kexiactions/objectnamevariable.h
+++ b/kexi/plugins/macros/kexiactions/objectnamevariable.h
@@ -63,7 +63,7 @@ namespace KexiMacro {
for(TQStringList::Iterator it = namelist.begin(); it != namelist.end(); ++it)
this->appendChild( KSharedPtr<KoMacro::Variable>(new KoMacro::Variable(*it)) );
- this->setVariant( (name.isNull() || ! namelist.tqcontains(name)) ? namelist[0] : name );
+ this->setVariant( (name.isNull() || ! namelist.contains(name)) ? namelist[0] : name );
kdDebug()<<"##################### KexiActions::ObjectNameVariable() objectname="<<objectname<<" name="<<name<<" value="<<this->variant()<<" tqchildren="<<namelist<<endl;
}
diff --git a/kexi/plugins/macros/kexiactions/openaction.cpp b/kexi/plugins/macros/kexiactions/openaction.cpp
index 2e43116f..9cd2e664 100644
--- a/kexi/plugins/macros/kexiactions/openaction.cpp
+++ b/kexi/plugins/macros/kexiactions/openaction.cpp
@@ -66,7 +66,7 @@ namespace KexiMacro {
this->tqchildren().append( KSharedPtr<KoMacro::Variable>(new KoMacro::Variable(*it)) );
}
const TQString n =
- namelist.tqcontains(viewname)
+ namelist.contains(viewname)
? viewname
: namelist.count() > 0 ? namelist[0] : "";