Kylin/Fluent/App.cpp
2024-08-21 23:26:43 +08:00

27 lines
532 B
C++

#include "App.h"
App::App(QObject *parent) : QObject{parent} {
}
QString App::windowIcon() const {
return m_windowIcon;
}
void App::setWindowIcon(const QString &icon) {
if (m_windowIcon != icon) {
m_windowIcon = icon;
emit windowIconChanged();
}
}
bool App::useSystemAppBar() const {
return m_useSystemAppBar;
}
void App::setUseSystemAppBar(bool use) {
if (m_useSystemAppBar != use) {
m_useSystemAppBar = use;
emit useSystemAppBarChanged();
}
}