KDeclarative

krunproxy.h
1 /*
2  SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #ifndef KRUNPROXY_H
8 #define KRUNPROXY_H
9 
10 #include <QObject>
11 
12 class KRunProxy : public QObject
13 {
14  Q_OBJECT
15 
16  public:
17 
18  explicit KRunProxy (QObject* parent = nullptr);
19 
23  Q_INVOKABLE bool openUrl(const QString &fileUrl);
24 
30  Q_INVOKABLE bool openService(const QString &serviceName);
31 };
32 
33 #endif
Q_OBJECTQ_OBJECT
Q_INVOKABLEQ_INVOKABLE
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.