You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
core/shutdown-ui/actions.h

20 lines
313 B
C++

#ifndef ACTIONS_H
#define ACTIONS_H
#include <QObject>
class Actions : public QObject
{
Q_OBJECT
public:
explicit Actions(QObject *parent = nullptr);
Q_INVOKABLE void shutdown();
Q_INVOKABLE void logout();
Q_INVOKABLE void reboot();
Q_INVOKABLE void suspend();
};
#endif // ACTIONS_H