CCIMXDesktop
 
Loading...
Searching...
No Matches
DesktopDirentLocationManager.h
1#ifndef DESKTOPDIRENTLOCATIONMANAGER_H
2#define DESKTOPDIRENTLOCATIONMANAGER_H
3#include "DesktopDirentInfoSettings.h"
4#include <QObject>
6class DesktopDirentLocationManager : public QObject {
7 Q_OBJECT
8public:
9 explicit DesktopDirentLocationManager(const QString& root_path, DesktopMainWindow* parent = nullptr);
10 void checkSelfOnce();
11 QString queryFromType(const DesktopDirentType type);
12 QString queryFromType(const DesktopServerType serverType);
13 bool checkComponentFolder(const DesktopDirentType type);
14 bool checkServerFolder(const DesktopServerType serverType);
15
16signals:
17 void missingDirentFolder(const QString& folder, const DesktopDirentType type);
18 void missingServerFolder(const QString& folder, const DesktopServerType type);
19
20private:
21 QString root_path;
22 DesktopMainWindow* bindingWindow;
23 void check_root_path_sessions();
24 void iterate_check_basefolder_components(const DesktopDirentType t, const QString& metaMessage);
25 void iterate_check_server_components(const DesktopServerType t, const QString& metaMessage);
26 void check_up_toast_infomations();
27};
28
29#endif // DESKTOPDIRENTLOCATIONMANAGER_H
Definition DesktopDirentLocationManager.h:6
DesktopMainWindow is the main frontend window of the application. For beginners, this is the starting...
Definition desktopmainwindow.h:33