X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fprivacybrowserpcview.cpp;h=8369f99391d8907bad3bac343b28c37e9f7ea726;hp=84e5eed2b801cb16708a1280ffe9ba3dfcd339e2;hb=ad39882c17bfd7d96cbcfd3873d4dd332722e84f;hpb=3ff4e08896c8cb0821d7bead07732e2064af844c diff --git a/src/privacybrowserpcview.cpp b/src/privacybrowserpcview.cpp index 84e5eed..8369f99 100644 --- a/src/privacybrowserpcview.cpp +++ b/src/privacybrowserpcview.cpp @@ -7,8 +7,8 @@ // application headers #include "privacybrowserpcview.h" -#include "PrivacyBrowserPCSettings.h" -#include "privacybrowserpcdebug.h" +#include "settings.h" +#include "privacybrowserdebug.h" PrivacyBrowserPCView::PrivacyBrowserPCView(QWidget *parent) @@ -25,9 +25,9 @@ PrivacyBrowserPCView::~PrivacyBrowserPCView() void PrivacyBrowserPCView::switchColors() { // switch the foreground/background colors of the label - QColor color = PrivacyBrowserPCSettings::colorBackground(); - PrivacyBrowserPCSettings::setColorBackground(PrivacyBrowserPCSettings::colorForeground()); - PrivacyBrowserPCSettings::setColorForeground(color); + QColor color = Settings::colorBackground(); + Settings::setColorBackground(Settings::colorForeground()); + Settings::setColorForeground(color); handleSettingsChanged(); } @@ -36,11 +36,11 @@ void PrivacyBrowserPCView::handleSettingsChanged() { qCDebug(PRIVACYBROWSER) << "PrivacyBrowserPCView::handleSettingsChanged()"; QPalette palette = m_ui.templateLabel->palette(); - palette.setColor(QPalette::Window, PrivacyBrowserPCSettings::colorBackground()); - palette.setColor(QPalette::WindowText, PrivacyBrowserPCSettings::colorForeground()); + palette.setColor(QPalette::Window, Settings::colorBackground()); + palette.setColor(QPalette::WindowText, Settings::colorForeground()); m_ui.templateLabel->setPalette(palette); // i18n : internationalization - m_ui.templateLabel->setText(i18n("This project is %1 days old", PrivacyBrowserPCSettings::ageInDays())); + m_ui.templateLabel->setText(i18n("This project is %1 days old", Settings::ageInDays())); }