File indexing completed on 2026-09-11 09:22:36
0001
0002
0003
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
0028
0029 QT_END_NAMESPACE
0030
0031 #endif
0032