163ff74a29b7f40b29a8eb785a35c19a9dd11f54
[nnokia.git] / smshandler.h
1 #ifndef SMSHANDLER_H
2 #define SMSHANDLER_H
3
4 #include <QObject>
5 #include <QMessageManager>
6 #include "nshooter.h"
7
8 using namespace QtMobility;
9
10 class SmsHandler : public QObject
11 {
12     Q_OBJECT
13 public:
14     explicit SmsHandler(QObject *parent = 0);
15
16 signals:
17
18 public slots:
19     void slot_message_received(const QMessageId&, const QMessageManager::NotificationFilterIdSet&);
20     void slot_imageReady(const QString &);
21
22 protected:
23     QtMobility::QMessageManager *msgManager;
24     NShooter *nshooter;
25 //    QTimer *timer;
26     QMessageAddress remoteAddr;
27
28 };
29
30 #endif // SMSHANDLER_H