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 applyKdeWallpaper(const QString &path) const;
bool applyGnomeWallpaper(const QString &path) const;
bool applyGnomeIcon(const QString &path) const;
bool applyGnomeCursor(const QString &path) const;
bool applyXfceWallpaper(const QString &path) const;