KCoreAddons

kdelibs4migration.h
Go to the documentation of this file.
1 /*
2  This file is part of the KDE Frameworks
3 
4  SPDX-FileCopyrightText: 2014 David Faure <[email protected]>
5  SPDX-FileCopyrightText: 2014 Ivan Cukic <ivan.cukic(at)kde.org>
6 
7  SPDX-License-Identifier: LGPL-2.0-or-later
8 */
9 
10 #ifndef KDELIBS4MIGRATION_H
11 #define KDELIBS4MIGRATION_H
12 
13 #include <kcoreaddons_export.h>
14 
15 #include <QString>
16 
17 class Kdelibs4MigrationPrivate;
18 
58 class KCOREADDONS_EXPORT Kdelibs4Migration Q_DECL_FINAL
59 {
60 public:
65  explicit Kdelibs4Migration();
66 
71 
72  Kdelibs4Migration(const Kdelibs4Migration &) = delete;
73  Kdelibs4Migration &operator=(const Kdelibs4Migration &) = delete;
74 
79  bool kdeHomeFound() const;
80 
86  QString kdeHome() const;
87 
94  QString locateLocal(const char *type, const QString &filename) const;
95 
102  QString saveLocation(const char *type, const QString &suffix = QString()) const;
103 
104 private:
105  Kdelibs4MigrationPrivate *d;
106 };
107 
108 #endif // KFORMAT_H
Kdelibs4Migration provides support for locating config files and application data files saved by kdel...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun May 31 2020 23:11:13 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.