20#ifndef LIBREPCB_EDITOR_DESKTOPSERVICES_H
21#define LIBREPCB_EDITOR_DESKTOPSERVICES_H
34class WorkspaceSettings;
59 QWidget* parent)
noexcept;
63 bool openUrl(const QUrl& url) const noexcept;
64 bool openWebUrl(const QUrl& url) const noexcept;
73 const QStringList& commands) const noexcept;
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
Container for all workspace related settings.
Definition: workspacesettings.h:60
Provides methods to access common desktop services.
Definition: desktopservices.h:51
bool openUrlFallback(const QUrl &url) const noexcept
Definition: desktopservices.cpp:125
static void showWaitCursor() noexcept
Definition: desktopservices.cpp:154
~DesktopServices() noexcept
Definition: desktopservices.cpp:46
bool openLocalPath(const FilePath &filePath) const noexcept
Definition: desktopservices.cpp:81
bool openUrl(const QUrl &url) const noexcept
Definition: desktopservices.cpp:53
const WorkspaceSettings & mSettings
Definition: desktopservices.h:78
bool openLocalPathWithCommand(const FilePath &filePath, const QStringList &commands) const noexcept
Definition: desktopservices.cpp:103
bool openWebUrl(const QUrl &url) const noexcept
Definition: desktopservices.cpp:61
bool openDirectory(const FilePath &filePath) const noexcept
Definition: desktopservices.cpp:98
QPointer< QWidget > mParent
Definition: desktopservices.h:79
DesktopServices(const DesktopServices &other)=delete
Definition: occmodel.cpp:77