summaryrefslogtreecommitdiff
path: root/src/cookiejar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-18 10:24:57 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-03 00:02:06 +0200
commite990840b71a0d122627125a6223f576816d8ecda (patch)
treef0af1d9380b787b8b0f7219d7df2a83f9ed20c50 /src/cookiejar.h
parentupdating .gitignore (diff)
downloadrekonq-e990840b71a0d122627125a6223f576816d8ecda.tar.xz
1st commit on cookie branch. Refactoring Ui classes
Diffstat (limited to 'src/cookiejar.h')
-rw-r--r--src/cookiejar.h55
1 files changed, 9 insertions, 46 deletions
diff --git a/src/cookiejar.h b/src/cookiejar.h
index 03802df1..81d3ce64 100644
--- a/src/cookiejar.h
+++ b/src/cookiejar.h
@@ -24,11 +24,16 @@
#define COOKIEJAR_H
+// Local Includes
+#include "cookiedialogs.h"
+
// Qt Includes
-#include <QNetworkCookieJar>
-#include <QAbstractItemModel>
-#include <QStringList>
-#include <QTableView>
+#include <QtCore/QStringList>
+#include <QtCore/QAbstractItemModel>
+#include <QtGui/QTableView>
+#include <QtNetwork/QNetworkCookieJar>
+
+
// Forward Declarations
class QSortFilterProxyModel;
@@ -136,23 +141,6 @@ private:
// ----------------------------------------------------------------------------------------------------------------------
-#include "ui_cookies.h"
-
-class CookiesDialog : public QDialog, public Ui_CookiesDialog
-{
- Q_OBJECT
-
-public:
- explicit CookiesDialog(CookieJar *cookieJar, QWidget *parent = 0);
-
-private:
- QSortFilterProxyModel *m_proxyModel;
-};
-
-
-// ----------------------------------------------------------------------------------------------------------------------
-
-
class CookieExceptionsModel : public QAbstractTableModel
{
Q_OBJECT
@@ -177,29 +165,4 @@ private:
};
-// -----------------------------------------------------------------------------------------------------------------
-
-
-#include "ui_cookiesexceptions.h"
-
-class CookiesExceptionsDialog : public QDialog, public Ui_CookiesExceptionsDialog
-{
- Q_OBJECT
-
-public:
- explicit CookiesExceptionsDialog(CookieJar *cookieJar, QWidget *parent = 0);
-
-private slots:
- void block();
- void allow();
- void allowForSession();
- void textChanged(const QString &text);
-
-private:
- CookieExceptionsModel *m_exceptionsModel;
- QSortFilterProxyModel *m_proxyModel;
- CookieJar *m_cookieJar;
-};
-
#endif // COOKIEJAR_H
-