summaryrefslogtreecommitdiff
path: root/src/cookiejar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-11-21 09:48:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-11-21 09:48:44 +0100
commit3397fd277b12d82d8c260f8a9dab7b203924d1a8 (patch)
tree995f96717700403496dd005faa27f1e2a33f3809 /src/cookiejar.h
parentQSettings --> KConfig (diff)
downloadrekonq-3397fd277b12d82d8c260f8a9dab7b203924d1a8.tar.xz
KDE-izing cookie dialogs..
removed searchlineedit support, almost everywhere.. We just need a new url bar to be ready for 0.0.1 release..
Diffstat (limited to 'src/cookiejar.h')
-rw-r--r--src/cookiejar.h35
1 files changed, 29 insertions, 6 deletions
diff --git a/src/cookiejar.h b/src/cookiejar.h
index fbc89946..d3843c51 100644
--- a/src/cookiejar.h
+++ b/src/cookiejar.h
@@ -21,13 +21,16 @@
#ifndef COOKIEJAR_H
#define COOKIEJAR_H
-#include <QtNetwork/QNetworkCookieJar>
-#include <QtCore/QAbstractItemModel>
-#include <QtCore/QStringList>
+// KDE Includes
+#include <QDialog>
-#include <QtGui/QDialog>
-#include <QtGui/QTableView>
+
+// Qt Includes
+#include <QNetworkCookieJar>
+#include <QAbstractItemModel>
+#include <QStringList>
+#include <QTableView>
QT_BEGIN_NAMESPACE
class QSortFilterProxyModel;
@@ -105,6 +108,12 @@ private:
QStringList m_exceptions_allowForSession;
};
+
+
+ // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+
+
+
class CookieModel : public QAbstractTableModel
{
Q_OBJECT
@@ -124,8 +133,13 @@ private:
CookieJar *m_cookieJar;
};
+
+
+// ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+
+
+
#include "ui_cookies.h"
-#include "ui_cookiesexceptions.h"
class CookiesDialog : public QDialog, public Ui_CookiesDialog
{
@@ -160,6 +174,15 @@ private:
QStringList m_sessionCookies;
};
+
+
+
+// ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+
+
+
+#include "ui_cookiesexceptions.h"
+
class CookiesExceptionsDialog : public QDialog, public Ui_CookiesExceptionsDialog
{
Q_OBJECT