diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2014-03-28 09:21:18 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2014-03-28 09:21:18 +0100 |
| commit | 89abcd28004dec5011cfa597a923ead8c542eb0d (patch) | |
| tree | 3fe819fbb8e7806b09ddfbf1693a12d2f30f88cb /src/base | |
| parent | 16b415c0f7fd88029e476a34708817d614f8ce09 (diff) | |
| download | qxmpp-89abcd28004dec5011cfa597a923ead8c542eb0d.tar.gz | |
Use QString() instead of "" for default methods arguments
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/QXmppMessage.h | 4 | ||||
| -rw-r--r-- | src/base/QXmppStanza.h | 4 | ||||
| -rw-r--r-- | src/base/QXmppVCardIq.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/base/QXmppMessage.h b/src/base/QXmppMessage.h index 66e989b5..e927a85c 100644 --- a/src/base/QXmppMessage.h +++ b/src/base/QXmppMessage.h @@ -60,8 +60,8 @@ public: Paused, ///< User had been composing but now has stopped. }; - QXmppMessage(const QString& from = "", const QString& to = "", - const QString& body = "", const QString& thread = ""); + QXmppMessage(const QString& from = QString(), const QString& to = QString(), + const QString& body = QString(), const QString& thread = QString()); QXmppMessage(const QXmppMessage &other); ~QXmppMessage(); diff --git a/src/base/QXmppStanza.h b/src/base/QXmppStanza.h index 0a02fb71..4583bcd3 100644 --- a/src/base/QXmppStanza.h +++ b/src/base/QXmppStanza.h @@ -129,8 +129,8 @@ public: }; Error(); - Error(Type type, Condition cond, const QString& text=""); - Error(const QString& type, const QString& cond, const QString& text=""); + Error(Type type, Condition cond, const QString& text = QString()); + Error(const QString& type, const QString& cond, const QString& text = QString()); int code() const; void setCode(int code); diff --git a/src/base/QXmppVCardIq.h b/src/base/QXmppVCardIq.h index d0ffac99..cb54b91d 100644 --- a/src/base/QXmppVCardIq.h +++ b/src/base/QXmppVCardIq.h @@ -214,7 +214,7 @@ private: class QXMPP_EXPORT QXmppVCardIq : public QXmppIq { public: - QXmppVCardIq(const QString& bareJid = ""); + QXmppVCardIq(const QString& bareJid = QString()); QXmppVCardIq(const QXmppVCardIq &other); ~QXmppVCardIq(); |
