diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 00:15:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 00:15:51 -0600 |
commit | f7055674768fa7f0267da4a14b9061e60ebab3fc (patch) | |
tree | 9cf91b2040d16220234c24c945e950952c359832 /kexi/plugins/macros/tests/actiontests.cpp | |
parent | af2ab9c9888013e42237f71166eeafe5e988da0f (diff) | |
download | koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.tar.gz koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.zip |
Rename KShared
Diffstat (limited to 'kexi/plugins/macros/tests/actiontests.cpp')
-rw-r--r-- | kexi/plugins/macros/tests/actiontests.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/macros/tests/actiontests.cpp b/kexi/plugins/macros/tests/actiontests.cpp index 26e38b32..912d9ff3 100644 --- a/kexi/plugins/macros/tests/actiontests.cpp +++ b/kexi/plugins/macros/tests/actiontests.cpp @@ -73,11 +73,11 @@ namespace KoMacroTest { TQDomDocument* doomdocument; - KSharedPtr<KoMacro::Macro> macro; + TDESharedPtr<KoMacro::Macro> macro; - TQValueList< KSharedPtr<KoMacro::MacroItem> > items; + TQValueList< TDESharedPtr<KoMacro::MacroItem> > items; - KSharedPtr<KoMacro::Action> actionptr; + TDESharedPtr<KoMacro::Action> actionptr; Private() : xmlguiclient(0) @@ -90,7 +90,7 @@ namespace KoMacroTest { }; } -typedef TQValueList< KSharedPtr<KoMacro::MacroItem> >::size_type sizetype; +typedef TQValueList< TDESharedPtr<KoMacro::MacroItem> >::size_type sizetype; ActionTests::ActionTests() @@ -147,7 +147,7 @@ void ActionTests::testMacro() kdDebug()<<"===================== testMacro() ======================" << endl; //fetch Items and .. - //TQValueList< KSharedPtr<KoMacro::MacroItem> >& items = d->macro->items(); + //TQValueList< TDESharedPtr<KoMacro::MacroItem> >& items = d->macro->items(); //... check that there is one KOMACROTEST_XASSERT( d->items.count(), sizetype(0) ); @@ -158,7 +158,7 @@ void ActionTests::testAction() kdDebug()<<"===================== testAction() ======================" << endl; //get it - //KSharedPtr<KoMacro::Action> actionptr = d->items[0]->action(); + //TDESharedPtr<KoMacro::Action> actionptr = d->items[0]->action(); //-> check that it is not null KOMACROTEST_XASSERT(sizetype(d->actionptr.data()), sizetype(0)); } @@ -167,7 +167,7 @@ void ActionTests::testText() { kdDebug()<<"===================== testText() ======================" << endl; - //KSharedPtr<KoMacro::Action> actionptr = items[0]->action(); + //TDESharedPtr<KoMacro::Action> actionptr = items[0]->action(); const TQString leetSpeech = "']['3 $']['"; @@ -184,7 +184,7 @@ void ActionTests::testName() { kdDebug()<<"===================== testName() ======================" << endl; - //KSharedPtr<KoMacro::Action> actionptr = items[0]->action(); + //TDESharedPtr<KoMacro::Action> actionptr = items[0]->action(); //check name KOMACROTEST_ASSERT(d->actionptr->name(),TQString("testaction")); @@ -198,7 +198,7 @@ void ActionTests::testComment() { kdDebug()<<"===================== testComment() ======================" << endl; - //KSharedPtr<KoMacro::Action> actionptr = items[0]->action(); + //TDESharedPtr<KoMacro::Action> actionptr = items[0]->action(); //check comment KOMACROTEST_XASSERT(d->actionptr->comment(),TQString("No Comment!")); |