diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-03-21 16:17:21 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-03-21 16:17:21 +0000 |
| commit | 23826cb457c0d267e56e1bef704d8d433c7bf630 (patch) | |
| tree | 89c00dc590ebb45c04c2ca88ab7e04740b540705 /src | |
| parent | 443f97b38e03de655e54f09fe3415cb5f32f7787 (diff) | |
| download | qxmpp-23826cb457c0d267e56e1bef704d8d433c7bf630.tar.gz | |
QXmppStanza: remove deprecated getters
Diffstat (limited to 'src')
| -rw-r--r-- | src/QXmppStanza.cpp | 47 | ||||
| -rw-r--r-- | src/QXmppStanza.h | 15 |
2 files changed, 0 insertions, 62 deletions
diff --git a/src/QXmppStanza.cpp b/src/QXmppStanza.cpp index effe03c9..be6a6ee7 100644 --- a/src/QXmppStanza.cpp +++ b/src/QXmppStanza.cpp @@ -434,50 +434,3 @@ void QXmppStanza::parse(const QDomElement &element) m_error.parse(errorElement); } -// deprecated - -QString QXmppStanza::Error::getText() const -{ - return m_text; -} - -int QXmppStanza::Error::getCode() const -{ - return m_code; -} - -QXmppStanza::Error::Condition QXmppStanza::Error::getCondition() const -{ - return m_condition; -} - -QXmppStanza::Error::Type QXmppStanza::Error::getType() const -{ - return m_type; -} - -QString QXmppStanza::getTo() const -{ - return m_to; -} - -QString QXmppStanza::getFrom() const -{ - return m_from; -} - -QString QXmppStanza::getId() const -{ - return m_id; -} - -QString QXmppStanza::getLang() const -{ - return m_lang; -} - -QXmppStanza::Error QXmppStanza::getError() const -{ - return m_error; -} - diff --git a/src/QXmppStanza.h b/src/QXmppStanza.h index 35961d3b..aa2285f4 100644 --- a/src/QXmppStanza.h +++ b/src/QXmppStanza.h @@ -104,13 +104,6 @@ public: /// \cond void parse(const QDomElement &element); void toXml(QXmlStreamWriter *writer) const; - - // deprecated in release 0.2.0 - // deprecated accessors, use the form without "get" instead - int Q_DECL_DEPRECATED getCode() const; - QString Q_DECL_DEPRECATED getText() const; - Condition Q_DECL_DEPRECATED getCondition() const; - Type Q_DECL_DEPRECATED getType() const; /// \endcond private: @@ -151,14 +144,6 @@ public: // FIXME : why is this needed? bool isErrorStanza(); - // deprecated in release 0.2.0 - // deprecated accessors, use the form without "get" instead - QString Q_DECL_DEPRECATED getTo() const; - QString Q_DECL_DEPRECATED getFrom() const; - QString Q_DECL_DEPRECATED getId() const; - QString Q_DECL_DEPRECATED getLang() const; - QXmppStanza::Error Q_DECL_DEPRECATED getError() const; - protected: void generateAndSetNextId(); void parse(const QDomElement &element); |
