mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
clang-tidy warning fixes
This commit is contained in:
@ -45,15 +45,15 @@ public:
|
||||
~DPAdds() override;
|
||||
Q_INVOKABLE static bool isDebugEnabled();
|
||||
Q_INVOKABLE static int currentDesktop();
|
||||
Q_INVOKABLE static QStringList dictKeys(const bool _sorted = true, const QString &_regexp = "");
|
||||
Q_INVOKABLE static QStringList dictKeys(bool _sorted = true, const QString &_regexp = "");
|
||||
Q_INVOKABLE static int numberOfDesktops();
|
||||
Q_INVOKABLE QString toolTipImage(const int _desktop) const;
|
||||
Q_INVOKABLE QString parsePattern(const QString &_pattern, const int _desktop) const;
|
||||
Q_INVOKABLE [[nodiscard]] QString toolTipImage(int _desktop) const;
|
||||
Q_INVOKABLE [[nodiscard]] QString parsePattern(const QString &_pattern, int _desktop) const;
|
||||
// values
|
||||
Q_INVOKABLE void setMark(const QString &_newMark);
|
||||
Q_INVOKABLE void setToolTipData(const QVariantMap &_tooltipData);
|
||||
Q_INVOKABLE static QString infoByKey(const QString &_key);
|
||||
Q_INVOKABLE QString valueByKey(const QString &_key, int _desktop = -1) const;
|
||||
Q_INVOKABLE [[nodiscard]] QString valueByKey(const QString &_key, int _desktop = -1) const;
|
||||
// configuration slots
|
||||
Q_INVOKABLE static QString getAboutText(const QString &_type);
|
||||
Q_INVOKABLE static QVariantMap getFont(const QVariantMap &_defaultFont);
|
||||
@ -64,10 +64,10 @@ signals:
|
||||
|
||||
public slots:
|
||||
Q_INVOKABLE static void sendNotification(const QString &_eventId, const QString &_message);
|
||||
Q_INVOKABLE static void setCurrentDesktop(const int _desktop);
|
||||
Q_INVOKABLE static void setCurrentDesktop(int _desktop);
|
||||
|
||||
private:
|
||||
static DesktopWindowsInfo getInfoByDesktop(const int _desktop);
|
||||
static DesktopWindowsInfo getInfoByDesktop(int _desktop);
|
||||
// variables
|
||||
int m_tooltipWidth = 200;
|
||||
QString m_mark = "*";
|
||||
|
Reference in New Issue
Block a user