summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-05 11:12:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-05 13:45:50 -0800
commit1013ba39c5216107406bf676fca4a91a191f03a5 (patch)
tree4b806caf383a2183f7b8c471cd6141d9a401722c /desktop-widgets/mainwindow.h
parent000c9cc21c8991682169987ae8f348243ec5008b (diff)
downloadsubsurface-1013ba39c5216107406bf676fca4a91a191f03a5.tar.gz
Untangle Profile from MainWindow: shortcuts
This, too, should be done with signals. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 05844fbd6..0d431b8b5 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -77,10 +77,6 @@ public:
LocationInformationWidget *locationInformationWidget();
void setTitle(enum MainWindowTitleFormat format = MWTF_FILENAME);
- // Some shortcuts like "change DC" or "copy/paste dive components"
- // should only be enabled when the profile's visible.
- void disableShortcuts(bool disablePaste = true);
- void enableShortcuts();
void loadFiles(const QStringList files);
void importFiles(const QStringList importFiles);
void importTxtFiles(const QStringList fileNames);
@@ -194,6 +190,10 @@ slots:
void planCreated();
void setEnabledToolbar(bool arg1);
void setPlanNotes();
+ // Some shortcuts like "change DC" or "copy/paste dive components"
+ // should only be enabled when the profile's visible.
+ void disableShortcuts(bool disablePaste = true);
+ void enableShortcuts();
private:
Ui::MainWindow ui;