From 7fcca9ddacac1abd8002e8c478b1d1e092e85a89 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Thu, 4 Mar 2010 18:54:36 +0000 Subject: API cleanup: accessors naming --- source/QXmppBind.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'source/QXmppBind.h') diff --git a/source/QXmppBind.h b/source/QXmppBind.h index 4e8472d1..eb4062f6 100644 --- a/source/QXmppBind.h +++ b/source/QXmppBind.h @@ -34,11 +34,17 @@ public: QXmppBind(const QString& type); ~QXmppBind(); - QString getJid() const; - QString getResource() const; + QString jid() const; + QString resource() const; void setJid(const QString&); void setResource(const QString&); +// deprecated accessors, use the form without "get" instead +// obsolete start + QString Q_DECL_DEPRECATED getJid() const; + QString Q_DECL_DEPRECATED getResource() const; +// obsolete end + private: QString m_jid; QString m_resource; -- cgit v1.2.3