-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
5,728 additions
and
1,321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "ActionOwner.h" | ||
|
||
ActionOwner::ActionOwner(QObject *parent) | ||
: QObject{parent} | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef ACTIONOWNER_H | ||
#define ACTIONOWNER_H | ||
|
||
#include "Actions.h" | ||
#include <QObject> | ||
|
||
class DBAction; | ||
|
||
class ActionOwner : public QObject | ||
{ | ||
Q_OBJECT | ||
public: | ||
explicit ActionOwner(QObject *parent = nullptr); | ||
|
||
virtual QList<DBAction*> getActions() = 0; | ||
virtual DBAction* getAction(QString action_id) = 0; | ||
public slots: | ||
virtual void actionSafeToDeleted(QString action_id) {} | ||
signals: | ||
void actionCreated(QString action_id); | ||
void actionAboutToBeDeleted(QString action_id); | ||
|
||
}; | ||
|
||
#endif // ACTIONOWNER_H |
Oops, something went wrong.