aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppStanza.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppStanza.h')
-rw-r--r--source/QXmppStanza.h14
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();