summaryrefslogtreecommitdiff
path: root/src/cookiejar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cookiejar.h')
-rw-r--r--src/cookiejar.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/cookiejar.h b/src/cookiejar.h
index 81d3ce64..4d60d658 100644
--- a/src/cookiejar.h
+++ b/src/cookiejar.h
@@ -24,20 +24,11 @@
#define COOKIEJAR_H
-// Local Includes
-#include "cookiedialogs.h"
-
// Qt Includes
#include <QtCore/QStringList>
-#include <QtCore/QAbstractItemModel>
-#include <QtGui/QTableView>
#include <QtNetwork/QNetworkCookieJar>
-
-
// Forward Declarations
-class QSortFilterProxyModel;
-class QKeyEvent;
class AutoSaver;
class QUrl;
@@ -113,56 +104,4 @@ private:
QStringList m_exceptions_allowForSession;
};
-
-// -------------------------------------------------------------------------------------------------------------
-
-
-class CookieModel : public QAbstractTableModel
-{
- Q_OBJECT
-
-public:
- 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;
- int rowCount(const QModelIndex &parent = QModelIndex()) const;
- bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
-
-private slots:
- void cookiesChanged();
-
-private:
- CookieJar *m_cookieJar;
-};
-
-
-// ----------------------------------------------------------------------------------------------------------------------
-
-
-class CookieExceptionsModel : public QAbstractTableModel
-{
- Q_OBJECT
- friend class CookiesExceptionsDialog;
-
-public:
- 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;
- int rowCount(const QModelIndex &parent = QModelIndex()) const;
- bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
-
-private:
- CookieJar *m_cookieJar;
-
- // Domains we allow, Domains we block, Domains we allow for this session
- QStringList m_allowedCookies;
- QStringList m_blockedCookies;
- QStringList m_sessionCookies;
-};
-
-
#endif // COOKIEJAR_H