27 #ifndef ZAPPLICATION_H 28 #define ZAPPLICATION_H 30 #include <QtQuick/QQuickView> 37 #define zApp (Zbl::Zblcore::zApplication()) 114 static QString resolvePath(
const QString& path,
115 bool includeUrlScheme =
true);
131 static QString resolvePath(
132 const QString& prefix,
135 bool includeUrlScheme =
true);
143 static QString getPathScheme(
const QString& path);
150 static QString removePathScheme(
const QString& path);
170 static bool hasPathScheme(
const QString& path);
179 static QString getRootPath();
187 static QString getMainQmlPath();
196 static QString getDataPath();
204 static QString getAppName();
212 static QString getOrganization();
219 static QString getCurrentThreadAddress();
226 static QString getObjectThreadAddress(QObject*
object);
232 static void debugObjectThreadAddress(
const char* label, QObject* obj);
239 static void debugCompareThreadAddress(
const char* label, QObject* obj);
245 static void debugCurrentThreadAddress(
const char* label);
252 static void debugGuiThreadAddress(
const char* label);
260 void addThreadApp(
ZblApp* appObject);
268 void removeThreadApp(
ZblApp* appObject);
303 Q_INVOKABLE QVariant getAppData(
int tag);
317 void settingsBundleAvailable(QString bundleId);
331 bool initDefaultApplicationSettings();
434 #endif // ZAPPLICATION_H enum Zbl::ZApplication::zAppDataTag appDataTag
static const QString m_settingMetadataInitName
Name of default settings metadata file in user's home directory, created if no metadata file found in...
static const QString m_defaultSettingsID
The Zuble application settings application name.
#define ZBLCORESHARED_EXPORT
static ZTextFeed m_status
The main application status text feed.
#define ZBL_DECLARE_LOGGED_OBJECT
static const QString m_settingMetadataFileName
Name of default settings metadata file in Zuble application directory.
This class provides a means of directing a text stream to listeners.
static const QString m_fileUrlPrefix
URL scheme used to specify local file location: "file://".
static const QString m_dataPathPrefix
URL scheme used to specify user's Zuble data directory location: "data://".
static const QString m_defaultApplication
The Zuble application default application name.
static const QString m_appPathPrefix
URL scheme used to specify Zuble app directory location: "zbl://".
static const QString m_resourcePathPrefix
URL scheme used to specify Qt binary resource location: "qrc://".
static const QString m_defaultOrganization
The Zuble application default organization name, "zuble".
static const QString m_homePathPrefix
URL scheme used to specify user's home directory location: "home://".
static const QString m_defaultZubleAppSettings
Settings metadata to use when no other settings data can be found.
The primary QML API to the Zuble plugin library. Zuble applications access this object through the ja...
Zuble's Singleton Application Object.
static QList< ZblApp * > m_zappObjects