Kstars

kspaths.h
1/*
2 SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com>
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
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
Wrapper for QStandardPaths with Android assets support The purpose of this class is to search for res...
Definition kspaths.h:21
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:39 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.