aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/QXmppMessage.h7
-rw-r--r--source/QXmppPresence.h7
2 files changed, 8 insertions, 6 deletions
diff --git a/source/QXmppMessage.h b/source/QXmppMessage.h
index 2590e088..c4e2809d 100644
--- a/source/QXmppMessage.h
+++ b/source/QXmppMessage.h
@@ -56,17 +56,17 @@ public:
~QXmppMessage();
QXmppMessage::Type getType() const;
- QString getTypeStr() const;
void setType(QXmppMessage::Type);
- void setTypeFromStr(const QString&);
QXmppMessage::State getState() const;
void setState(QXmppMessage::State);
QString getBody() const;
void setBody(const QString&);
+
QString getSubject() const;
void setSubject(const QString&);
+
QString getThread() const;
void setThread(const QString&);
@@ -74,6 +74,9 @@ public:
void toXml(QXmlStreamWriter *writer) const;
private:
+ QString getTypeStr() const;
+ void setTypeFromStr(const QString&);
+
Type m_type;
State m_state;
diff --git a/source/QXmppPresence.h b/source/QXmppPresence.h
index c62f640e..39b0ac07 100644
--- a/source/QXmppPresence.h
+++ b/source/QXmppPresence.h
@@ -82,7 +82,6 @@ public:
QXmppPresence::Type getType() const;
void setType(QXmppPresence::Type);
- void setTypeFromStr(const QString&);
QXmppPresence::Status& getStatus();
const QXmppPresence::Status& getStatus() const;
@@ -92,11 +91,11 @@ public:
void toXml( QXmlStreamWriter *writer ) const;
private:
+ QString getTypeStr() const;
+ void setTypeFromStr(const QString&);
+
Type m_type;
QXmppPresence::Status m_status;
-
- QString getTypeStr() const;
- QByteArray getExtensionsXML() const;
};
#endif // QXMPPPRESENCE_H