config moved to c++ plugin, removed old qml + fileview implementation

This commit is contained in:
2026-08-13 02:25:26 +02:00
parent c29b91cd26
commit 3cd3209b28
341 changed files with 4851 additions and 3502 deletions
+38
View File
@@ -0,0 +1,38 @@
#include "Utilities.hpp"
UtilitiesSizes::UtilitiesSizes(QObject *parent) : ConfigSection(parent) {
m_toastWidth = 430;
m_width = 430;
wireSignals();
}
Toasts::Toasts(QObject *parent) : ConfigSection(parent) {
m_audioInputChanged = true;
m_audioOutputChanged = true;
m_capsLockChanged = true;
m_chargingChanged = true;
m_configLoaded = true;
m_dndChanged = true;
m_gameModeChanged = true;
m_kbLayoutChanged = true;
m_kbLimit = true;
m_nowPlaying = false;
m_numLockChanged = true;
m_vpnChanged = true;
wireSignals();
}
Vpn::Vpn(QObject *parent) : ConfigSection(parent) {
m_enabled = false;
m_provider = { QStringLiteral("netbird") };
wireSignals();
}
Utilities::Utilities(QObject *parent) : ConfigSection(parent) {
m_enabled = true;
m_maxToasts = 4;
m_sizes = new UtilitiesSizes(this);
m_toasts = new Toasts(this);
m_vpn = new Vpn(this);
wireSignals();
}