27 lines
532 B
C++
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();
|
||
|
}
|
||
|
}
|