Changed method name

svn path=/trunk/KDE/kdelibs/; revision=1093946
This commit is contained in:
Ivan Čukić 2010-02-21 19:30:11 +00:00
parent da3fcc1b67
commit 2e5064ca2f
3 changed files with 4 additions and 3 deletions

View File

@ -185,7 +185,7 @@ void AbstractRunner::clearActions()
d->actions.clear(); d->actions.clear();
} }
QMimeData * AbstractRunner::setupMimeDataForMatch(const QueryMatch *match) QMimeData * AbstractRunner::mimeDataForMatch(const QueryMatch *match)
{ {
return 0; return 0;
} }

View File

@ -447,8 +447,9 @@ class PLASMA_EXPORT AbstractRunner : public QObject
/** /**
* Reimplement this slot if you want your runner * Reimplement this slot if you want your runner
* to support serialization and drag and drop * to support serialization and drag and drop
* @since 4.5
*/ */
QMimeData * setupMimeDataForMatch(const Plasma::QueryMatch *match); QMimeData * mimeDataForMatch(const Plasma::QueryMatch *match);
private: private:
friend class RunnerScript; friend class RunnerScript;

View File

@ -554,7 +554,7 @@ QMimeData * RunnerManager::mimeDataForMatch(const QueryMatch &match) const
QMimeData * mimeData; QMimeData * mimeData;
if (runner && QMetaObject::invokeMethod( if (runner && QMetaObject::invokeMethod(
runner, runner,
"setupMimeDataForMatch", Qt::DirectConnection, "mimeDataForMatch", Qt::DirectConnection,
Q_RETURN_ARG(QMimeData*, mimeData), Q_RETURN_ARG(QMimeData*, mimeData),
Q_ARG(const Plasma::QueryMatch *, & match) Q_ARG(const Plasma::QueryMatch *, & match)
)) { )) {