summaryrefslogtreecommitdiff
path: root/src/cookiejar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-19 12:29:32 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-03 00:04:20 +0200
commitd0ecd4c042b81f0eb732a6702f9d1a83d6f4144e (patch)
tree78ff281bcfd44d72e651ebd3dc6ded39193ca2ec /src/cookiejar.h
parentremoved unuseful comments (diff)
downloadrekonq-d0ecd4c042b81f0eb732a6702f9d1a83d6f4144e.tar.xz
Cookie System Refactoring. Step 1..
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