mirror of
https://github.com/ysoftdevs/Testa.git
synced 2026-01-16 00:23:27 +01:00
Added action receiver, refactored controller, extracted parsing logic from controller
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#ifndef NOTIFICATION_H
|
||||
#define NOTIFICATION_H
|
||||
|
||||
#include <QObject>
|
||||
#include <string>
|
||||
|
||||
class Notification
|
||||
class Notification : public QObject
|
||||
{
|
||||
public:
|
||||
static void show(const std::string& title, const std::string& message);
|
||||
Q_OBJECT
|
||||
public slots:
|
||||
static void show(const QString &title, const QString &message);
|
||||
static void hide();
|
||||
private:
|
||||
Notification() { }
|
||||
|
||||
Reference in New Issue
Block a user