1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Removed link for removing cookies from Adobe Flash Player

This commit is contained in:
nowrep 2013-08-03 22:57:50 +02:00
parent 99236b58be
commit 20f3b48898
3 changed files with 65 additions and 89 deletions

View File

@ -43,7 +43,6 @@ ClearPrivateData::ClearPrivateData(QupZilla* mainClass, QWidget* parent)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->buttonBox->setFocus(); ui->buttonBox->setFocus();
connect(ui->clearAdobeCookies, SIGNAL(clicked(QPoint)), this, SLOT(clearFlash()));
connect(ui->history, SIGNAL(clicked(bool)), this, SLOT(historyClicked(bool))); connect(ui->history, SIGNAL(clicked(bool)), this, SLOT(historyClicked(bool)));
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(dialogAccepted())); connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(dialogAccepted()));
@ -90,11 +89,6 @@ void ClearPrivateData::clearIcons()
qIconProvider->clearIconDatabase(); qIconProvider->clearIconDatabase();
} }
void ClearPrivateData::clearFlash()
{
p_QupZilla->tabWidget()->addView(QUrl("http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html"));
}
void ClearPrivateData::closeEvent(QCloseEvent* e) void ClearPrivateData::closeEvent(QCloseEvent* e)
{ {
Settings settings; Settings settings;

View File

@ -42,7 +42,6 @@ public:
private slots: private slots:
void historyClicked(bool state); void historyClicked(bool state);
void dialogAccepted(); void dialogAccepted();
void clearFlash();
private: private:
void closeEvent(QCloseEvent* e); void closeEvent(QCloseEvent* e);

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>308</width> <width>272</width>
<height>310</height> <height>264</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -21,13 +21,10 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2"> <item row="9" column="0" colspan="2">
<widget class="QCheckBox" name="history"> <widget class="QCheckBox" name="icons">
<property name="text"> <property name="text">
<string>Clear history</string> <string>Clear icons</string>
</property>
<property name="checked">
<bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
@ -41,36 +38,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="9" column="0" colspan="2"> <item row="5" column="0" colspan="2">
<widget class="QCheckBox" name="icons"> <widget class="QCheckBox" name="databases">
<property name="text"> <property name="text">
<string>Clear icons</string> <string>Clear web databases</string>
</property> </property>
</widget> <property name="checked">
</item>
<item row="11" column="1">
<widget class="ClickableLabel" name="clearAdobeCookies">
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Clear cookies from Adobe Flash Player</string>
</property>
<property name="html-link-look" stdset="0">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="12" column="1" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2"> <item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
@ -78,6 +55,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="history">
<property name="text">
<string>Clear history</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QLabel" name="icon"> <widget class="QLabel" name="icon">
<property name="sizePolicy"> <property name="sizePolicy">
@ -94,6 +81,52 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="11" column="1" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QCheckBox" name="localStorage">
<property name="text">
<string>Clear local storage</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
<widget class="QCheckBox" name="cookies">
<property name="text">
<string>Clear cookies</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1" colspan="2"> <item row="3" column="1" colspan="2">
<widget class="QComboBox" name="historyLength"> <widget class="QComboBox" name="historyLength">
<property name="enabled"> <property name="enabled">
@ -121,58 +154,8 @@
</item> </item>
</widget> </widget>
</item> </item>
<item row="3" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="0" colspan="2">
<widget class="QCheckBox" name="databases">
<property name="text">
<string>Clear web databases</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QCheckBox" name="localStorage">
<property name="text">
<string>Clear local storage</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
<widget class="QCheckBox" name="cookies">
<property name="text">
<string>Clear cookies</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>ClickableLabel</class>
<extends>QLabel</extends>
<header>clickablelabel.h</header>
</customwidget>
</customwidgets>
<resources> <resources>
<include location="../data/icons.qrc"/> <include location="../data/icons.qrc"/>
</resources> </resources>