equal
deleted
inserted
replaced
29 class NmAttachmentPicker : public QObject |
29 class NmAttachmentPicker : public QObject |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 |
32 |
33 public: |
33 public: |
34 NmAttachmentPicker(QObject* parent = 0); |
34 NmAttachmentPicker(QObject *parent = 0); |
35 ~NmAttachmentPicker(); |
35 ~NmAttachmentPicker(); |
36 |
36 |
37 public slots: |
37 public slots: |
38 void fetchImage(); |
38 void fetchImage(); |
39 void fetchAudio(); |
39 void fetchAudio(); |
41 void fetchOther(); |
41 void fetchOther(); |
42 void fetchCameraStill(); |
42 void fetchCameraStill(); |
43 void fetchCameraVideo(); |
43 void fetchCameraVideo(); |
44 |
44 |
45 signals: |
45 signals: |
46 void attachmentsFetchOk(const QVariant& fileNames); |
46 void attachmentsFetchOk(const QVariant &fileNames); |
47 void attachmentsFetchError(int errorCode, const QString& errorMessage); |
47 void attachmentsFetchError(int errorCode, const QString &errorMessage); |
48 |
48 |
49 private: |
49 private: |
50 void fetch(const QString& interface, const QString& operation, |
50 void fetch(const QString &interface, const QString &operation, |
51 const QList<QVariant>* args = 0); |
51 const QList<QVariant> *args = 0); |
52 void fetchFromCamera(int mode); |
52 void fetchFromCamera(int mode); |
53 |
53 |
54 private: |
54 private: |
55 XQAiwRequest *mRequest; |
55 XQAiwRequest *mRequest; |
56 }; |
56 }; |