diff --git a/private/storagethread.cpp b/private/storagethread.cpp index 58a6c7c58..417e2ff66 100644 --- a/private/storagethread.cpp +++ b/private/storagethread.cpp @@ -83,7 +83,7 @@ void StorageThread::initializeDb(StorageJob *caller) m_db.transaction(); } -void StorageThread::save(QWeakPointer wcaller, const QVariantMap ¶ms) +void StorageThread::save(QWeakPointer wcaller, const QVariantHash ¶ms) { StorageJob *caller = wcaller.data(); if (!caller) { @@ -185,7 +185,7 @@ void StorageThread::save(QWeakPointer wcaller, const QVariantMap &pa emit newResult(caller, true); } -void StorageThread::retrieve(QWeakPointer wcaller, const QVariantMap ¶ms) +void StorageThread::retrieve(QWeakPointer wcaller, const QVariantHash ¶ms) { StorageJob *caller = wcaller.data(); if (!caller) { @@ -259,7 +259,7 @@ void StorageThread::retrieve(QWeakPointer wcaller, const QVariantMap emit newResult(caller, result); } -void StorageThread::deleteEntry(QWeakPointer wcaller, const QVariantMap ¶ms) +void StorageThread::deleteEntry(QWeakPointer wcaller, const QVariantHash ¶ms) { StorageJob *caller = wcaller.data(); if (!caller) { @@ -289,7 +289,7 @@ void StorageThread::deleteEntry(QWeakPointer wcaller, const QVariant emit newResult(caller, success); } -void StorageThread::expire(QWeakPointer wcaller, const QVariantMap ¶ms) +void StorageThread::expire(QWeakPointer wcaller, const QVariantHash ¶ms) { StorageJob *caller = wcaller.data(); if (!caller) { diff --git a/private/storagethread_p.h b/private/storagethread_p.h index 5a67e8f90..bfbcc101b 100644 --- a/private/storagethread_p.h +++ b/private/storagethread_p.h @@ -42,10 +42,10 @@ public: static Plasma::StorageThread *self(); public Q_SLOTS: - void save(QWeakPointer caller, const QVariantMap ¶meters); - void retrieve(QWeakPointer caller, const QVariantMap ¶meters); - void deleteEntry(QWeakPointer caller, const QVariantMap ¶meters); - void expire(QWeakPointer caller, const QVariantMap ¶meters); + void save(QWeakPointer caller, const QVariantHash ¶meters); + void retrieve(QWeakPointer caller, const QVariantHash ¶meters); + void deleteEntry(QWeakPointer caller, const QVariantHash ¶meters); + void expire(QWeakPointer caller, const QVariantHash ¶meters); Q_SIGNALS: void newResult(StorageJob* caller, const QVariant &result);