TDE 0.1.0
 
Loading...
Searching...
No Matches
application.hpp
Go to the documentation of this file.
1
12#pragma once
13
14#include <qapplication.h>
15
16#include "tde/app/fetcher.hpp"
17#include "tde/app/launcher.hpp"
18#include "tde/common.hpp"
19#include "tde/settings.hpp"
21
22namespace tde {
23
28class TDE_PUBLIC Application : public QApplication
29{
30 Q_OBJECT
31
32private:
33 DesktopSettings _settings;
34
35 app::Fetcher _app_fetcher{ _settings.desktop_app_path() };
36 app::Launcher _app_launcher;
37
38 widgets::Desktop _desktop{ _settings };
39
40public:
47 Application(int argc, char** argv);
48
49 ~Application() override = default;
50
51private:
55 void _init();
56};
57
58}
Application for managing UI and other features.
Definition application.hpp:29
Desktop settings.
Definition settings.hpp:27
TDE_INLINE auto desktop_app_path() const
Get the desktop apps.json path.
Definition settings.hpp:114
Application fetcher from local config file.
Definition fetcher.hpp:28
Application launcher.
Definition launcher.hpp:27
Desktop widget, which is the root of UI.
Definition desktop.hpp:29
Some utility macros.
Desktop widget.
Application fetcher from local config file.
Application launcher.
Desktop settings.