Kstars

kspaths.h
1 /*
2  SPDX-FileCopyrightText: 2016 Artem Fedoskin <[email protected]>
3  SPDX-License-Identifier: GPL-2.0-or-later
4 */
5 
6 #ifndef KSPATHS_H_
7 #define KSPATHS_H_
8 #include <QStandardPaths>
9 #include <QDir>
10 
11 /**
12  *@class KSPaths
13  *@short Wrapper for QStandardPaths with Android assets support
14  *The purpose of this class is to search for resources on some platforms with paths that are not
15  *provided by QStandardPaths (e.g. assets:/ on Android).
16  *@author Artem Fedoskin, Jasem Mutlaq
17  *@version 1.0
18  */
19 
20 class KSPaths
21 {
22  public:
23  static QString locate(QStandardPaths::StandardLocation location, const QString &fileName,
25  static QStringList locateAll(QStandardPaths::StandardLocation, const QString &fileNames,
27  static QString writableLocation(QStandardPaths::StandardLocation type);
28 };
29 #endif
typedef LocateOptions
Wrapper for QStandardPaths with Android assets support The purpose of this class is to search for res...
Definition: kspaths.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 8 2022 04:13:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.