summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/tests/xmlhandlertests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/tests/xmlhandlertests.cpp')
-rw-r--r--kexi/plugins/macros/tests/xmlhandlertests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/macros/tests/xmlhandlertests.cpp b/kexi/plugins/macros/tests/xmlhandlertests.cpp
index a08ff33d..29c53831 100644
--- a/kexi/plugins/macros/tests/xmlhandlertests.cpp
+++ b/kexi/plugins/macros/tests/xmlhandlertests.cpp
@@ -177,7 +177,7 @@ void XMLHandlerTests::testCorrectDomElement()
// Test the Compare-method when a Variable will change, it must fail.
macro->items().first()->variable("teststring")->setVariant("bla");
- isvariableok.tqreplace("teststring",false);
+ isvariableok.replace("teststring",false);
assertMacroContentEqToXML(macro,elem,false,true,isvariableok);
}
@@ -568,12 +568,12 @@ void XMLHandlerTests::assertMacroContentEqToXML(const KSharedPtr<KoMacro::Macro>
while ( ! varnode.isNull()) {
const TQDomElement varelem = varnode.toElement();
- const KSharedPtr<KoMacro::Variable> varitem = mvariables.tqfind(varelem.attribute("name")).data();
+ const KSharedPtr<KoMacro::Variable> varitem = mvariables.find(varelem.attribute("name")).data();
//3.comparison - Is the content of the Variable
// in the MacroItem and and item equal?
{
- const bool var = *isvariableok.tqfind(varelem.attribute("name"));
+ const bool var = *isvariableok.find(varelem.attribute("name"));
if( ! var ) {
KOMACROTEST_XASSERT(varitem->variant() == TQVariant(varelem.text()), !var);
kdDebug() << "The content of the Variable: " << varitem->name()