// application headers
#include "privacybrowserpcview.h"
-#include "PrivacyBrowserPCSettings.h"
-#include "privacybrowserpcdebug.h"
+#include "settings.h"
+#include "privacybrowserdebug.h"
PrivacyBrowserPCView::PrivacyBrowserPCView(QWidget *parent)
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();
}
{
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()));
}