equal
deleted
inserted
replaced
22 |
22 |
23 #include <QObject> |
23 #include <QObject> |
24 #include <QList> |
24 #include <QList> |
25 #include <QVariant> |
25 #include <QVariant> |
26 #include <xqaiwinterfacedescriptor.h> |
26 #include <xqaiwinterfacedescriptor.h> |
27 |
27 class XQRequestInfo; |
28 |
28 |
29 class XQAiwRequest : public QObject |
29 class XQAiwRequest : public QObject |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 |
32 |
39 |
39 |
40 void setArguments(const QList<QVariant> &arguments); |
40 void setArguments(const QList<QVariant> &arguments); |
41 const XQAiwInterfaceDescriptor &descriptor() const; |
41 const XQAiwInterfaceDescriptor &descriptor() const; |
42 |
42 |
43 bool send(); |
43 bool send(); |
|
44 bool send(QVariant &returnValue); |
44 |
45 |
45 const QString &operation() const; |
46 const QString &operation() const; |
46 |
47 |
47 void setSynchronous(bool synchronous); |
48 void setSynchronous(bool synchronous); |
48 |
49 void setInfo(const XQRequestInfo &info); |
49 |
50 |
50 signals: |
51 signals: |
51 |
52 |
52 void requestOk(const QVariant& result); |
53 void requestOk(const QVariant& result); |
53 void requestError(int errorCode, const QString& errorMessage); |
54 void requestError(int errorCode, const QString& errorMessage); |