Newer
Older
#pragma once
#include <QObject>
class SystemHandler : public QObject
{
Q_OBJECT
public:
bool isUnix() const;
bool isMobileDevice() const;
bool openUrl(const QString &url) const;
QString desktopEnvironment() const;
bool isApplicableType(const QString &installType) const;
bool applyFile(const QString &path, const QString &installType) const;
bool applyKdePlasmaDesktoptheme(const QString &path) const;
bool applyGnomeWallpaper(const QString &path) const;
bool applyGnomeIcon(const QString &path) const;
bool applyGnomeCursor(const QString &path) const;
bool applyGnomeGtk3Theme(const QString &path) const;
bool applyGnomeGnomeShellTheme(const QString &path) const;