diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:51:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:51:32 -0600 |
commit | 0c9d97065a3d6ceb12d687555a1a33d90db96238 (patch) | |
tree | 4305105967fc03b06139b57871d5ab6d2360e75b /tdeio/tests/tdetradertest.cpp | |
parent | 59d153016be1e09cb31cdb18bef0a649acfc6292 (diff) | |
download | tdelibs-0c9d97065a3d6ceb12d687555a1a33d90db96238.tar.gz tdelibs-0c9d97065a3d6ceb12d687555a1a33d90db96238.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'tdeio/tests/tdetradertest.cpp')
-rw-r--r-- | tdeio/tests/tdetradertest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |