Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QStandardPaths
Sub-classes: LocateOption, QFlags_LocateOption, StandardLocation, QFlags_StandardLocation
new QStandardPaths ptr | new | Creates a new object of this class |
[const] | QStandardPaths ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. |
[static,const] | QStandardPaths_StandardLocation | AppConfigLocation | Enum constant QStandardPaths::AppConfigLocation | |
[static,const] | QStandardPaths_StandardLocation | AppDataLocation | Enum constant QStandardPaths::AppDataLocation | |
[static,const] | QStandardPaths_StandardLocation | AppLocalDataLocation | Enum constant QStandardPaths::AppLocalDataLocation | |
[static,const] | QStandardPaths_StandardLocation | ApplicationsLocation | Enum constant QStandardPaths::ApplicationsLocation | |
[static,const] | QStandardPaths_StandardLocation | CacheLocation | Enum constant QStandardPaths::CacheLocation | |
[static,const] | QStandardPaths_StandardLocation | ConfigLocation | Enum constant QStandardPaths::ConfigLocation | |
[static,const] | QStandardPaths_StandardLocation | DataLocation | Enum constant QStandardPaths::DataLocation | |
[static,const] | QStandardPaths_StandardLocation | DesktopLocation | Enum constant QStandardPaths::DesktopLocation | |
[static,const] | QStandardPaths_StandardLocation | DocumentsLocation | Enum constant QStandardPaths::DocumentsLocation | |
[static,const] | QStandardPaths_StandardLocation | DownloadLocation | Enum constant QStandardPaths::DownloadLocation | |
[static,const] | QStandardPaths_StandardLocation | FontsLocation | Enum constant QStandardPaths::FontsLocation | |
[static,const] | QStandardPaths_StandardLocation | GenericCacheLocation | Enum constant QStandardPaths::GenericCacheLocation | |
[static,const] | QStandardPaths_StandardLocation | GenericConfigLocation | Enum constant QStandardPaths::GenericConfigLocation | |
[static,const] | QStandardPaths_StandardLocation | GenericDataLocation | Enum constant QStandardPaths::GenericDataLocation | |
[static,const] | QStandardPaths_StandardLocation | HomeLocation | Enum constant QStandardPaths::HomeLocation | |
[static,const] | QStandardPaths_LocateOption | LocateDirectory | Enum constant QStandardPaths::LocateDirectory | |
[static,const] | QStandardPaths_LocateOption | LocateFile | Enum constant QStandardPaths::LocateFile | |
[static,const] | QStandardPaths_StandardLocation | MoviesLocation | Enum constant QStandardPaths::MoviesLocation | |
[static,const] | QStandardPaths_StandardLocation | MusicLocation | Enum constant QStandardPaths::MusicLocation | |
[static,const] | QStandardPaths_StandardLocation | PicturesLocation | Enum constant QStandardPaths::PicturesLocation | |
[static,const] | QStandardPaths_StandardLocation | RuntimeLocation | Enum constant QStandardPaths::RuntimeLocation | |
[static,const] | QStandardPaths_StandardLocation | TempLocation | Enum constant QStandardPaths::TempLocation | |
string | displayName | (const QStandardPaths_StandardLocation type) | Static method QString QStandardPaths::displayName(QStandardPaths::StandardLocation type) | |
void | enableTestMode | (bool testMode) | Static method void QStandardPaths::enableTestMode(bool testMode) | |
string | findExecutable | (string executableName, string[] paths = QStringList()) | Static method QString QStandardPaths::findExecutable(const QString &executableName, const QStringList &paths) | |
bool | isTestModeEnabled? | Static method bool QStandardPaths::isTestModeEnabled() | ||
string | locate | (const QStandardPaths_StandardLocation type, string fileName, QStandardPaths_QFlags_LocateOption options = QStandardPaths::LocateFile) | Static method QString QStandardPaths::locate(QStandardPaths::StandardLocation type, const QString &fileName, QFlags<QStandardPaths::LocateOption> options) | |
string[] | locateAll | (const QStandardPaths_StandardLocation type, string fileName, QStandardPaths_QFlags_LocateOption options = QStandardPaths::LocateFile) | Static method QStringList QStandardPaths::locateAll(QStandardPaths::StandardLocation type, const QString &fileName, QFlags<QStandardPaths::LocateOption> options) | |
void | setTestModeEnabled | (bool testMode) | Static method void QStandardPaths::setTestModeEnabled(bool testMode) | |
string[] | standardLocations | (const QStandardPaths_StandardLocation type) | Static method QStringList QStandardPaths::standardLocations(QStandardPaths::StandardLocation type) | |
bool | testModeEnabled | Static method bool QStandardPaths::isTestModeEnabled() | ||
void | testModeEnabled= | (bool testMode) | Static method void QStandardPaths::setTestModeEnabled(bool testMode) | |
string | writableLocation | (const QStandardPaths_StandardLocation type) | Static method QString QStandardPaths::writableLocation(QStandardPaths::StandardLocation type) |
void | create | Use of this method is deprecated. Use _create instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
AppConfigLocation | Signature: [static,const] QStandardPaths_StandardLocation AppConfigLocation Description: Enum constant QStandardPaths::AppConfigLocation Python specific notes: |
AppDataLocation | Signature: [static,const] QStandardPaths_StandardLocation AppDataLocation Description: Enum constant QStandardPaths::AppDataLocation Python specific notes: |
AppLocalDataLocation | Signature: [static,const] QStandardPaths_StandardLocation AppLocalDataLocation Description: Enum constant QStandardPaths::AppLocalDataLocation Python specific notes: |
ApplicationsLocation | Signature: [static,const] QStandardPaths_StandardLocation ApplicationsLocation Description: Enum constant QStandardPaths::ApplicationsLocation Python specific notes: |
CacheLocation | Signature: [static,const] QStandardPaths_StandardLocation CacheLocation Description: Enum constant QStandardPaths::CacheLocation Python specific notes: |
ConfigLocation | Signature: [static,const] QStandardPaths_StandardLocation ConfigLocation Description: Enum constant QStandardPaths::ConfigLocation Python specific notes: |
DataLocation | Signature: [static,const] QStandardPaths_StandardLocation DataLocation Description: Enum constant QStandardPaths::DataLocation Python specific notes: |
DesktopLocation | Signature: [static,const] QStandardPaths_StandardLocation DesktopLocation Description: Enum constant QStandardPaths::DesktopLocation Python specific notes: |
DocumentsLocation | Signature: [static,const] QStandardPaths_StandardLocation DocumentsLocation Description: Enum constant QStandardPaths::DocumentsLocation Python specific notes: |
DownloadLocation | Signature: [static,const] QStandardPaths_StandardLocation DownloadLocation Description: Enum constant QStandardPaths::DownloadLocation Python specific notes: |
FontsLocation | Signature: [static,const] QStandardPaths_StandardLocation FontsLocation Description: Enum constant QStandardPaths::FontsLocation Python specific notes: |
GenericCacheLocation | Signature: [static,const] QStandardPaths_StandardLocation GenericCacheLocation Description: Enum constant QStandardPaths::GenericCacheLocation Python specific notes: |
GenericConfigLocation | Signature: [static,const] QStandardPaths_StandardLocation GenericConfigLocation Description: Enum constant QStandardPaths::GenericConfigLocation Python specific notes: |
GenericDataLocation | Signature: [static,const] QStandardPaths_StandardLocation GenericDataLocation Description: Enum constant QStandardPaths::GenericDataLocation Python specific notes: |
HomeLocation | Signature: [static,const] QStandardPaths_StandardLocation HomeLocation Description: Enum constant QStandardPaths::HomeLocation Python specific notes: |
LocateDirectory | Signature: [static,const] QStandardPaths_LocateOption LocateDirectory Description: Enum constant QStandardPaths::LocateDirectory Python specific notes: |
LocateFile | Signature: [static,const] QStandardPaths_LocateOption LocateFile Description: Enum constant QStandardPaths::LocateFile Python specific notes: |
MoviesLocation | Signature: [static,const] QStandardPaths_StandardLocation MoviesLocation Description: Enum constant QStandardPaths::MoviesLocation Python specific notes: |
MusicLocation | Signature: [static,const] QStandardPaths_StandardLocation MusicLocation Description: Enum constant QStandardPaths::MusicLocation Python specific notes: |
PicturesLocation | Signature: [static,const] QStandardPaths_StandardLocation PicturesLocation Description: Enum constant QStandardPaths::PicturesLocation Python specific notes: |
RuntimeLocation | Signature: [static,const] QStandardPaths_StandardLocation RuntimeLocation Description: Enum constant QStandardPaths::RuntimeLocation Python specific notes: |
TempLocation | Signature: [static,const] QStandardPaths_StandardLocation TempLocation Description: Enum constant QStandardPaths::TempLocation Python specific notes: |
_const_cast | Signature: [const] QStandardPaths ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
displayName | Signature: [static] string displayName (const QStandardPaths_StandardLocation type) Description: Static method QString QStandardPaths::displayName(QStandardPaths::StandardLocation type) This method is static and can be called without an instance. |
enableTestMode | Signature: [static] void enableTestMode (bool testMode) Description: Static method void QStandardPaths::enableTestMode(bool testMode) This method is static and can be called without an instance. |
findExecutable | Signature: [static] string findExecutable (string executableName, string[] paths = QStringList()) Description: Static method QString QStandardPaths::findExecutable(const QString &executableName, const QStringList &paths) This method is static and can be called without an instance. |
isTestModeEnabled? | Signature: [static] bool isTestModeEnabled? Description: Static method bool QStandardPaths::isTestModeEnabled() This method is static and can be called without an instance. Python specific notes: |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
locate | Signature: [static] string locate (const QStandardPaths_StandardLocation type, string fileName, QStandardPaths_QFlags_LocateOption options = QStandardPaths::LocateFile) Description: Static method QString QStandardPaths::locate(QStandardPaths::StandardLocation type, const QString &fileName, QFlags<QStandardPaths::LocateOption> options) This method is static and can be called without an instance. |
locateAll | Signature: [static] string[] locateAll (const QStandardPaths_StandardLocation type, string fileName, QStandardPaths_QFlags_LocateOption options = QStandardPaths::LocateFile) Description: Static method QStringList QStandardPaths::locateAll(QStandardPaths::StandardLocation type, const QString &fileName, QFlags<QStandardPaths::LocateOption> options) This method is static and can be called without an instance. |
new | Signature: [static] new QStandardPaths ptr new Description: Creates a new object of this class Python specific notes: |
setTestModeEnabled | Signature: [static] void setTestModeEnabled (bool testMode) Description: Static method void QStandardPaths::setTestModeEnabled(bool testMode) This method is static and can be called without an instance. Python specific notes: |
standardLocations | Signature: [static] string[] standardLocations (const QStandardPaths_StandardLocation type) Description: Static method QStringList QStandardPaths::standardLocations(QStandardPaths::StandardLocation type) This method is static and can be called without an instance. |
testModeEnabled | Signature: [static] bool testModeEnabled Description: Static method bool QStandardPaths::isTestModeEnabled() This method is static and can be called without an instance. Python specific notes: |
testModeEnabled= | Signature: [static] void testModeEnabled= (bool testMode) Description: Static method void QStandardPaths::setTestModeEnabled(bool testMode) This method is static and can be called without an instance. Python specific notes: |
writableLocation | Signature: [static] string writableLocation (const QStandardPaths_StandardLocation type) Description: Static method QString QStandardPaths::writableLocation(QStandardPaths::StandardLocation type) This method is static and can be called without an instance. |