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 /tdeparts/componentfactory.h | |
parent | 59d153016be1e09cb31cdb18bef0a649acfc6292 (diff) | |
download | tdelibs-0c9d97065a3d6ceb12d687555a1a33d90db96238.tar.gz tdelibs-0c9d97065a3d6ceb12d687555a1a33d90db96238.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'tdeparts/componentfactory.h')
-rw-r--r-- | tdeparts/componentfactory.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeparts/componentfactory.h b/tdeparts/componentfactory.h index 6d1b7876b..20b3ebee8 100644 --- a/tdeparts/componentfactory.h +++ b/tdeparts/componentfactory.h @@ -307,7 +307,7 @@ namespace KParts * \endcode * * @param serviceType the type of service for which to find a plugin - * @param constraint an optional constraint to pass to the trader (see TDEIO::KTrader) + * @param constraint an optional constraint to pass to the trader (see TDEIO::TDETrader) * @param parent the parent object for the part itself * @param name the name that will be given to the part * @param args A list of string arguments, passed to the factory and possibly @@ -325,7 +325,7 @@ namespace KParts const TQStringList &args = TQStringList(), int *error = 0 ) { - KTrader::OfferList offers = KTrader::self()->query( serviceType, constraint ); + TDETrader::OfferList offers = TDETrader::self()->query( serviceType, constraint ); if ( offers.isEmpty() ) { if ( error ) @@ -354,7 +354,7 @@ namespace KParts * \endcode * * @param serviceType the type of service for which to find a part, e.g. a mimetype - * @param constraint an optional constraint to pass to the trader (see KTrader) + * @param constraint an optional constraint to pass to the trader (see TDETrader) * @param parentWidget the parent widget, will be set as the parent of the part's widget * @param widgetName the name that will be given to the part's widget * @param parent the parent object for the part itself @@ -376,7 +376,7 @@ namespace KParts const TQStringList &args = TQStringList(), int *error = 0 ) { - KTrader::OfferList offers = KTrader::self()->query( serviceType, TQString::fromLatin1("KParts/ReadOnlyPart"), constraint, TQString::null ); + TDETrader::OfferList offers = TDETrader::self()->query( serviceType, TQString::fromLatin1("KParts/ReadOnlyPart"), constraint, TQString::null ); if ( offers.isEmpty() ) { if ( error ) |