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

Enahnced clear recent history dialog, it now allows to delete

today/week/month/all history
This commit is contained in:
nowrep 2011-03-18 18:35:09 +01:00
parent c148836d10
commit 325cc445a7
7 changed files with 184 additions and 138 deletions

Binary file not shown.

View File

@ -48,16 +48,14 @@ int HistoryModel::addHistoryEntry(const QString &url, QString &title)
query.bindValue(0, url); query.bindValue(0, url);
query.exec(); query.exec();
if (!query.next()) { if (!query.next()) {
QDateTime now = QDateTime::currentDateTime();
query.prepare("INSERT INTO history (count, date, url, title) VALUES (1,?,?,?)"); query.prepare("INSERT INTO history (count, date, url, title) VALUES (1,?,?,?)");
query.bindValue(0, now.toMSecsSinceEpoch()); query.bindValue(0, QDateTime::currentMSecsSinceEpoch());
query.bindValue(1, url); query.bindValue(1, url);
query.bindValue(2, title); query.bindValue(2, title);
query.exec(); query.exec();
}else{ }else{
QDateTime now = QDateTime::currentDateTime();
query.prepare("UPDATE history SET count = count + 1, date=?, title=? WHERE url=?"); query.prepare("UPDATE history SET count = count + 1, date=?, title=? WHERE url=?");
query.bindValue(0, now.toMSecsSinceEpoch()); query.bindValue(0, QDateTime::currentMSecsSinceEpoch());
query.bindValue(1, title); query.bindValue(1, title);
query.bindValue(2, url); query.bindValue(2, url);
query.exec(); query.exec();

View File

@ -26,66 +26,61 @@
ClearPrivateData::ClearPrivateData(QupZilla* mainClass, QWidget* parent) : ClearPrivateData::ClearPrivateData(QupZilla* mainClass, QWidget* parent) :
QDialog(parent) QDialog(parent)
,p_QupZilla(mainClass) ,p_QupZilla(mainClass)
,ui(new Ui::ClearPrivateData)
{ {
setWindowTitle(tr("Clear Recent History")); ui->setupUi(this);
setWindowIcon(QIcon(":/icons/qupzilla.png")); ui->buttonBox->setFocus();
m_layout = new QBoxLayout(QBoxLayout::TopToBottom, this); connect(ui->clearAdobeCookies, SIGNAL(clicked(QPoint)), this, SLOT(clearFlash()));
m_label = new QLabel(this); connect(ui->history, SIGNAL(clicked(bool)), this, SLOT(historyClicked(bool)));
m_buttonBox = new QDialogButtonBox(this); connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(dialogAccepted()));
m_buttonBox->addButton(QDialogButtonBox::Ok); }
m_buttonBox->addButton(QDialogButtonBox::Cancel);
connect(m_buttonBox, SIGNAL(accepted()), this, SLOT(dialogAccepted()));
connect(m_buttonBox, SIGNAL(rejected()), this, SLOT(close()));
m_layout->addWidget(m_label);
m_label->setText(tr("Choose what you want to delete:"));
m_layout->addWidget(m_buttonBox);
m_clearHistory = new QCheckBox(tr("Clear history"), this); void ClearPrivateData::historyClicked(bool state)
m_clearCookies = new QCheckBox(tr("Clear cookies"), this); {
m_clearCache = new QCheckBox(tr("Clear cache"), this); ui->historyLength->setEnabled(state);
m_clearIcons = new QCheckBox(tr("Clear icons"), this);
m_clearFlashCookies = new ClickableLabel(this);
m_clearFlashCookies->setText(tr("Clear cookies from Adobe Flash Player"));
m_clearHistory->setChecked(true);
m_clearCookies->setChecked(true);
m_clearCache->setChecked(true);
m_clearIcons->setChecked(true);
m_clearFlashCookies->setStyleSheet("color: blue; text-decoration: underline;");
m_clearFlashCookies->setCursor(Qt::PointingHandCursor);
m_layout->addWidget(m_clearHistory);
m_layout->addWidget(m_clearCookies);
m_layout->addWidget(m_clearCache);
m_layout->addWidget(m_clearIcons);
m_layout->addWidget(m_clearFlashCookies);
m_layout->addWidget(m_buttonBox);
connect(m_clearFlashCookies, SIGNAL(clicked(QPoint)), this, SLOT(clearFlash()));
} }
void ClearPrivateData::clearFlash() void ClearPrivateData::clearFlash()
{ {
p_QupZilla->loadAddress(QUrl("http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html")); p_QupZilla->tabWidget()->addView(QUrl("http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html"));
} }
void ClearPrivateData::dialogAccepted() void ClearPrivateData::dialogAccepted()
{ {
if (m_clearHistory->isChecked()) { if (ui->history->isChecked()) {
QDateTime dateTime = QDateTime::currentDateTime();
qint64 nowMS = QDateTime::currentMSecsSinceEpoch();
qint64 date;
switch (ui->historyLength->currentIndex()) {
case 0: //Later Today
dateTime.setTime(QTime(0,0));
date = dateTime.toMSecsSinceEpoch();
break;
case 1: //Week
date = nowMS - 60u * 60u * 24u * 7u * 1000u;
break;
case 2: //Month
date = nowMS - 60u * 60u * 24u * 30u * 1000u;
break;
case 3: //All
date = 0;
break;
}
QSqlQuery query; QSqlQuery query;
query.exec("DELETE FROM history"); query.exec("DELETE FROM history WHERE date > "+QString::number(date));
query.exec("VACUUM"); query.exec("VACUUM");
} }
if (m_clearCookies->isChecked()) { if (ui->cookies->isChecked()) {
QList<QNetworkCookie> cookies; QList<QNetworkCookie> cookies;
mApp->cookieJar()->setAllCookies(cookies); mApp->cookieJar()->setAllCookies(cookies);
} }
if (m_clearCache->isChecked()) { if (ui->cache->isChecked()) {
mApp->webSettings()->clearMemoryCaches(); mApp->webSettings()->clearMemoryCaches();
mApp->networkManager()->cache()->clear(); mApp->networkManager()->cache()->clear();
} }
if (m_clearIcons->isChecked()) { if (ui->icons->isChecked()) {
mApp->webSettings()->clearIconDatabase(); mApp->webSettings()->clearIconDatabase();
} }
close(); close();

View File

@ -24,7 +24,10 @@
#include <QCheckBox> #include <QCheckBox>
#include <QLabel> #include <QLabel>
class ClickableLabel; namespace Ui {
class ClearPrivateData;
}
class QupZilla; class QupZilla;
class ClearPrivateData : public QDialog class ClearPrivateData : public QDialog
{ {
@ -37,22 +40,14 @@ signals:
public slots: public slots:
private slots: private slots:
void historyClicked(bool state);
void dialogAccepted(); void dialogAccepted();
void clearFlash(); void clearFlash();
private: private:
QupZilla* p_QupZilla; QupZilla* p_QupZilla;
Ui::ClearPrivateData* ui;
QBoxLayout* m_layout;
QLabel* m_label;
QDialogButtonBox* m_buttonBox;
QCheckBox* m_clearHistory;
QCheckBox* m_clearCookies;
QCheckBox* m_clearCache;
QCheckBox* m_clearIcons;
ClickableLabel* m_clearFlashCookies;
}; };
#endif // CLEARPRIVATEDATA_H #endif // CLEARPRIVATEDATA_H

View File

@ -63,7 +63,10 @@
</widget> </widget>
</item> </item>
<item row="7" column="1"> <item row="7" column="1">
<widget class="QLabel" name="label"> <widget class="ClickableLabel" name="clearAdobeCookies">
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">color: blue; text-decoration: underline;</string> <string notr="true">color: blue; text-decoration: underline;</string>
</property> </property>
@ -109,7 +112,7 @@
<widget class="QComboBox" name="historyLength"> <widget class="QComboBox" name="historyLength">
<item> <item>
<property name="text"> <property name="text">
<string>Today</string> <string>Later Today</string>
</property> </property>
</item> </item>
<item> <item>
@ -144,6 +147,13 @@
</item> </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>

View File

@ -387,40 +387,65 @@ p, li { white-space: pre-wrap; }
<context> <context>
<name>ClearPrivateData</name> <name>ClearPrivateData</name>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="29"/> <location filename="../src/other/clearprivatedata.ui" line="14"/>
<source>Clear Recent History</source> <source>Clear Recent History</source>
<translation>Vymazat nedávnou historii</translation> <translation>Vymazat nedávnou historii</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="39"/> <location filename="../src/other/clearprivatedata.ui" line="24"/>
<source>Choose what you want to delete:</source> <source>Choose what you want to delete:</source>
<translation>Vyberte co chcete smazat:</translation> <translation>Vyberte co chcete smazat:</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="42"/> <location filename="../src/other/clearprivatedata.ui" line="31"/>
<source>Clear history</source> <source>Clear history</source>
<translation>Smazat historii</translation> <translation>Smazat historii</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="43"/> <location filename="../src/other/clearprivatedata.ui" line="41"/>
<source>Clear cookies</source> <source>Clear cookies</source>
<translation>Smazat cookies</translation> <translation>Smazat cookies</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="44"/> <location filename="../src/other/clearprivatedata.ui" line="51"/>
<source>Clear cache</source> <source>Clear cache</source>
<translation>Vyprázdnit vyrovnávací paměť</translation> <translation>Vyprázdnit vyrovnávací paměť</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="45"/> <location filename="../src/other/clearprivatedata.ui" line="61"/>
<source>Clear icons</source> <source>Clear icons</source>
<translation>Smazat ikony</translation> <translation>Smazat ikony</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="47"/> <location filename="../src/other/clearprivatedata.ui" line="71"/>
<source>Clear cookies from Adobe Flash Player</source> <source>Clear cookies from Adobe Flash Player</source>
<translation>Smazat cookies z Adobe Flash Playeru</translation> <translation>Smazat cookies z Adobe Flash Playeru</translation>
</message> </message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="88"/>
<source>&lt;b&gt;Clear Recent History&lt;/b&gt;</source>
<translation>&lt;b&gt;Vymazat nedávnou historii&lt;/b&gt;</translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="112"/>
<source>Today</source>
<translation>Dnes</translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="117"/>
<source>Week</source>
<translation>Týden</translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="122"/>
<source>Month</source>
<translation>Měsíc</translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="127"/>
<source>All</source>
<translation>Vše</translation>
</message>
</context> </context>
<context> <context>
<name>ClickToFlash</name> <name>ClickToFlash</name>
@ -1905,7 +1930,7 @@ neexistuje!</translation>
<translation>Prázdný</translation> <translation>Prázdný</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.h" line="141"/> <location filename="../src/app/qupzilla.h" line="137"/>
<source>New tab</source> <source>New tab</source>
<translation>Nový panel</translation> <translation>Nový panel</translation>
</message> </message>
@ -2518,7 +2543,7 @@ Prosím přidejte si nějaký kliknutím na RSS ikonku v navigačním řádku.</
<translation>Dohromady máte otevřeno %1 panelů</translation> <translation>Dohromady máte otevřeno %1 panelů</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/tabwidget.h" line="56"/> <location filename="../src/webview/tabwidget.h" line="52"/>
<source>New tab</source> <source>New tab</source>
<translation>Nový panel</translation> <translation>Nový panel</translation>
</message> </message>
@ -2649,146 +2674,145 @@ Prosím přidejte si nějaký kliknutím na RSS ikonku v navigačním řádku.</
<name>WebView</name> <name>WebView</name>
<message> <message>
<location filename="../src/webview/webview.cpp" line="123"/> <location filename="../src/webview/webview.cpp" line="123"/>
<location filename="../src/webview/webview.cpp" line="245"/> <location filename="../src/webview/webview.cpp" line="244"/>
<source>Loading...</source> <source>Loading...</source>
<translation>Načítám...</translation> <translation>Načítám...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="214"/> <location filename="../src/webview/webview.cpp" line="693"/>
<location filename="../src/webview/webview.cpp" line="692"/>
<source>No Named Page</source> <source>No Named Page</source>
<translation>Bezejmenná stránka</translation> <translation>Bezejmenná stránka</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="245"/> <location filename="../src/webview/webview.cpp" line="244"/>
<source>Done</source> <source>Done</source>
<translation>Hotovo</translation> <translation>Hotovo</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="337"/> <location filename="../src/webview/webview.cpp" line="336"/>
<location filename="../src/webview/webview.cpp" line="341"/> <location filename="../src/webview/webview.cpp" line="340"/>
<location filename="../src/webview/webview.cpp" line="503"/> <location filename="../src/webview/webview.cpp" line="502"/>
<source>New tab</source> <source>New tab</source>
<translation>Nový panel</translation> <translation>Nový panel</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="391"/> <location filename="../src/webview/webview.cpp" line="390"/>
<source>Open link in new window</source> <source>Open link in new window</source>
<translation>Otevřít odkaz v novém okně</translation> <translation>Otevřít odkaz v novém okně</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="392"/> <location filename="../src/webview/webview.cpp" line="391"/>
<source>Open link in new tab</source> <source>Open link in new tab</source>
<translation>Otevřít odkaz v novém panelu</translation> <translation>Otevřít odkaz v novém panelu</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="394"/> <location filename="../src/webview/webview.cpp" line="393"/>
<source>Bookmark link</source> <source>Bookmark link</source>
<translation>Přidat odkaz do záložek</translation> <translation>Přidat odkaz do záložek</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="395"/> <location filename="../src/webview/webview.cpp" line="394"/>
<source>Save link as...</source> <source>Save link as...</source>
<translation>Uložit odkaz jako...</translation> <translation>Uložit odkaz jako...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="396"/> <location filename="../src/webview/webview.cpp" line="395"/>
<source>Send link...</source> <source>Send link...</source>
<translation>Odeslat odkaz...</translation> <translation>Odeslat odkaz...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="397"/> <location filename="../src/webview/webview.cpp" line="396"/>
<source>Copy link address</source> <source>Copy link address</source>
<translation>Kopírovat adresu odkazu</translation> <translation>Kopírovat adresu odkazu</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="406"/> <location filename="../src/webview/webview.cpp" line="405"/>
<source>Show image</source> <source>Show image</source>
<translation>Zobrazit obrázek</translation> <translation>Zobrazit obrázek</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="407"/> <location filename="../src/webview/webview.cpp" line="406"/>
<source>Copy image</source> <source>Copy image</source>
<translation>Kopírovat obrázek</translation> <translation>Kopírovat obrázek</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="408"/> <location filename="../src/webview/webview.cpp" line="407"/>
<source>Copy image address</source> <source>Copy image address</source>
<oldsource>Coyp image address</oldsource> <oldsource>Coyp image address</oldsource>
<translation>Kopírovat adresu obrázku</translation> <translation>Kopírovat adresu obrázku</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="410"/> <location filename="../src/webview/webview.cpp" line="409"/>
<source>Save image as...</source> <source>Save image as...</source>
<translation>Uložit obrázek jako...</translation> <translation>Uložit obrázek jako...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="411"/> <location filename="../src/webview/webview.cpp" line="410"/>
<source>Send image...</source> <source>Send image...</source>
<translation>Odeslat obrázek...</translation> <translation>Odeslat obrázek...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="427"/> <location filename="../src/webview/webview.cpp" line="426"/>
<source>Back</source> <source>Back</source>
<translation>Zpět</translation> <translation>Zpět</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="435"/> <location filename="../src/webview/webview.cpp" line="434"/>
<source>Forward</source> <source>Forward</source>
<translation>Vpřed</translation> <translation>Vpřed</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="449"/> <location filename="../src/webview/webview.cpp" line="448"/>
<source>Reload</source> <source>Reload</source>
<translation>Obnovit</translation> <translation>Obnovit</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="456"/> <location filename="../src/webview/webview.cpp" line="455"/>
<source>Stop</source> <source>Stop</source>
<translation>Zastavit</translation> <translation>Zastavit</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="460"/> <location filename="../src/webview/webview.cpp" line="459"/>
<source>Bookmark page</source> <source>Bookmark page</source>
<translation>Přidat stránku do záložek</translation> <translation>Přidat stránku do záložek</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="461"/> <location filename="../src/webview/webview.cpp" line="460"/>
<source>Save page as...</source> <source>Save page as...</source>
<translation>Uložit stránku jako...</translation> <translation>Uložit stránku jako...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="462"/> <location filename="../src/webview/webview.cpp" line="461"/>
<source>Send page...</source> <source>Send page...</source>
<translation>Odeslat stránku...</translation> <translation>Odeslat stránku...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="464"/> <location filename="../src/webview/webview.cpp" line="463"/>
<source>Select all</source> <source>Select all</source>
<translation>Vybrat vše</translation> <translation>Vybrat vše</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="469"/> <location filename="../src/webview/webview.cpp" line="468"/>
<source>Show source code</source> <source>Show source code</source>
<translation>Zobrazit zdrojový kód</translation> <translation>Zobrazit zdrojový kód</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="470"/> <location filename="../src/webview/webview.cpp" line="469"/>
<source>Show info about site</source> <source>Show info about site</source>
<translation>Zobrazit informace o stránce</translation> <translation>Zobrazit informace o stránce</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="474"/> <location filename="../src/webview/webview.cpp" line="470"/>
<source>Show Web Inspector</source> <source>Show Web Inspector</source>
<translation>Zobrazit Web Inspektor</translation> <translation>Zobrazit Web Inspektor</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="480"/> <location filename="../src/webview/webview.cpp" line="479"/>
<source>Search </source> <source>Search </source>
<translation>Hledat </translation> <translation>Hledat </translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="480"/> <location filename="../src/webview/webview.cpp" line="479"/>
<source>... on Google</source> <source>... on Google</source>
<translation>... na Googlu</translation> <translation>... na Googlu</translation>
</message> </message>

View File

@ -391,40 +391,65 @@ p, li { white-space: pre-wrap; }
<context> <context>
<name>ClearPrivateData</name> <name>ClearPrivateData</name>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="29"/> <location filename="../src/other/clearprivatedata.ui" line="14"/>
<source>Clear Recent History</source> <source>Clear Recent History</source>
<translation>Vymazať nedávnu históriu</translation> <translation>Vymazať nedávnu históriu</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="39"/> <location filename="../src/other/clearprivatedata.ui" line="24"/>
<source>Choose what you want to delete:</source> <source>Choose what you want to delete:</source>
<translation>Vyberte, čo chcete zmazať:</translation> <translation>Vyberte, čo chcete zmazať:</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="42"/> <location filename="../src/other/clearprivatedata.ui" line="31"/>
<source>Clear history</source> <source>Clear history</source>
<translation>Zmazať históriu</translation> <translation>Zmazať históriu</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="43"/> <location filename="../src/other/clearprivatedata.ui" line="41"/>
<source>Clear cookies</source> <source>Clear cookies</source>
<translation>Zmazať cookies</translation> <translation>Zmazať cookies</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="44"/> <location filename="../src/other/clearprivatedata.ui" line="51"/>
<source>Clear cache</source> <source>Clear cache</source>
<translation>Zmazať vyrovnávaciu pamäť</translation> <translation>Zmazať vyrovnávaciu pamäť</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="45"/> <location filename="../src/other/clearprivatedata.ui" line="61"/>
<source>Clear icons</source> <source>Clear icons</source>
<translation>Zmazať ikony</translation> <translation>Zmazať ikony</translation>
</message> </message>
<message> <message>
<location filename="../src/other/clearprivatedata.cpp" line="47"/> <location filename="../src/other/clearprivatedata.ui" line="71"/>
<source>Clear cookies from Adobe Flash Player</source> <source>Clear cookies from Adobe Flash Player</source>
<translation>Zmazať cookies z Adobe Flash Playeru</translation> <translation>Zmazať cookies z Adobe Flash Playeru</translation>
</message> </message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="88"/>
<source>&lt;b&gt;Clear Recent History&lt;/b&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="112"/>
<source>Today</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="117"/>
<source>Week</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="122"/>
<source>Month</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/other/clearprivatedata.ui" line="127"/>
<source>All</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>ClickToFlash</name> <name>ClickToFlash</name>
@ -1906,7 +1931,7 @@ neexistuje!</translation>
<translation>Prázdny</translation> <translation>Prázdny</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.h" line="141"/> <location filename="../src/app/qupzilla.h" line="137"/>
<source>New tab</source> <source>New tab</source>
<translation>Nový panel</translation> <translation>Nový panel</translation>
</message> </message>
@ -2518,7 +2543,7 @@ Prosím pridajte si nejaký kliknutím na RSS ikonku v navigačnom riadku.</tran
<translation>Momentálne otvorených %1 panelov</translation> <translation>Momentálne otvorených %1 panelov</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/tabwidget.h" line="56"/> <location filename="../src/webview/tabwidget.h" line="52"/>
<source>New tab</source> <source>New tab</source>
<translation>Nový panel</translation> <translation>Nový panel</translation>
</message> </message>
@ -2649,145 +2674,144 @@ Prosím pridajte si nejaký kliknutím na RSS ikonku v navigačnom riadku.</tran
<name>WebView</name> <name>WebView</name>
<message> <message>
<location filename="../src/webview/webview.cpp" line="123"/> <location filename="../src/webview/webview.cpp" line="123"/>
<location filename="../src/webview/webview.cpp" line="245"/> <location filename="../src/webview/webview.cpp" line="244"/>
<source>Loading...</source> <source>Loading...</source>
<translation>Načítavam...</translation> <translation>Načítavam...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="214"/> <location filename="../src/webview/webview.cpp" line="693"/>
<location filename="../src/webview/webview.cpp" line="692"/>
<source>No Named Page</source> <source>No Named Page</source>
<translation>Stránka bez mena</translation> <translation>Stránka bez mena</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="245"/> <location filename="../src/webview/webview.cpp" line="244"/>
<source>Done</source> <source>Done</source>
<translation>Hotovo</translation> <translation>Hotovo</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="337"/> <location filename="../src/webview/webview.cpp" line="336"/>
<location filename="../src/webview/webview.cpp" line="341"/> <location filename="../src/webview/webview.cpp" line="340"/>
<location filename="../src/webview/webview.cpp" line="503"/> <location filename="../src/webview/webview.cpp" line="502"/>
<source>New tab</source> <source>New tab</source>
<translation>Nový panel</translation> <translation>Nový panel</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="391"/> <location filename="../src/webview/webview.cpp" line="390"/>
<source>Open link in new window</source> <source>Open link in new window</source>
<translation>Otvoriť odkaz v novom okne</translation> <translation>Otvoriť odkaz v novom okne</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="392"/> <location filename="../src/webview/webview.cpp" line="391"/>
<source>Open link in new tab</source> <source>Open link in new tab</source>
<translation>Otvoriť odkaz na novom panely</translation> <translation>Otvoriť odkaz na novom panely</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="394"/> <location filename="../src/webview/webview.cpp" line="393"/>
<source>Bookmark link</source> <source>Bookmark link</source>
<translation>Pridať odkaz do záložiek</translation> <translation>Pridať odkaz do záložiek</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="395"/> <location filename="../src/webview/webview.cpp" line="394"/>
<source>Save link as...</source> <source>Save link as...</source>
<translation>Odoslať odkaz...</translation> <translation>Odoslať odkaz...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="396"/> <location filename="../src/webview/webview.cpp" line="395"/>
<source>Send link...</source> <source>Send link...</source>
<translation>Odoslať odkaz...</translation> <translation>Odoslať odkaz...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="397"/> <location filename="../src/webview/webview.cpp" line="396"/>
<source>Copy link address</source> <source>Copy link address</source>
<translation>Kopírovať adresu odkazu</translation> <translation>Kopírovať adresu odkazu</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="406"/> <location filename="../src/webview/webview.cpp" line="405"/>
<source>Show image</source> <source>Show image</source>
<translation>Zobraziť obrázok</translation> <translation>Zobraziť obrázok</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="407"/> <location filename="../src/webview/webview.cpp" line="406"/>
<source>Copy image</source> <source>Copy image</source>
<translation>Kopírovať obrázok</translation> <translation>Kopírovať obrázok</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="408"/> <location filename="../src/webview/webview.cpp" line="407"/>
<source>Copy image address</source> <source>Copy image address</source>
<translation>Kopírovať adresu obrázku</translation> <translation>Kopírovať adresu obrázku</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="410"/> <location filename="../src/webview/webview.cpp" line="409"/>
<source>Save image as...</source> <source>Save image as...</source>
<translation>Uložiť obrázok ako...</translation> <translation>Uložiť obrázok ako...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="411"/> <location filename="../src/webview/webview.cpp" line="410"/>
<source>Send image...</source> <source>Send image...</source>
<translation>Odoslať obrázok...</translation> <translation>Odoslať obrázok...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="427"/> <location filename="../src/webview/webview.cpp" line="426"/>
<source>Back</source> <source>Back</source>
<translation>Späť</translation> <translation>Späť</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="435"/> <location filename="../src/webview/webview.cpp" line="434"/>
<source>Forward</source> <source>Forward</source>
<translation>Dopredu</translation> <translation>Dopredu</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="449"/> <location filename="../src/webview/webview.cpp" line="448"/>
<source>Reload</source> <source>Reload</source>
<translation>Obnoviť</translation> <translation>Obnoviť</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="456"/> <location filename="../src/webview/webview.cpp" line="455"/>
<source>Stop</source> <source>Stop</source>
<translation>Zastaviť</translation> <translation>Zastaviť</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="460"/> <location filename="../src/webview/webview.cpp" line="459"/>
<source>Bookmark page</source> <source>Bookmark page</source>
<translation>Pridať stránku do záložiek</translation> <translation>Pridať stránku do záložiek</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="461"/> <location filename="../src/webview/webview.cpp" line="460"/>
<source>Save page as...</source> <source>Save page as...</source>
<translation>Uložiť stránku ako...</translation> <translation>Uložiť stránku ako...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="462"/> <location filename="../src/webview/webview.cpp" line="461"/>
<source>Send page...</source> <source>Send page...</source>
<translation>Odoslať stránku...</translation> <translation>Odoslať stránku...</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="464"/> <location filename="../src/webview/webview.cpp" line="463"/>
<source>Select all</source> <source>Select all</source>
<translation>Vybrať všetko</translation> <translation>Vybrať všetko</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="469"/> <location filename="../src/webview/webview.cpp" line="468"/>
<source>Show source code</source> <source>Show source code</source>
<translation>Zobraziť zdrojový kód</translation> <translation>Zobraziť zdrojový kód</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="470"/> <location filename="../src/webview/webview.cpp" line="469"/>
<source>Show info about site</source> <source>Show info about site</source>
<translation>Zobraziť informácie o stránke</translation> <translation>Zobraziť informácie o stránke</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="474"/> <location filename="../src/webview/webview.cpp" line="470"/>
<source>Show Web Inspector</source> <source>Show Web Inspector</source>
<translation>Zobraziť Web inšpektora</translation> <translation>Zobraziť Web inšpektora</translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="480"/> <location filename="../src/webview/webview.cpp" line="479"/>
<source>Search </source> <source>Search </source>
<translation>Hľadať </translation> <translation>Hľadať </translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webview.cpp" line="480"/> <location filename="../src/webview/webview.cpp" line="479"/>
<source>... on Google</source> <source>... on Google</source>
<translation>... na Googlu</translation> <translation>... na Googlu</translation>
</message> </message>