Commit 5074a4eb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

improve special notifier job

parent 0e2dd69e
...@@ -17,9 +17,11 @@ ...@@ -17,9 +17,11 @@
#include "specialnotifierjob.h" #include "specialnotifierjob.h"
#include <Akonadi/Contact/ContactSearchJob>
#include <KNotification> #include <KNotification>
SpecialNotifierJob::SpecialNotifierJob(QObject *parent) SpecialNotifierJob::SpecialNotifierJob(Akonadi::Item::Id id, QObject *parent)
: QObject(parent) : QObject(parent)
{ {
} }
...@@ -29,5 +31,10 @@ SpecialNotifierJob::~SpecialNotifierJob() ...@@ -29,5 +31,10 @@ SpecialNotifierJob::~SpecialNotifierJob()
} }
void SpecialNotifierJob::slotSearchJobFinished( KJob *job )
{
//TODO
}
#include "specialnotifierjob.moc" #include "specialnotifierjob.moc"
...@@ -18,14 +18,21 @@ ...@@ -18,14 +18,21 @@
#ifndef SPECIALNOTIFIERJOB_H #ifndef SPECIALNOTIFIERJOB_H
#define SPECIALNOTIFIERJOB_H #define SPECIALNOTIFIERJOB_H
#include <QObject> #include <QObject>
#include <Akonadi/Item>
class KJob;
class SpecialNotifierJob : public QObject class SpecialNotifierJob : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit SpecialNotifierJob(QObject *parent = 0); explicit SpecialNotifierJob(Akonadi::Item::Id id, QObject *parent = 0);
~SpecialNotifierJob(); ~SpecialNotifierJob();
private Q_SLOTS:
void slotSearchJobFinished( KJob *job );
}; };
#endif // SPECIALNOTIFIERJOB_H #endif // SPECIALNOTIFIERJOB_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment