diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
| commit | a64ef966534f8dba6af889ba4bfce15691bfc85b (patch) | |
| tree | b30f284d05b80fa115569ab220deae13797fad6f /raveos-calamares-module/raveusers/RaveUsersBackend.h | |
| parent | 919f977b40016f588b0c8532c8a57f6035056b95 (diff) | |
| download | RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.tar.gz RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.zip | |
új telepítő
Diffstat (limited to 'raveos-calamares-module/raveusers/RaveUsersBackend.h')
| -rw-r--r-- | raveos-calamares-module/raveusers/RaveUsersBackend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/raveos-calamares-module/raveusers/RaveUsersBackend.h b/raveos-calamares-module/raveusers/RaveUsersBackend.h index 4e06f47..06a6fad 100644 --- a/raveos-calamares-module/raveusers/RaveUsersBackend.h +++ b/raveos-calamares-module/raveusers/RaveUsersBackend.h @@ -17,6 +17,7 @@ class RaveUsersBackend : public QObject Q_PROPERTY( bool ready READ isReady NOTIFY readyChanged ) Q_PROPERTY( bool reuseRootPassword READ reuseRootPassword NOTIFY reuseRootPasswordChanged ) Q_PROPERTY( bool rootReuseVisible READ rootReuseVisible CONSTANT ) + Q_PROPERTY( bool autoLogin READ autoLogin NOTIFY autoLoginChanged ) public: explicit RaveUsersBackend( QObject* parent = nullptr ); @@ -29,6 +30,7 @@ public: QString rootPasswordStatus() const; bool isReady() const; bool reuseRootPassword() const { return m_reuseRootPassword; } + bool autoLogin() const { return m_autoLogin; } bool rootReuseVisible() const { return m_setRootPassword; } QString userPassword() const { return m_password; } @@ -48,6 +50,7 @@ public: Q_INVOKABLE void setRootPasswordText( const QString& s ); Q_INVOKABLE void setRootPasswordSecondaryText( const QString& s ); Q_INVOKABLE void setReuseRootPassword( bool b ); + Q_INVOKABLE void setAutoLogin( bool b ); void setForbiddenLoginNames( const QStringList& names ) { m_forbiddenLoginNames = names; } void setForbiddenHostNames( const QStringList& names ) { m_forbiddenHostNames = names; } @@ -64,6 +67,7 @@ signals: void statusChanged(); void readyChanged(); void reuseRootPasswordChanged(); + void autoLoginChanged(); private: void checkReady(); @@ -76,6 +80,7 @@ private: QString m_rootPasswordSecondary; bool m_customHostname = false; bool m_reuseRootPassword = true; + bool m_autoLogin = false; bool m_setRootPassword = true; QStringList m_forbiddenLoginNames; |