Skip to content
Snippets Groups Projects
systemhandler.h 270 B
Newer Older
akiraohgaki's avatar
akiraohgaki committed
#pragma once

#include <QObject>

class SystemHandler : public QObject
{
    Q_OBJECT

public:
akiraohgaki's avatar
akiraohgaki committed
    explicit SystemHandler(QObject *parent = nullptr);
akiraohgaki's avatar
akiraohgaki committed

public slots:
akiraohgaki's avatar
akiraohgaki committed
    bool isUnix() const;
    bool isMobileDevice() const;
    bool openUrl(const QString &url) const;
akiraohgaki's avatar
akiraohgaki committed
};