diff options
Diffstat (limited to 'kexi/plugins/macros/tests/testaction.cpp')
-rw-r--r-- | kexi/plugins/macros/tests/testaction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/macros/tests/testaction.cpp b/kexi/plugins/macros/tests/testaction.cpp index 4063aa1bb..845acd5ff 100644 --- a/kexi/plugins/macros/tests/testaction.cpp +++ b/kexi/plugins/macros/tests/testaction.cpp @@ -33,17 +33,17 @@ using namespace KoMacroTest; TestAction::TestAction() : KoMacro::Action("testaction", "Test") { - setVariable("teststring", "Stringtest", QString("testString")); + setVariable("teststring", "Stringtest", TQString("testString")); setVariable("testint", "Inttest", int(0)); setVariable("testdouble", "Doubletest", double(0.5)); - setVariable("testbool", "Booltest", QVariant(true,0)); + setVariable("testbool", "Booltest", TQVariant(true,0)); } TestAction::~TestAction() { } -bool TestAction::notifyUpdated(KSharedPtr<KoMacro::MacroItem> macroitem, const QString& name) +bool TestAction::notifyUpdated(KSharedPtr<KoMacro::MacroItem> macroitem, const TQString& name) { Q_UNUSED(macroitem); Q_UNUSED(name); @@ -53,7 +53,7 @@ bool TestAction::notifyUpdated(KSharedPtr<KoMacro::MacroItem> macroitem, const Q void TestAction::activate(KSharedPtr<KoMacro::Context> context) { kdDebug() << "TestAction::activate(KSharedPtr<Context>)" << endl; - const QString teststring = context->variable("teststring")->variant().toString(); + const TQString teststring = context->variable("teststring")->variant().toString(); const int testint = context->variable("testint")->variant().toInt(); const bool testbool = context->variable("testbool")->variant().toBool(); } |