java.lang.Object
io.qt.QtObject
io.qt.core.QStandardPaths
- All Implemented Interfaces:
QtObjectInterface
Methods for accessing standard paths
Java wrapper for Qt's class QStandardPaths
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QStandardPaths::LocateOptionstatic final class
QFlags type for enumQStandardPaths.LocateOption
static enum
Java wrapper for Qt enum QStandardPaths::StandardLocationNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static void
enableTestMode
(boolean testMode) Deprecated.static String
findExecutable
(String executableName) Overloaded function forfindExecutable(java.lang.String, java.util.Collection)
withpaths = new java.util.ArrayList<String>()
.static String
findExecutable
(String executableName, Collection<String> paths) static boolean
static String
locate
(QStandardPaths.StandardLocation type, String fileName) Overloaded function forlocate(io.qt.core.QStandardPaths.StandardLocation, java.lang.String, io.qt.core.QStandardPaths.LocateOptions)
withoptions = new io.qt.core.QStandardPaths.LocateOptions(0)
.static String
locate
(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOption ... options) static String
locate
(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOptions options) static QStringList
locateAll
(QStandardPaths.StandardLocation type, String fileName) Overloaded function forlocateAll(io.qt.core.QStandardPaths.StandardLocation, java.lang.String, io.qt.core.QStandardPaths.LocateOptions)
withoptions = new io.qt.core.QStandardPaths.LocateOptions(0)
.static QStringList
locateAll
(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOption ... options) static QStringList
locateAll
(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOptions options) static void
setTestModeEnabled
(boolean testMode) static QStringList
static String
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QStandardPaths
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
displayName
-
enableTestMode
Deprecated. -
findExecutable
Overloaded function for
findExecutable(java.lang.String, java.util.Collection)
withpaths = new java.util.ArrayList<String>()
. -
findExecutable
-
isTestModeEnabled
public static boolean isTestModeEnabled() -
locate
public static String locate(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOption ... options) -
locate
Overloaded function for
locate(io.qt.core.QStandardPaths.StandardLocation, java.lang.String, io.qt.core.QStandardPaths.LocateOptions)
withoptions = new io.qt.core.QStandardPaths.LocateOptions(0)
. -
locate
public static String locate(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOptions options) -
locateAll
public static QStringList locateAll(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOption ... options) -
locateAll
Overloaded function for
locateAll(io.qt.core.QStandardPaths.StandardLocation, java.lang.String, io.qt.core.QStandardPaths.LocateOptions)
withoptions = new io.qt.core.QStandardPaths.LocateOptions(0)
. -
locateAll
public static QStringList locateAll(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOptions options) -
setTestModeEnabled
public static void setTestModeEnabled(boolean testMode) -
standardLocations
-
writableLocation
-