Added action receiver, refactored controller, extracted parsing logic from controller

This commit is contained in:
David Kaya
2017-02-03 14:21:14 +01:00
parent 5d800be890
commit 001093d3bb
8 changed files with 116 additions and 75 deletions

View File

@@ -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() { }