diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-04 07:01:57 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-04 07:01:57 +0000 |
| commit | 9de7fd1298f3b19b437dad724d7a40a36cb95a54 (patch) | |
| tree | bb69ed49be052e7a5f746c15cf65364967f5759e /source | |
| parent | 4dacd755f63bb4bd55eb98274ce32fd0fa9cf391 (diff) | |
| download | qxmpp-9de7fd1298f3b19b437dad724d7a40a36cb95a54.tar.gz | |
make getTypeStr and setTypeFromStr private
Diffstat (limited to 'source')
| -rw-r--r-- | source/QXmppMessage.h | 7 | ||||
| -rw-r--r-- | source/QXmppPresence.h | 7 |
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 |
