aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-07-18 16:30:58 -0400
committerq5sys <jt@obs-sec.com>2017-07-18 16:30:58 -0400
commite8ce26568f0894b5674c9aeb5e7798aeb0e26543 (patch)
tree9b795ec9e3bea7d5bfb47c32781cf92bd7160dd0 /src-qt5/core/lumina-theme-engine/src/lthemeengine
parentsource directory updates (diff)
downloadlumina-e8ce26568f0894b5674c9aeb5e7798aeb0e26543.tar.gz
lumina-e8ce26568f0894b5674c9aeb5e7798aeb0e26543.tar.bz2
lumina-e8ce26568f0894b5674c9aeb5e7798aeb0e26543.zip
the changing of the names
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp4
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/fontspage.cpp2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/interfacepage.cpp2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.cpp (renamed from src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.cpp)10
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.desktop (renamed from src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.desktop)2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.h (renamed from src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.h)0
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.pro (renamed from src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.pro)8
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp10
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/paletteeditdialog.cpp2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp2
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp2
13 files changed, 24 insertions, 24 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp
index 4183dec1..13dcc395 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/appearancepage.cpp
@@ -34,7 +34,7 @@
#include <QMessageBox>
#include <QMenu>
#include <QIcon>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "appearancepage.h"
#include "paletteeditdialog.h"
#include "ui_appearancepage.h"
@@ -46,7 +46,7 @@ AppearancePage::AppearancePage(QWidget *parent) :
{
m_ui->setupUi(this);
QStringList keys = QStyleFactory::keys();
- keys.removeAll("qt5ct-style"); //hide qt5ct proxy style
+ keys.removeAll("lthemeengine-style"); //hide lthemeengine proxy style
m_ui->styleComboBox->addItems(keys);
connect(m_ui->paletteComboBox, SIGNAL(activated(int)), SLOT(updatePalette()));
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/fontspage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/fontspage.cpp
index ac9fb164..bc8a4ee0 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/fontspage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/fontspage.cpp
@@ -33,7 +33,7 @@
#include <QFontDialog>
#include <QDir>
#include <QFile>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "fontspage.h"
#include "fontconfigdialog.h"
#include "ui_fontspage.h"
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
index ee4d638d..d96c485c 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/iconthemepage.cpp
@@ -33,7 +33,7 @@
#include <QTreeWidgetItem>
#include <QImageReader>
#include <QLocale>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "iconthemepage.h"
#include "ui_iconthemepage.h"
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/interfacepage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/interfacepage.cpp
index fc5c0662..fe953e78 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/interfacepage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/interfacepage.cpp
@@ -29,7 +29,7 @@
#include <QSettings>
#include <QApplication>
#include <QDialogButtonBox>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "interfacepage.h"
#include "ui_interfacepage.h"
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.cpp
index b83f43df..ed3c909e 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.cpp
@@ -28,7 +28,7 @@
#include <QDir>
#include <QLocale>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#ifndef QT5CT_DATADIR
#define QT5CT_DATADIR "/usr/share"
@@ -37,12 +37,12 @@
QString Qt5CT::configPath()
{
- return QDir::homePath() + "/.config/qt5ct/";
+ return QDir::homePath() + "/.config/lthemeengine/";
}
QString Qt5CT::configFile()
{
- return configPath() + "qt5ct.conf";
+ return configPath() + "lthemeengine.conf";
}
QStringList Qt5CT::iconPaths()
@@ -87,7 +87,7 @@ QString Qt5CT::userStyleSheetPath()
QString Qt5CT::sharedStyleSheetPath()
{
- return QT5CT_DATADIR"/qt5ct/qss/";
+ return QT5CT_DATADIR"/lthemeengine/qss/";
}
QString Qt5CT::userColorSchemePath()
@@ -97,7 +97,7 @@ QString Qt5CT::userColorSchemePath()
QString Qt5CT::sharedColorSchemePath()
{
- return QT5CT_DATADIR"/qt5ct/colors/";
+ return QT5CT_DATADIR"/lthemeengine/colors/";
}
QString Qt5CT::systemLanguageID()
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.desktop b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.desktop
index 1c5f6560..be2bde14 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.desktop
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.desktop
@@ -53,7 +53,7 @@ Comment[zh_TW]=Qt5 設定工具
Name[zh_TW]=Qt5 設定
-Exec=qt5ct
+Exec=lthemeengine
Icon=preferences-desktop-theme
Terminal=false
Type=Application
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.h b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.h
index 1aecd741..1aecd741 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.h
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.h
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.pro b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.pro
index 0f9724f1..07677fe3 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qt5ct.pro
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/lthemengine.pro
@@ -1,4 +1,4 @@
-include(../../qt5ct.pri)
+include(../../lthemeengine.pri)
TEMPLATE = app
@@ -10,7 +10,7 @@ SOURCES += \
tabpage.cpp \
appearancepage.cpp \
fontspage.cpp \
- qt5ct.cpp \
+ lthemeengine.cpp \
paletteeditdialog.cpp \
iconthemepage.cpp \
interfacepage.cpp \
@@ -35,7 +35,7 @@ HEADERS += \
tabpage.h \
appearancepage.h \
fontspage.h \
- qt5ct.h \
+ lthemeengine.h \
paletteeditdialog.h \
iconthemepage.h \
interfacepage.h \
@@ -51,7 +51,7 @@ RESOURCES = translations/translations.qrc
target.path = $$BINDIR
-desktop.files = qt5ct.desktop
+desktop.files = lthemeengine.desktop
desktop.path = $$DATADIR/applications
INSTALLS += target desktop
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
index d15c9c01..f4a14222 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
@@ -29,7 +29,7 @@
#include <QApplication>
#include <QLibraryInfo>
#include <QLocale>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include <QTranslator>
#include <QMessageBox>
#include <QProcessEnvironment>
@@ -41,7 +41,7 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
QTranslator translator;
QString locale = Qt5CT::systemLanguageID();
- translator.load(QString(":/qt5ct_") + locale);
+ translator.load(QString(":/lthemeengine_") + locale);
app.installTranslator(&translator);
QTranslator qt_translator;
@@ -60,15 +60,15 @@ int main(int argc, char **argv)
errorMessages << app.translate("main", "Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable");
}
- if(env.value("QT_QPA_PLATFORMTHEME") != "qt5ct")
+ if(env.value("QT_QPA_PLATFORMTHEME") != "lthemeengine")
{
errorMessages << app.translate("main", "The <b>QT_QPA_PLATFORMTHEME</b> environment "
"variable is not set correctly");
}
- if(!QStyleFactory::keys().contains("qt5ct-style"))
+ if(!QStyleFactory::keys().contains("lthemeengine-style"))
{
- errorMessages << app.translate("main", "Unable to find <b>libqt5ct-style.so</b>");
+ errorMessages << app.translate("main", "Unable to find <b>liblthemeengine-style.so</b>");
}
if(!errorMessages.isEmpty())
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
index b120436f..ce3bd6b8 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
@@ -28,7 +28,7 @@
#include <QApplication>
#include <QSettings>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "mainwindow.h"
#include "appearancepage.h"
#include "fontspage.h"
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/paletteeditdialog.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/paletteeditdialog.cpp
index 31a3a2a9..f297b55c 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/paletteeditdialog.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/paletteeditdialog.cpp
@@ -29,7 +29,7 @@
#include <QPalette>
#include <QColorDialog>
#include <QSettings>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "paletteeditdialog.h"
#include "ui_paletteeditdialog.h"
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp
index 7c6292ac..fbe52cf9 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp
@@ -28,7 +28,7 @@
#include <QFile>
#include <QSettings>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "qsseditordialog.h"
#include "ui_qsseditordialog.h"
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 784ff674..f2f05ae9 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
@@ -32,7 +32,7 @@
#include <QMessageBox>
#include <QFile>
#include <QMenu>
-#include "qt5ct.h"
+#include "lthemeengine.h"
#include "qsseditordialog.h"
#include "qsspage.h"
#include "ui_qsspage.h"
bgstack15