Changed method name
svn path=/trunk/KDE/kdelibs/; revision=1093946
This commit is contained in:
parent
da3fcc1b67
commit
2e5064ca2f
@ -185,7 +185,7 @@ void AbstractRunner::clearActions()
|
||||
d->actions.clear();
|
||||
}
|
||||
|
||||
QMimeData * AbstractRunner::setupMimeDataForMatch(const QueryMatch *match)
|
||||
QMimeData * AbstractRunner::mimeDataForMatch(const QueryMatch *match)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -447,8 +447,9 @@ class PLASMA_EXPORT AbstractRunner : public QObject
|
||||
/**
|
||||
* Reimplement this slot if you want your runner
|
||||
* to support serialization and drag and drop
|
||||
* @since 4.5
|
||||
*/
|
||||
QMimeData * setupMimeDataForMatch(const Plasma::QueryMatch *match);
|
||||
QMimeData * mimeDataForMatch(const Plasma::QueryMatch *match);
|
||||
|
||||
private:
|
||||
friend class RunnerScript;
|
||||
|
@ -554,7 +554,7 @@ QMimeData * RunnerManager::mimeDataForMatch(const QueryMatch &match) const
|
||||
QMimeData * mimeData;
|
||||
if (runner && QMetaObject::invokeMethod(
|
||||
runner,
|
||||
"setupMimeDataForMatch", Qt::DirectConnection,
|
||||
"mimeDataForMatch", Qt::DirectConnection,
|
||||
Q_RETURN_ARG(QMimeData*, mimeData),
|
||||
Q_ARG(const Plasma::QueryMatch *, & match)
|
||||
)) {
|
||||
|
Loading…
Reference in New Issue
Block a user