Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
+8
-11
@@ -10,29 +10,26 @@ class QPluginLoader;
|
||||
|
||||
namespace LtsUtils
|
||||
{
|
||||
class LTSUTILSGUISTYLEMANAGER_EXPORT StyleManager : public QObject
|
||||
{
|
||||
class LTSUTILSGUISTYLEMANAGER_EXPORT StyleManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
using QObject::QObject;
|
||||
~StyleManager() = default;
|
||||
|
||||
public:
|
||||
static StyleManager* getInstance();
|
||||
static StyleManager *getInstance();
|
||||
|
||||
bool loadStyle(const QString& stylePluginName, bool highDpi = false);
|
||||
bool loadStyle(const QString &stylePluginName, bool highDpi = false);
|
||||
|
||||
const QString& currentStyleName() const
|
||||
{
|
||||
return m_stylePluginName;
|
||||
}
|
||||
const QString ¤tStyleName() const { return m_stylePluginName; }
|
||||
|
||||
private:
|
||||
friend struct StyleManagerHandler;
|
||||
|
||||
QPluginLoader* m_currentStylePluginLoader = nullptr;
|
||||
QPluginLoader *m_currentStylePluginLoader = nullptr;
|
||||
QString m_stylePluginName;
|
||||
|
||||
signals:
|
||||
void signalStyleChanged(const QString& stylePluginName);
|
||||
};
|
||||
void signalStyleChanged(const QString &stylePluginName);
|
||||
};
|
||||
} // namespace LtsUtils
|
||||
Reference in new issue
Block a user