![]() |
Qt 6.x
The Qt SDK
|
#include "qstandardpaths.h"
#include <QtCore/qjniobject.h>
#include <QtCore/qmap.h>
#include <QtCore/qcoreapplication.h>
#include <QDir>
Go to the source code of this file.
Typedefs | |
typedef QMap< QString, QString > | AndroidDirCache |
Functions | |
QT_BEGIN_NAMESPACE | Q_DECLARE_JNI_CLASS (Environment, "android/os/Environment") |
Q_DECLARE_JNI_TYPE (File, "Ljava/io/File;") | |
static QString | testDir () |
static QString | getAbsolutePath (const QJniObject &file) |
static QString | getExternalStorageDirectory () |
static QString | getExternalStoragePublicDirectory (const char *directoryField) |
static QString | getExternalFilesDir (const char *directoryField=nullptr) |
static QString | getExternalCacheDir () |
static QString | getCacheDir () |
static QString | getFilesDir () |
static QString | getSdkBasedExternalDir (const char *directoryField=nullptr) |
typedef QMap<QString, QString> AndroidDirCache |
Definition at line 21 of file qstandardpaths_android.cpp.
|
inlinestatic |
Definition at line 29 of file qstandardpaths_android.cpp.
References file.
Referenced by getCacheDir(), getExternalCacheDir(), getExternalFilesDir(), getExternalStorageDirectory(), getExternalStoragePublicDirectory(), and getFilesDir().
|
static |
Definition at line 136 of file qstandardpaths_android.cpp.
References file, getAbsolutePath(), and QStringLiteral.
Referenced by QStandardPaths::writableLocation().
|
static |
Definition at line 115 of file qstandardpaths_android.cpp.
References file, getAbsolutePath(), and QStringLiteral.
Referenced by QStandardPaths::standardLocations().
Definition at line 85 of file qstandardpaths_android.cpp.
References file, and getAbsolutePath().
Referenced by getSdkBasedExternalDir(), QStandardPaths::standardLocations(), and QStandardPaths::writableLocation().
|
static |
Definition at line 43 of file qstandardpaths_android.cpp.
References file, getAbsolutePath(), and QStringLiteral.
Referenced by QStandardPaths::writableLocation().
|
static |
Definition at line 61 of file qstandardpaths_android.cpp.
References file, and getAbsolutePath().
Referenced by getSdkBasedExternalDir(), and QStandardPaths::standardLocations().
|
static |
Definition at line 157 of file qstandardpaths_android.cpp.
References file, getAbsolutePath(), and QStringLiteral.
Referenced by QStandardPaths::writableLocation().
Definition at line 174 of file qstandardpaths_android.cpp.
References getExternalFilesDir(), and getExternalStoragePublicDirectory().
Referenced by QStandardPaths::writableLocation().
QT_BEGIN_NAMESPACE Q_DECLARE_JNI_CLASS | ( | Environment | , |
"android/os/Environment" | |||
) |
Q_DECLARE_JNI_TYPE | ( | File | , |
"Ljava/io/File;" | |||
) |
|
static |
Definition at line 24 of file qstandardpaths_android.cpp.
References QStandardPaths::isTestModeEnabled().
Referenced by QStandardPaths::writableLocation().