Debian Codegraph @

Dekko/api/public/Views/ViewKeys.qml

raw
1 /* Copyright (C) 2016 - 2017 Dan Chapman <[email protected]>
2
3 This file is part of Dekko email client for Ubuntu devices
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2 of
8 the License or (at your option) version 3
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 pragma Singleton
19 import QtQuick 2.4
20 import QuickFlux 1.0
21
22 /*!
23 * @ingroup qml_actions
24 */
25 KeyTable {
26
27 // StageStack api
28 property string stageStackReady
29 property string pushStage
30 property string popStage
31 property string clearStageStack
32 property string rewindStageStack
33 property string runSetupWizard
34 property string closeSetupWizard
35
36 // messagelistview
37 property string openNavDrawer
38 property string closeNavDrawer
39 property string toggleNavDrawer
40 property string expandNavPanel
41 property string collapseNavPanel
42
43 property string positionMessageListAtStart
44 property string openMessageComposer
45 property string closeMessageComposer
46 property string replyToOpenMessage
47 property string detachComposer
48 property string attachComposer
49 property string openUris
50 property string navigateToAccount
51 property string navigateToFolder
52 property string navigateToMessage
53
54 property string resetPanelWidths
55
56 // StageArea api
57 property string pushToStageArea
58 property string replaceTopStageAreaItem
59 property string popStageArea
60 property string clearStageArea
61
62 // Compose panel API
63 property string openComposer
64 property string setComposePanelSource
65 property string closeComposer
66
67 property string openSettings
68 property string closeSettings
69
70 property string orderSimpleToast
71 property string orderSubtitledToast
72 property string orderComplexToast
73
74 property string setCurrentNavFolder
75 property string switchMessageViewLocation
76
77 property string openAddressBook
78 property string delayCall
79 property string delayCallWithArgs
80
81 property string reloadAccountBasedModels
82
83
84
85 // These are not actions as such but keys for the stagearea's
86 // They are used to determine which StackView we are pushing a page to
87 // via pushToStage(stackID, ....)
88 // NOTE: When creating a new StageArea add a key for it here
89 property string navigationStack
90 property string messageListStack
91 property string messageViewStack
92 property string settingsStack1
93 property string settingsStack2
94 property string settingsStack3
95
96 property string toastMainWindow
97 property string toastSettingsWindow
98 property string toastComposerWindow
99 property string toastSetupWizard
100 property string toastBroadcast // croadcast to all toast workers.
101 }