get rid of deprecated methods

This commit is contained in:
Aaron Seigo 2011-05-26 23:02:15 +02:00
parent 060ef1757b
commit ef5e0a8884
2 changed files with 0 additions and 20 deletions

View File

@ -267,11 +267,6 @@ void AbstractRunner::setIgnoredTypes(RunnerContext::Types types)
d->blackListed = types;
}
KService::List AbstractRunner::serviceQuery(const QString &serviceType, const QString &constraint) const
{
return KServiceTypeTrader::self()->query(serviceType, constraint);
}
QMutex* AbstractRunner::bigLock()
{
return s_bigLock;

View File

@ -331,21 +331,6 @@ class PLASMA_EXPORT AbstractRunner : public QObject
*/
void setPriority(Priority newPriority);
/**
* @deprecated
* A blocking method to do queries of installed Services which can provide
* a measure of safety for runners running their own threads. This should
* be used instead of calling KServiceTypeTrader::query(..) directly.
*
* @arg serviceType a service type like "Plasma/Applet" or "KFilePlugin"
* @arg constraint a constraint to limit the choices returned.
* @see KServiceTypeTrader::query(const QString&, const QString&)
*
* @return a list of services that satisfy the query.
*/
KService::List serviceQuery(const QString &serviceType,
const QString &constraint = QString()) const;
/**
* A given match can have more than action that can be performed on it.
* For example, a song match returned by a music player runner can be queued,