summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qauthenticator.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-07-14 10:58:04 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-07-15 09:50:42 (GMT)
commit69027cdb2ab9b89673edf29d5034bed33e614a05 (patch)
tree773d4c54c391075ec0916c5f995be99dedb6b7b2 /src/network/kernel/qauthenticator.h
parent367aa34cbcfa109926087e89d49f9223c1409d44 (diff)
downloadQt-69027cdb2ab9b89673edf29d5034bed33e614a05.zip
Qt-69027cdb2ab9b89673edf29d5034bed33e614a05.tar.gz
Qt-69027cdb2ab9b89673edf29d5034bed33e614a05.tar.bz2
Expose the QAuthenticator map of options in the API.
Task-number: QT-3573 Reviewed-By: Markus Goetz
Diffstat (limited to 'src/network/kernel/qauthenticator.h')
-rw-r--r--src/network/kernel/qauthenticator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/kernel/qauthenticator.h b/src/network/kernel/qauthenticator.h
index 13ce593..983b7c0 100644
--- a/src/network/kernel/qauthenticator.h
+++ b/src/network/kernel/qauthenticator.h
@@ -43,6 +43,7 @@
#define QAUTHENTICATOR_H
#include <QtCore/qstring.h>
+#include <QtCore/qvariant.h>
QT_BEGIN_HEADER
@@ -73,6 +74,10 @@ public:
QString realm() const;
+ QVariant option(const QString &opt) const;
+ QVariantHash options() const;
+ void setOption(const QString &opt, const QVariant &value);
+
bool isNull() const;
void detach();
private: