summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/httpget.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/httpget.h')
-rw-r--r--rbutil/rbutilqt/base/httpget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/httpget.h b/rbutil/rbutilqt/base/httpget.h
index ba4cbc821e..4bf1987998 100644
--- a/rbutil/rbutilqt/base/httpget.h
+++ b/rbutil/rbutilqt/base/httpget.h
@@ -41,7 +41,7 @@ class HttpGet : public QObject
41 QHttp::Error error(void); 41 QHttp::Error error(void);
42 QString errorString(void); 42 QString errorString(void);
43 void setFile(QFile*); 43 void setFile(QFile*);
44 void setCache(QDir); 44 void setCache(const QDir&);
45 void setCache(bool); 45 void setCache(bool);
46 int httpResponse(void); 46 int httpResponse(void);
47 QByteArray readAll(void); 47 QByteArray readAll(void);
@@ -51,13 +51,13 @@ class HttpGet : public QObject
51 { return m_serverTimestamp; } 51 { return m_serverTimestamp; }
52 void setDumbCache(bool b) //< disable checking of http header timestamp for caching 52 void setDumbCache(bool b) //< disable checking of http header timestamp for caching
53 { m_dumbCache = b; } 53 { m_dumbCache = b; }
54 static void setGlobalCache(const QDir d) //< set global cache path 54 static void setGlobalCache(const QDir& d) //< set global cache path
55 { m_globalCache = d; } 55 { m_globalCache = d; }
56 static void setGlobalProxy(const QUrl p) //< set global proxy value 56 static void setGlobalProxy(const QUrl& p) //< set global proxy value
57 { m_globalProxy = p; } 57 { m_globalProxy = p; }
58 static void setGlobalDumbCache(bool b) //< set "dumb" (ignore server status) caching mode 58 static void setGlobalDumbCache(bool b) //< set "dumb" (ignore server status) caching mode
59 { m_globalDumbCache = b; } 59 { m_globalDumbCache = b; }
60 static void setGlobalUserAgent(QString u) //< set global user agent string 60 static void setGlobalUserAgent(const QString& u) //< set global user agent string
61 { m_globalUserAgent = u; } 61 { m_globalUserAgent = u; }
62 62
63 public slots: 63 public slots: