Debian Codegraph @

src/app/app.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/app/app.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "config.h"cxx . . $ `<file>/build/src/config.h`/
7 #include "singleinstance.h"cxx . . $ `<file>/src/app/singleinstance.h`/
8 #include <QCommandLineParser>
9 #include <QObject>
10 #include <QRect>
11 #include <QString>
12 #include <QStringList>
13 #include <QTimer>
14 #include <QVariant>
15 #include <memory>
16 #include <string_view>
17
18 class IHelperControlcxx . . $ IHelperControl#;
19 class ISessioncxx . . $ ISession#;
20 class ISysModelSyncercxx . . $ ISysModelSyncer#;
21 class IUIFactorycxx . . $ IUIFactory#;
22 class QApplicationcxx . . $ QApplication#;
23 class QQmlApplicationEnginecxx . . $ QQmlApplicationEngine#;
24 class QQuickWindowcxx . . $ QQuickWindow#;
25 class QTranslatorcxx . . $ QTranslator#;
26 class Settingscxx . . $ Settings#;
27 class SysTraycxx . . $ SysTray#;
28
29 class AppInfocxx . . $ AppInfo# final : public QObjectcxx . . $ QObject#
30 {
31 Q_OBJECTcxx . . $ AppInfo#qt_staticMetaObjectContent.
32 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(QString name READ getName CONSTANT)
33 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(QString version READ getVersion CONSTANT)
34
35 public:
36 AppInfocxx . . $ AppInfo#AppInfo(62297a3c612b74f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# appName, stdcxx . . $ std/::string_viewcxx . . $ std/string_view# appVersion) noexcept
37 : QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).()
38 , name_cxx . . $ QString#QString(85c52e162fed56f9).(appName.datacxx . . $ std/basic_string_view#data(8e614c7de0b1573e).())
39 , version_cxx . . $ QString#QString(85c52e162fed56f9).(appVersion.datacxx . . $ std/basic_string_view#data(8e614c7de0b1573e).())
40 {
41 }
42
43 QStringcxx . . $ QString# const &getNamecxx . . $ AppInfo#getName(a2fb7a6ce195d51).() const
44 {
45 return name_cxx . . $ AppInfo#name_.;
46 }
47
48 QStringcxx . . $ QString# const &getVersioncxx . . $ AppInfo#getVersion(a2fb7a6ce195d51).() const
49 {
50 return version_cxx . . $ AppInfo#version_.;
51 }
52
53 private:
54 QStringcxx . . $ QString# const name_cxx . . $ AppInfo#name_.;
55 QStringcxx . . $ QString# const version_cxx . . $ AppInfo#version_.;
56 };
57
58 class Appcxx . . $ App# final : public QObjectcxx . . $ QObject#
59 {
60 Q_OBJECTcxx . . $ App#qt_create_metaobjectdata(a52531b27a9fa42b).
61
62 public:
63 static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# Namecxx . . $ App#Name.{PROJECT_NAMEcxx . . $ `build/src/config.h:6:9`!};
64 static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# VersionStrcxx . . $ App#VersionStr.{PROJECT_VERSIONcxx . . $ `build/src/config.h:7:9`!};
65 static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# Fqdncxx . . $ std/basic_string_view#basic_string_view(837a1ee5a10cb792).{PROJECT_FQDNcxx . . $ `build/src/config.h:8:9`!};
66 static constexpr QRectcxx . . $ QRect# DefaultWindowGeometrycxx . . $ App#DefaultWindowGeometry.{0, 0, 970, 600};
67
68 Appcxx . . $ App#App(ced63f7c635d850d).() noexcept;
69 ~cxx . . $ App#`~App`(ced63f7c635d850d).Appcxx . . $ App#();
70
71 int execcxx . . $ App#exec(afcd3168fc1188a4).(int argc, char **argv);
72
73 private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
74 void exitcxx . . $ App#exit(49f6e7a06ebc5aa8).();
75 void showMainWindowcxx . . $ App#showMainWindow(b45ddcbc8423892c).(bool show);
76 void onNewInstancecxx . . $ App#onNewInstance(3735af3af936f19).(QStringListcxx . . $ QStringList# args);
77 void onSysTrayActivatedcxx . . $ App#onSysTrayActivated(49f6e7a06ebc5aa8).();
78 void onSettingChangedcxx . . $ App#onSettingChanged(1c60a90c724e6bfb).(QStringcxx . . $ QString# const &key, QVariantcxx . . $ QVariant# const &value);
79 void saveMainWindowGeometrycxx . . $ App#saveMainWindowGeometry(49f6e7a06ebc5aa8).();
80
81 private:
82 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<QApplicationcxx . . $ QApplication#> createApplicationcxx . . $ App#createApplication(18e5855537ba6ac6).(int &argc, char **argv);
83 bool buildComponentscxx . . $ App#buildComponents(f2fa5d72e9dda83e).(QQmlApplicationEnginecxx . . $ QQmlApplicationEngine# &qmlEngine, int helperTimeout,
84 bool logCommands, bool logProfileStack);
85 void buildUIcxx . . $ App#buildUI(f2395b2996da6f82).(stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IUIFactorycxx . . $ IUIFactory#> &&uiFactory,
86 QQmlApplicationEnginecxx . . $ QQmlApplicationEngine# &qmlEngine);
87 void loadTranslationcxx . . $ App#loadTranslation(708c03dc0e9d9c50).(QApplicationcxx . . $ QApplication# &app, QTranslatorcxx . . $ QTranslator# &translator);
88 int helperTimeoutcxx . . $ App#helperTimeout(7ccb52b1bfe01045).(int defaultTimeout) const;
89 void setupCmdParsercxx . . $ App#setupCmdParser(d3b3afeca10188ab).(QApplicationcxx . . $ QApplication# &app, int defaultHelperTimeout);
90 void setupSysTrayWindowStatecxx . . $ App#setupSysTrayWindowState(49f6e7a06ebc5aa8).();
91 void setupMainWindowGeometrycxx . . $ App#setupMainWindowGeometry(49f6e7a06ebc5aa8).();
92 void restoreMainWindowGeometrycxx . . $ App#restoreMainWindowGeometry(49f6e7a06ebc5aa8).();
93 bool handleLoggingCmdscxx . . $ App#handleLoggingCmds(c9857a73d68e59ba).();
94 bool handleManualProfileCmdcxx . . $ App#handleManualProfileCmd(c9857a73d68e59ba).();
95 bool handleWindowVisibilityCmdscxx . . $ App#handleWindowVisibilityCmds(c9857a73d68e59ba).();
96
97 AppInfocxx . . $ AppInfo# appInfo_cxx . . $ App#appInfo_.;
98 SingleInstancecxx . . $ SingleInstance# singleInstance_cxx . . $ App#singleInstance_.;
99 QCommandLineParsercxx . . $ QCommandLineParser# cmdParser_cxx . . $ App#cmdParser_.;
100 QTimercxx . . $ QTimer# geometrySaveTimer_cxx . . $ App#geometrySaveTimer_.;
101
102 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IHelperControlcxx . . $ IHelperControl#> helperControl_cxx . . $ App#helperControl_.;
103 stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<ISysModelSyncercxx . . $ ISysModelSyncer#> sysSyncer_cxx . . $ App#sysSyncer_.;
104 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ISessioncxx . . $ ISession#> session_cxx . . $ App#session_.;
105 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Settingscxx . . $ Settings#> settings_cxx . . $ App#settings_.;
106
107 bool noop_cxx . . $ App#noop_.{false};
108 QQuickWindowcxx . . $ QQuickWindow# *mainWindow_cxx . . $ App#mainWindow_.{nullptr};
109 SysTraycxx . . $ SysTray# *sysTray_cxx . . $ App#sysTray_.{nullptr};
110 };