-
Notifications
You must be signed in to change notification settings - Fork 0
/
addcontacttask.h
49 lines (36 loc) · 924 Bytes
/
addcontacttask.h
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
#ifndef ADDCONTACTTASK_H
#define ADDCONTACTTASK_H
#include <QObject>
#include "mra/mraprotocolv123.h"
class MrimAccount;
namespace Kopete {
class MetaContact;
}
class AddContactTask :
public QObject,
public IMRAProtocolGroupReceiver,
public IMRAProtocolContactReceiver
{
Q_OBJECT
public:
explicit AddContactTask(MrimAccount *account);
~AddContactTask();
void setGroupName( const QString &groupName );
void setEmail( const QString &email );
void setNickName( const QString &nickName );
void setMetaContact( Kopete::MetaContact* m );
void run();
void runAddGroupWithoutContact();
private:
void groupAddedSuccessfully();
void groupAddFailed(int status);
void contactAddedSuccessfully();
void contactAddFailed(int status);
signals:
public slots:
private slots:
private:
class Private;
Private *d;
};
#endif // ADDCONTACTTASK_H