QCStandardPaths Class Reference
#include <qcstandardpaths.h>
Inheritance diagram for QCStandardPaths:

Collaboration diagram for QCStandardPaths:

Public Types | |
enum StandardLocation { DesktopLocation, DocumentsLocation, FontsLocation, ApplicationsLocation, MusicLocation, MoviesLocation, PicturesLocation, TempLocation, HomeLocation, DataLocation, CacheLocation, GenericDataLocation, RuntimeLocation, ConfigLocation, DownloadLocation, GenericCacheLocation, GenericConfigLocation, AppDataLocation, AppConfigLocation, AppLocalDataLocation = DataLocation } | |
List of standard location. More... | |
Public Member Functions | |
QCStandardPaths (QObject *parent=0) | |
QML Wrapper of QStandardPaths. More... | |
~QCStandardPaths () | |
Q_INVOKABLE QStringList standardLocations (int standardLocation) | |
Q_INVOKABLE QString writableLocation (int standardLocation) | |
Q_INVOKABLE QString displayName (int standardLocation) | |
Member Enumeration Documentation
List of standard location.
Constructor & Destructor Documentation
|
explicit |
QML Wrapper of QStandardPaths.
StandardPaths QCStandardPaths
It is a singleton component
enumeration StandardPaths::stanardLocation It is equivalent to QStandardPaths::standardLocation()
Example:
console.log(StandardPaths.standardLocations(StandardPaths.ConfigLocation)); // Get standard location patsh of config.
QCStandardPaths::~QCStandardPaths | ( | ) |
Member Function Documentation
QString QCStandardPaths::displayName | ( | int | standardLocation | ) |
string StandardPaths::displayName(int standardLocation) It is equivalent to QStandardPaths::displayName()
QStringList QCStandardPaths::standardLocations | ( | int | standardLocation | ) |
array StandardPaths::standardLocations(int standardLocation) It is equivalent to QStandardPaths::standardLocations()
QString QCStandardPaths::writableLocation | ( | int | standardLocation | ) |
string StandardPaths::writableLocation(int standardLocation) It is equivalent to QStandardPaths::writableLocation()
The documentation for this class was generated from the following files:
- Gui/app/include/dnai/enums/qcstandardpaths.h
- Gui/app/src/dnai/enums/qcstandardpaths.cpp