java.lang.Object
io.qt.QtObject
io.qt.core.QStandardPaths
- All Implemented Interfaces:
QtObjectInterface
Methods for accessing standard paths
Java wrapper for Qt class QStandardPaths
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStandardPaths::LocateOption
static final class
QFlags
type for enumQStandardPaths.LocateOption
static enum
Java wrapper for Qt enumQStandardPaths::StandardLocation
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static void
enableTestMode
(boolean testMode) 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
SeeQStandardPaths::
isTestModeEnabled() 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.
-
-
Method Details
-
displayName
-
enableTestMode
public static void enableTestMode(boolean testMode) -
findExecutable
-
isTestModeEnabled
public static boolean isTestModeEnabled()See
QStandardPaths::
isTestModeEnabled() -
locate
public static String locate(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOptions options) -
locateAll
public static QStringList locateAll(QStandardPaths.StandardLocation type, String fileName, QStandardPaths.LocateOptions options) -
setTestModeEnabled
public static void setTestModeEnabled(boolean testMode) -
standardLocations
-
writableLocation
-
findExecutable
Overloaded function for
findExecutable(java.lang.String, java.util.Collection)
withpaths = new java.util.ArrayList<String>()
. -
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.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.LocateOption ... options)
-