src/network/kernel/qauthenticator.h
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    41 
    41 
    42 #ifndef QAUTHENTICATOR_H
    42 #ifndef QAUTHENTICATOR_H
    43 #define QAUTHENTICATOR_H
    43 #define QAUTHENTICATOR_H
    44 
    44 
    45 #include <QtCore/qstring.h>
    45 #include <QtCore/qstring.h>
       
    46 #include <QtCore/qvariant.h>
    46 
    47 
    47 QT_BEGIN_HEADER
    48 QT_BEGIN_HEADER
    48 
    49 
    49 QT_BEGIN_NAMESPACE
    50 QT_BEGIN_NAMESPACE
    50 
    51 
    71     QString password() const;
    72     QString password() const;
    72     void setPassword(const QString &password);
    73     void setPassword(const QString &password);
    73 
    74 
    74     QString realm() const;
    75     QString realm() const;
    75 
    76 
       
    77     QVariant option(const QString &opt) const;
       
    78     QVariantHash options() const;
       
    79     void setOption(const QString &opt, const QVariant &value);
       
    80 
    76     bool isNull() const;
    81     bool isNull() const;
    77     void detach();
    82     void detach();
    78 private:
    83 private:
    79     friend class QAuthenticatorPrivate;
    84     friend class QAuthenticatorPrivate;
    80     QAuthenticatorPrivate *d;
    85     QAuthenticatorPrivate *d;