summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster/pastebindotcaprotocol.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-10 16:31:56 +0200
committerhjk <qtc-committer@nokia.com>2009-08-10 16:35:50 +0200
commit89b3f8216e4209dd9c69dd0683e888355ed853d6 (patch)
treedd49477b9383ae6c62d3cd3ce13d41e51c6d9a2f /src/plugins/cpaster/pastebindotcaprotocol.h
parent1e64d9f9b25070bdea60dc4b0ae66d969545c732 (diff)
downloadqt-creator-89b3f8216e4209dd9c69dd0683e888355ed853d6.tar.gz
cpaster: compile fix for namespaced qt plus code cosmetics
QListWidget forward declaration was not namespaced.
Diffstat (limited to 'src/plugins/cpaster/pastebindotcaprotocol.h')
-rw-r--r--src/plugins/cpaster/pastebindotcaprotocol.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/cpaster/pastebindotcaprotocol.h b/src/plugins/cpaster/pastebindotcaprotocol.h
index d6c2cc1725..6861b9bb30 100644
--- a/src/plugins/cpaster/pastebindotcaprotocol.h
+++ b/src/plugins/cpaster/pastebindotcaprotocol.h
@@ -29,7 +29,9 @@
#ifndef PASTEBINDOTCAPROTOCOL_H
#define PASTEBINDOTCAPROTOCOL_H
+
#include "protocol.h"
+
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QHttp>
@@ -46,9 +48,9 @@ public:
void fetch(const QString &id);
void paste(const QString &text,
- const QString &username = "",
- const QString &comment = "",
- const QString &description = "");
+ const QString &username = QString(),
+ const QString &comment = QString(),
+ const QString &description = QString());
public slots:
void fetchFinished();