Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-11 09:22:36

0001 // Copyright (C) 2020 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 // Qt-Security score:significant reason:default
0004 
0005 #ifndef QDESKTOPSERVICES_H
0006 #define QDESKTOPSERVICES_H
0007 
0008 #include <QtGui/qtguiglobal.h>
0009 #include <QtCore/qstring.h>
0010 
0011 QT_BEGIN_NAMESPACE
0012 
0013 
0014 #ifndef QT_NO_DESKTOPSERVICES
0015 
0016 class QUrl;
0017 class QObject;
0018 
0019 class Q_GUI_EXPORT QDesktopServices
0020 {
0021 public:
0022     static bool openUrl(const QUrl &url);
0023     static void setUrlHandler(const QString &scheme, QObject *receiver, const char *method);
0024     static void unsetUrlHandler(const QString &scheme);
0025 };
0026 
0027 #endif // QT_NO_DESKTOPSERVICES
0028 
0029 QT_END_NAMESPACE
0030 
0031 #endif // QDESKTOPSERVICES_H
0032