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
@@ -12,22 +12,22 @@ class QJsonObject;
|
||||
namespace LtsUtils
|
||||
{
|
||||
|
||||
class LTSUTILSSETTINGS_EXPORT Settings : public QObject
|
||||
{
|
||||
class LTSUTILSSETTINGS_EXPORT Settings : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
~Settings() = default;
|
||||
|
||||
void setValue(const QString& group, const QString& identifier, const QVariant& value);
|
||||
void setValue(const QString &group, const QString &identifier, const QVariant &value);
|
||||
|
||||
void removeValue(const QString& group, const QString& identifier);
|
||||
void removeValue(const QString &group, const QString &identifier);
|
||||
|
||||
QVariant value(const QString& group, const QString& identifier, const QVariant& defaultValue = QVariant()) const;
|
||||
QVariant value(const QString &group, const QString &identifier, const QVariant &defaultValue = QVariant()) const;
|
||||
|
||||
QStringList identifiers(const QString& group) const;
|
||||
QStringList identifiers(const QString &group) const;
|
||||
|
||||
void init(const QByteArray& settings);
|
||||
void init(const QByteArray &settings);
|
||||
QByteArray exportSettings() const;
|
||||
void clear();
|
||||
|
||||
@@ -37,28 +37,28 @@ class LTSUTILSSETTINGS_EXPORT Settings : public QObject
|
||||
Settings() = default;
|
||||
|
||||
signals:
|
||||
void valueChanged(const QString& group, const QString& identifier, const QVariant& value);
|
||||
void valueRemoved(const QString& group, const QString& identifier);
|
||||
void valueChanged(const QString &group, const QString &identifier, const QVariant &value);
|
||||
void valueRemoved(const QString &group, const QString &identifier);
|
||||
|
||||
protected:
|
||||
QHash<QString, QVariant> m_data;
|
||||
};
|
||||
};
|
||||
|
||||
class LTSUTILSSETTINGS_EXPORT OperatorSettings : public Settings
|
||||
{
|
||||
class LTSUTILSSETTINGS_EXPORT OperatorSettings : public Settings
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
static OperatorSettings* getInstance();
|
||||
};
|
||||
static OperatorSettings *getInstance();
|
||||
};
|
||||
|
||||
class LTSUTILSSETTINGS_EXPORT ProjectSettings : public Settings
|
||||
{
|
||||
class LTSUTILSSETTINGS_EXPORT ProjectSettings : public Settings
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
static ProjectSettings* getInstance();
|
||||
static ProjectSettings *getInstance();
|
||||
|
||||
static bool initFromFile(const QString& filename);
|
||||
static bool isFunctionEnabled(const QString& group, const QString& function);
|
||||
};
|
||||
static bool initFromFile(const QString &filename);
|
||||
static bool isFunctionEnabled(const QString &group, const QString &function);
|
||||
};
|
||||
|
||||
} // namespace LtsUtils
|
||||
Reference in new issue
Block a user