summaryrefslogtreecommitdiffstats
path: root/tdeio/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tests')
-rw-r--r--tdeio/tests/tdesycocatest.cpp4
-rw-r--r--tdeio/tests/tdetradertest.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/tdeio/tests/tdesycocatest.cpp b/tdeio/tests/tdesycocatest.cpp
index 7166f3e35..5990d1225 100644
--- a/tdeio/tests/tdesycocatest.cpp
+++ b/tdeio/tests/tdesycocatest.cpp
@@ -182,9 +182,9 @@ int main(int argc, char *argv[])
}
debug("Querying trader for Konqueror/Plugin");
- KTrader::OfferList traderoffers = KTrader::self()->query("Konqueror/Plugin");
+ TDETrader::OfferList traderoffers = TDETrader::self()->query("Konqueror/Plugin");
debug(TQString("got %1 offers").arg(traderoffers.count()));
- KTrader::OfferList::Iterator trit = traderoffers.begin();
+ TDETrader::OfferList::Iterator trit = traderoffers.begin();
for ( ; trit != traderoffers.end() ; trit++ )
{
debug((*trit)->name());
diff --git a/tdeio/tests/tdetradertest.cpp b/tdeio/tests/tdetradertest.cpp
index c0092f76d..9ce82c49f 100644
--- a/tdeio/tests/tdetradertest.cpp
+++ b/tdeio/tests/tdetradertest.cpp
@@ -33,7 +33,7 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv )
{
- TDECmdLineArgs::init( argc, argv, "tdetradertest", "KTradertest", "A KTrader testing tool", "0.0" );
+ TDECmdLineArgs::init( argc, argv, "tdetradertest", "TDETradertest", "A TDETrader testing tool", "0.0" );
TDECmdLineArgs::addCmdLineOptions( options );
@@ -62,13 +62,13 @@ int main( int argc, char **argv )
printf( "constraint is : %s\n", constraint.local8Bit().data() );
printf( "preference is : %s\n", preference.local8Bit().data() );
- KTrader::OfferList offers = KTrader::self()->query( query, genericServiceType, constraint, preference );
+ TDETrader::OfferList offers = TDETrader::self()->query( query, genericServiceType, constraint, preference );
printf("got %d offers.\n", offers.count());
int i = 0;
- KTrader::OfferList::ConstIterator it = offers.begin();
- KTrader::OfferList::ConstIterator end = offers.end();
+ TDETrader::OfferList::ConstIterator it = offers.begin();
+ TDETrader::OfferList::ConstIterator end = offers.end();
for (; it != end; ++it, ++i )
{
printf("---- Offer %d ----\n", i);