KDeclarative

kcmshell.h
1 /*
2  SPDX-FileCopyrightText: 2015 Kai Uwe Broulik <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef KCMSHELL_H
8 #define KCMSHELL_H
9 
10 #include <QObject>
11 
12 class KCMShell : public QObject
13 {
14  Q_OBJECT
15 
16 public:
17  explicit KCMShell(QObject *parent = nullptr);
18  virtual ~KCMShell();
19 
20 public Q_SLOTS:
21  void open(const QStringList &names) const;
22 
37  void openSystemSettings(const QString &name, const QStringList &args = QStringList()) const;
38 
52  void openInfoCenter(const QString &name) const;
53 
71  QStringList authorize(const QStringList &menuIds) const;
72 
73 };
74 
75 #endif // KCMSHELL_H
Q_OBJECTQ_OBJECT
KCONFIGCORE_EXPORT bool authorize(const QString &action)
KIOCORE_EXPORT FileJob * open(const QUrl &url, QIODevice::OpenMode mode)
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 22:44:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.