aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-07-18 16:42:57 -0400
committerq5sys <jt@obs-sec.com>2017-07-18 16:42:57 -0400
commitfd3b1a385e15edbd4859f25e3350251f2e82db3d (patch)
tree10d80cf760663f2be7d710194570cbb67d590c42 /src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
parentthe changing of the names (diff)
downloadlumina-fd3b1a385e15edbd4859f25e3350251f2e82db3d.tar.gz
lumina-fd3b1a385e15edbd4859f25e3350251f2e82db3d.tar.bz2
lumina-fd3b1a385e15edbd4859f25e3350251f2e82db3d.zip
the second great renaming
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
index f2f05ae9..56aedf4d 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
@@ -45,7 +45,7 @@ QSSPage::QSSPage(QWidget *parent) :
m_ui(new Ui::QSSPage)
{
m_ui->setupUi(this);
- QDir("/").mkpath(Qt5CT::userStyleSheetPath());
+ QDir("/").mkpath(lthemeengine::userStyleSheetPath());
m_menu = new QMenu(this);
m_menu->addAction(QIcon::fromTheme("accessories-text-editor"), tr("Edit"), this, SLOT(on_editButton_clicked()));
@@ -69,7 +69,7 @@ QSSPage::~QSSPage()
void QSSPage::writeSettings()
{
QStringList styleSheets;
- QSettings settings(Qt5CT::configFile(), QSettings::IniFormat);
+ QSettings settings(lthemeengine::configFile(), QSettings::IniFormat);
for(int i = 0; i < m_ui->qssListWidget->count(); ++i)
{
@@ -106,7 +106,7 @@ void QSSPage::on_createButton_clicked()
if(!name.endsWith(".qss", Qt::CaseInsensitive))
name.append(".qss");
- QString filePath = Qt5CT::userStyleSheetPath() + name;
+ QString filePath = lthemeengine::userStyleSheetPath() + name;
if(QFile::exists(filePath))
{
@@ -159,10 +159,10 @@ void QSSPage::readSettings()
{
//load stylesheets
m_ui->qssListWidget->clear();
- findStyleSheets(Qt5CT::userStyleSheetPath());
- findStyleSheets(Qt5CT::sharedStyleSheetPath());
+ findStyleSheets(lthemeengine::userStyleSheetPath());
+ findStyleSheets(lthemeengine::sharedStyleSheetPath());
- QSettings settings(Qt5CT::configFile(), QSettings::IniFormat);
+ QSettings settings(lthemeengine::configFile(), QSettings::IniFormat);
QStringList styleSheets = settings.value("Interface/stylesheets").toStringList();
for(int i = 0; i < m_ui->qssListWidget->count(); ++i)
{
@@ -209,7 +209,7 @@ void QSSPage::on_renameButton_clicked()
if(!name.endsWith(".qss", Qt::CaseInsensitive))
name.append(".qss");
- QString newPath = Qt5CT::userStyleSheetPath() + name;
+ QString newPath = lthemeengine::userStyleSheetPath() + name;
if(!QFile::rename(item->data(QSS_FULL_PATH_ROLE).toString(), newPath))
{
bgstack15