From 6662f40aff76e0700d82237261774758981bf784 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 21 Apr 2015 00:47:30 +0200 Subject: forward some types of notification icons --- saltoqd/cardmanageradaptor.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 saltoqd/cardmanageradaptor.h (limited to 'saltoqd/cardmanageradaptor.h') diff --git a/saltoqd/cardmanageradaptor.h b/saltoqd/cardmanageradaptor.h new file mode 100644 index 0000000..e0f613d --- /dev/null +++ b/saltoqd/cardmanageradaptor.h @@ -0,0 +1,30 @@ +#ifndef CARDMANAGERADAPTOR_H +#define CARDMANAGERADAPTOR_H + +#include +#include +#include +#include + +#include "cardmanager.h" + +class CardManagerAdaptor : public QDBusAbstractAdaptor +{ + Q_OBJECT + Q_CLASSINFO("D-Bus Interface", "com.javispedro.saltoq.CardManager") + +public: + explicit CardManagerAdaptor(CardManager *parent = 0); + +signals: + +public slots: + QDBusObjectPath CreateDeck(const QString &application, const QDBusMessage &msg); + +private: + QDBusConnection _conn; + CardManager *_mgr; + QHash _decks; +}; + +#endif // CARDMANAGERADAPTOR_H -- cgit v1.2.3