summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/kexiactions/executeaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/kexiactions/executeaction.cpp')
-rw-r--r--kexi/plugins/macros/kexiactions/executeaction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/macros/kexiactions/executeaction.cpp b/kexi/plugins/macros/kexiactions/executeaction.cpp
index ccad645c..564b03c8 100644
--- a/kexi/plugins/macros/kexiactions/executeaction.cpp
+++ b/kexi/plugins/macros/kexiactions/executeaction.cpp
@@ -77,17 +77,17 @@ void ExecuteAction::activate(KSharedPtr<KoMacro::Context> context)
return;
}
- const TQString mimetype = TQString("kexi/%1").tqarg( context->variable("object")->variant().toString() );
+ const TQString mimetype = TQString("kexi/%1").arg( context->variable("object")->variant().toString() );
const TQString name = context->variable("name")->variant().toString();
KexiPart::Part* part = Kexi::partManager().partForMimeType(mimetype);
if(! part) {
- throw KoMacro::Exception(i18n("No such mimetype \"%1\"").tqarg(mimetype));
+ throw KoMacro::Exception(i18n("No such mimetype \"%1\"").arg(mimetype));
}
KexiPart::Item* item = mainWin()->project()->item(part->info(), name);
if(! item) {
- throw KoMacro::Exception(i18n("Failed to open part \"%1\" for mimetype \"%2\"").tqarg(name).tqarg(mimetype));
+ throw KoMacro::Exception(i18n("Failed to open part \"%1\" for mimetype \"%2\"").arg(name).arg(mimetype));
}
part->execute(item);