KSPaths

Search for usage in LXR

#include <kspaths.h>

Static Public Member Functions

static QString locate (QStandardPaths::StandardLocation location, const QString &fileName, QStandardPaths::LocateOptions options=QStandardPaths::LocateFile)
 
static QStringList locateAll (QStandardPaths::StandardLocation, const QString &fileNames, QStandardPaths::LocateOptions options=QStandardPaths::LocateFile)
 
static QString writableLocation (QStandardPaths::StandardLocation type)
 

Detailed Description

Wrapper for QStandardPaths with Android assets support The purpose of this class is to search for resources on some platforms with paths that are not provided by QStandardPaths (e.g.

assets:/ on Android).

Author
Artem Fedoskin, Jasem Mutlaq
Version
1.0

Definition at line 20 of file kspaths.h.

Member Function Documentation

◆ locate()

QString KSPaths::locate ( QStandardPaths::StandardLocation location,
const QString & fileName,
QStandardPaths::LocateOptions options = QStandardPaths::LocateFile )
static

Definition at line 10 of file kspaths.cpp.

◆ locateAll()

QStringList KSPaths::locateAll ( QStandardPaths::StandardLocation location,
const QString & fileNames,
QStandardPaths::LocateOptions options = QStandardPaths::LocateFile )
static

Definition at line 56 of file kspaths.cpp.

◆ writableLocation()

QString KSPaths::writableLocation ( QStandardPaths::StandardLocation type)
static

Definition at line 96 of file kspaths.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.