123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef HARMATTANFEED_H
- #define HARMATTANFEED_H
- #include <QObject>
- #include <QStringList>
- #include <QDateTime>
- #include <QUrl>
- #include <QDebug>
- #ifdef MEEGO_EDITION_HARMATTAN
- #include <meventfeed.h>
- #endif
- class HarmattanFeed : public QObject
- {
- Q_OBJECT
- Q_PROPERTY( QString icon READ getIcon WRITE setIcon )
- Q_PROPERTY( QString title READ getTitle WRITE setTitle )
- Q_PROPERTY( QString body READ getBody WRITE setBody )
- QString m_icon;
- QString m_title;
- QString m_body;
- public:
- explicit HarmattanFeed(QObject *parent = 0);
-
- Q_INVOKABLE void pushEvent();
- QString getIcon() const { return m_icon; }
- QString getTitle() const { return m_title; }
- QString getBody() const { return m_body; }
- signals:
-
- public slots:
- void setIcon(QString arg) { m_icon = arg; }
- void setTitle(QString arg) { m_title = arg; }
- void setBody(QString arg) { m_body = arg; }
- };
- #endif // HARMATTANFEED_H
|