Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtGui/qdesktopservices.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 
0004 #ifndef QDESKTOPSERVICES_H
0005 #define QDESKTOPSERVICES_H
0006 
0007 #include <QtGui/qtguiglobal.h>
0008 #include <QtCore/qstring.h>
0009 
0010 QT_BEGIN_NAMESPACE
0011 
0012 
0013 #ifndef QT_NO_DESKTOPSERVICES
0014 
0015 class QUrl;
0016 class QObject;
0017 
0018 class Q_GUI_EXPORT QDesktopServices
0019 {
0020 public:
0021     static bool openUrl(const QUrl &url);
0022     static void setUrlHandler(const QString &scheme, QObject *receiver, const char *method);
0023     static void unsetUrlHandler(const QString &scheme);
0024 };
0025 
0026 #endif // QT_NO_DESKTOPSERVICES
0027 
0028 QT_END_NAMESPACE
0029 
0030 #endif // QDESKTOPSERVICES_H
0031