summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/kexiactions/objectvariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/kexiactions/objectvariable.h')
-rw-r--r--kexi/plugins/macros/kexiactions/objectvariable.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/plugins/macros/kexiactions/objectvariable.h b/kexi/plugins/macros/kexiactions/objectvariable.h
index b61f24e3..83a7a471 100644
--- a/kexi/plugins/macros/kexiactions/objectvariable.h
+++ b/kexi/plugins/macros/kexiactions/objectvariable.h
@@ -52,7 +52,7 @@ namespace KexiMacro {
DataExport = 4
};
- ObjectVariable(ACTIONIMPL* actionimpl, int conditions = VisibleInNav, const QString& objectname = QString::null)
+ ObjectVariable(ACTIONIMPL* actionimpl, int conditions = VisibleInNav, const TQString& objectname = TQString())
: KexiVariable<ACTIONIMPL>(actionimpl, "object", i18n("Object"))
{
KexiPart::PartInfoList* parts = Kexi::partManager().partInfoList();
@@ -66,16 +66,16 @@ namespace KexiMacro {
if(conditions & DataExport && ! info->isDataExportSupported())
continue;
- const QString name = info->objectName(); //info->groupName();
+ const TQString name = info->objectName(); //info->groupName();
this->appendChild( KSharedPtr<KoMacro::Variable>(new KoMacro::Variable(name)) );
}
if(! objectname.isNull())
this->setVariant( objectname );
- else if(this->children().count() > 0)
- this->setVariant( this->children()[0]->variant() );
+ else if(this->tqchildren().count() > 0)
+ this->setVariant( this->tqchildren()[0]->variant() );
else
- this->setVariant( QString::null );
+ this->setVariant( TQString() );
kdDebug()<<"##################### KexiActions::ObjectVariable() variant="<<this->variant()<<endl;
}