diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-04 07:35:38 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-04 07:35:38 +0000 |
| commit | b760873ade2916e88d99fdc3ce97c33b9eb6854b (patch) | |
| tree | 4481a5eec328eed82c6ac2ba8521c5a4022eb423 /source/QXmppStanza.h | |
| parent | 2d7fe115b763f1f030dce7d0082ae976458c5761 (diff) | |
| download | qxmpp-b760873ade2916e88d99fdc3ce97c33b9eb6854b.tar.gz | |
move deprecated code to the end of file
Diffstat (limited to 'source/QXmppStanza.h')
| -rw-r--r-- | source/QXmppStanza.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/QXmppStanza.h b/source/QXmppStanza.h index 05f1fae9..fd1f2426 100644 --- a/source/QXmppStanza.h +++ b/source/QXmppStanza.h @@ -104,13 +104,6 @@ public: QXmppStanza(const QString& from = "", const QString& to = ""); ~QXmppStanza(); - // 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; - QString to() const; void setTo(const QString&); @@ -135,6 +128,13 @@ public: // FIXME : make this method protected static QXmppStanza::Error parseError(const QDomElement&); + // 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(); |
