1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#ifndef QRTCLIENT_HXX
#define QRTCLIENT_HXX
#include <QObject>
struct rt_user;
struct rt_ticketlist;
namespace RTClient {
class Client : public QObject
{
Q_OBJECT
public:
Client(QString const& url);
~Client();
public slots:
void logIn(QString const& name, QString const& password);
void userNew(QString const& name
, QString const& emailAddress
, QString const& realName
, QString const& nickName
, QString const& gecos
, int lang
, int timeZone
, QString const& contactInfo
, bool enabled
, bool privileged
, QString const& password
, QString const& comments
, QString const& signature
, QString const& organization
, QString const& address1
, QString const& address2
, QString const& city
, QString const& state
, QString const& zip
, QString const& country
, QString const& homePhone
, QString const& workPhone
, QString const& mobilePhone
, QString const& pagerPhone);
void search(QString const& owner);
signals:
void logged(struct rt_user* user);
void foundTasks(struct rt_ticketlist* list);
};
}
#endif // QRTCLIENT_HXX
|