[nostalgia/studio] Add Cut action hook
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user