summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster/pastebindotcomprotocol.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/pastebindotcomprotocol.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/pastebindotcomprotocol.h')
-rw-r--r--src/plugins/cpaster/pastebindotcomprotocol.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/cpaster/pastebindotcomprotocol.h b/src/plugins/cpaster/pastebindotcomprotocol.h
index b7600d653f..7d5afc7c30 100644
--- a/src/plugins/cpaster/pastebindotcomprotocol.h
+++ b/src/plugins/cpaster/pastebindotcomprotocol.h
@@ -29,7 +29,9 @@
#ifndef PASTEBINDOTCOMPROTOCOL_H
#define PASTEBINDOTCOMPROTOCOL_H
+
#include "protocol.h"
+
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QHttp>
@@ -51,14 +53,14 @@ 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();
void postRequestFinished(int id, bool error);
- void readPostResponseHeader(const QHttpResponseHeader&);
+ void readPostResponseHeader(const QHttpResponseHeader &);
private:
PasteBinDotComSettings *settings;