Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
QSettingsBackend.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include <phosphorconfig_export.h>
7
8#include <QMap>
9#include <QString>
10#include <QVariant>
11
12namespace PhosphorConfig {
13
23class PHOSPHORCONFIG_EXPORT QSettingsBackend
24{
25public:
37 static QMap<QString, QVariant> readConfigFromDisk(const QString& filePath);
38};
39
40} // namespace PhosphorConfig
Reader for legacy KConfig-style INI configuration files.
Definition QSettingsBackend.h:24
static QMap< QString, QVariant > readConfigFromDisk(const QString &filePath)
Read an INI config from an arbitrary file path.
Definition IBackend.h:19