Plasma5Support
storage.cpp
26StorageJob::StorageJob(const QString &destination, const QString &operation, const QVariantMap ¶meters, QObject *parent)
31 connect(Plasma5Support::StorageThread::self(), &Plasma5Support::StorageThread::newResult, this, &StorageJob::resultSlot);
67 QMetaObject::invokeMethod(Plasma5Support::StorageThread::self(), "save", Qt::QueuedConnection, Q_ARG(QPointer<StorageJob>, me), Q_ARG(QVariantMap, params));
69 QMetaObject::invokeMethod(Plasma5Support::StorageThread::self(), "retrieve", Qt::QueuedConnection, Q_ARG(QPointer<StorageJob>, me), Q_ARG(QVariantMap, params));
77 QMetaObject::invokeMethod(Plasma5Support::StorageThread::self(), "expire", Qt::QueuedConnection, Q_ARG(QPointer<StorageJob>, me), Q_ARG(QVariantMap, params));
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QVariantMap
QObject * parent() const const
bool isEmpty() const const
QueuedConnection
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QMap< QString, QVariant > toMap() const const
int userType() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.