chore: split cmake into multiple files and fix settings searching regex + add enabled option to llm
C++ / fmt (pull_request) Successful in 4s
JS/TS / fmt (pull_request) Failing after 17s
JS/TS / lint (pull_request) Successful in 19s
Python / static (pull_request) Successful in 1m11s
Rust / fmt (pull_request) Successful in 1m3s
Rust / build (pull_request) Successful in 2m26s
Rust / clippy (pull_request) Failing after 16m40s
Python / verify (pull_request) Failing after 17m52s
C++ / clang-tidy (pull_request) Failing after 18m0s
C++ / build (pull_request) Failing after 18m2s
C++ / fmt (pull_request) Successful in 4s
JS/TS / fmt (pull_request) Failing after 17s
JS/TS / lint (pull_request) Successful in 19s
Python / static (pull_request) Successful in 1m11s
Rust / fmt (pull_request) Successful in 1m3s
Rust / build (pull_request) Successful in 2m26s
Rust / clippy (pull_request) Failing after 16m40s
Python / verify (pull_request) Failing after 17m52s
C++ / clang-tidy (pull_request) Failing after 18m0s
C++ / build (pull_request) Failing after 18m2s
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include <qcontainerfwd.h>
|
||||
#include <qobject.h>
|
||||
#include <qqmlintegration.h>
|
||||
#include <qtmetamacros.h>
|
||||
#include <qvariant.h>
|
||||
|
||||
namespace ZShell {
|
||||
|
||||
@@ -32,7 +34,24 @@ class ZUtils : public QObject {
|
||||
|
||||
Q_INVOKABLE static qreal clamp(qreal value, qreal min, qreal max);
|
||||
|
||||
Q_INVOKABLE static QString settingsIndex();
|
||||
Q_INVOKABLE static QString enumToString(
|
||||
QObject* target,
|
||||
const QString& property,
|
||||
const QVariant& value = QVariant());
|
||||
|
||||
Q_INVOKABLE static QString gitRevision();
|
||||
Q_INVOKABLE static QString readTextFile(const QString& path);
|
||||
Q_INVOKABLE static bool writeTextFile(
|
||||
const QString& path, const QString& text);
|
||||
Q_INVOKABLE static QStringList listFiles(
|
||||
const QString& dir, const QString& suffix);
|
||||
|
||||
Q_INVOKABLE static QQuickItem* findChild(
|
||||
QQuickItem* root, const QString& name);
|
||||
Q_INVOKABLE static QList<QQuickItem*> findChildren(
|
||||
QQuickItem* root, const QString& name);
|
||||
Q_INVOKABLE static QList<QQuickItem*> findChildrenMatching(
|
||||
QQuickItem* root, const QString& pattern);
|
||||
|
||||
[[nodiscard]] QString version() const;
|
||||
[[nodiscard]] QString qtVersion() const;
|
||||
|
||||
Reference in New Issue
Block a user