25 #ifndef AUTHORIZATIONDIALOG_H
26 #define AUTHORIZATIONDIALOG_H
36 namespace Authorization
46 Request(Contact *contact,
const QString &body = QString())
47 : QEvent(eventType()), m_contact(contact), m_body(body) {}
48 Contact *contact()
const {
return m_contact; }
49 QString body()
const {
return m_body; }
69 : QEvent(eventType()), m_type(type), m_contact(contact), m_body(body) {}
70 Contact *contact()
const {
return m_contact; }
71 QString body()
const {
return m_body; }
72 Type replyType()
const {
return m_type; }
73 void setType(
Type type) { m_type = type; }
89 #endif // AUTHORIZATIONDIALOG_H