diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-06 03:09:23 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-06 03:09:23 +0200 |
commit | 06b2dc0ce6ec6dd4cb090c22e2f9f8521138146b (patch) | |
tree | bdbc792266fea13099eecebe4c032f97a2eb2fea /src/cookiejar.h | |
parent | updating authors.. (diff) | |
download | rekonq-06b2dc0ce6ec6dd4cb090c22e2f9f8521138146b.tar.xz |
EBN Krazy fixes. 1st round..
Diffstat (limited to 'src/cookiejar.h')
-rw-r--r-- | src/cookiejar.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/cookiejar.h b/src/cookiejar.h index 27071b6d..6cd91782 100644 --- a/src/cookiejar.h +++ b/src/cookiejar.h @@ -119,7 +119,8 @@ class CookieModel : public QAbstractTableModel Q_OBJECT public: - CookieModel(CookieJar *jar, QObject *parent = 0); + explicit CookieModel(CookieJar *jar, QObject *parent = 0); + QVariant headerData(int section, Qt::Orientation orientation, int role) const; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; @@ -144,19 +145,24 @@ class CookiesDialog : public QDialog, public Ui_CookiesDialog Q_OBJECT public: - CookiesDialog(CookieJar *cookieJar, QWidget *parent = 0); + explicit CookiesDialog(CookieJar *cookieJar, QWidget *parent = 0); private: QSortFilterProxyModel *m_proxyModel; }; + +// ---------------------------------------------------------------------------------------------------------------------- + + class CookieExceptionsModel : public QAbstractTableModel { Q_OBJECT friend class CookiesExceptionsDialog; public: - CookieExceptionsModel(CookieJar *cookieJar, QObject *parent = 0); + explicit CookieExceptionsModel(CookieJar *cookieJar, QObject *parent = 0); + QVariant headerData(int section, Qt::Orientation orientation, int role) const; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; @@ -183,7 +189,7 @@ class CookiesExceptionsDialog : public QDialog, public Ui_CookiesExceptionsDialo Q_OBJECT public: - CookiesExceptionsDialog(CookieJar *cookieJar, QWidget *parent = 0); + explicit CookiesExceptionsDialog(CookieJar *cookieJar, QWidget *parent = 0); private slots: void block(); |