diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-19 12:29:32 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-06-03 00:04:20 +0200 |
commit | d0ecd4c042b81f0eb732a6702f9d1a83d6f4144e (patch) | |
tree | 78ff281bcfd44d72e651ebd3dc6ded39193ca2ec /src/cookiedialogs.h | |
parent | removed unuseful comments (diff) | |
download | rekonq-d0ecd4c042b81f0eb732a6702f9d1a83d6f4144e.tar.xz |
Cookie System Refactoring. Step 1..
Diffstat (limited to 'src/cookiedialogs.h')
-rw-r--r-- | src/cookiedialogs.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/src/cookiedialogs.h b/src/cookiedialogs.h deleted file mode 100644 index 4331ae83..00000000 --- a/src/cookiedialogs.h +++ /dev/null @@ -1,84 +0,0 @@ -/* ============================================================ -* -* This file is a part of the rekonq project -* -* Copyright (C) 2009 by Andrea Diamantini <adjam7 at gmail dot com> -* -* -* This program is free software; you can redistribute it -* and/or modify it under the terms of the GNU General -* Public License as published by the Free Software Foundation; -* either version 2, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ============================================================ */ - - - -#ifndef COOKIEDIALOGS_H -#define COOKIEDIALOGS_H - - -// KDE Includes -#include <KDialog> - -// Qt Includes -#include <QtCore/QStringList> -#include <QtCore/QAbstractItemModel> - -#include <QtGui/QTableView> -#include <QtGui/QSortFilterProxyModel> - -#include <QtNetwork/QNetworkCookieJar> - -// Forward Declarations -class CookieJar; -class CookieExceptionsModel; - - -class CookiesDialog : public KDialog -{ - Q_OBJECT - -public: - explicit CookiesDialog(CookieJar *cookieJar, QWidget *parent = 0); - -private: - QSortFilterProxyModel *m_proxyModel; -}; - - -// ----------------------------------------------------------------------------------------------------------------- - - -// Ui Includes -#include "ui_cookiesexceptions.h" - - -class CookiesExceptionsDialog : public KDialog -{ - 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; - - Ui::CookiesExceptionsWidget *m_exceptionsWidget; -}; - - -#endif |