[nostalgia/studio] Add Cut action hook

This commit is contained in:
2020-10-19 20:14:20 -05:00
parent 79acffcc29
commit 9effdad200
4 changed files with 41 additions and 0 deletions
+12
View File
@@ -13,6 +13,9 @@ namespace nostalgia::studio {
Editor::Editor(QWidget *parent): QWidget(parent) {
}
void Editor::cut() {
}
void Editor::copy() {
}
@@ -49,6 +52,15 @@ bool Editor::exportable() const {
return m_exportable;
}
void Editor::setCutEnabled(bool v) {
m_cutEnabled = v;
emit cutEnabledChanged(v);
}
bool Editor::cutEnabled() const {
return m_cutEnabled;
}
void Editor::setCopyEnabled(bool v) {
m_copyEnabled = v;
emit copyEnabledChanged(v);