| 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 |
ActionCreator { |
| 26 |
|
| 27 |
//=========================================================================\\ |
| 28 |
// StageStack api \\ |
| 29 |
//=========================================================================\\ |
| 30 |
signal stageStackReady() // Call when the StageStage onCompleted |
| 31 |
signal pushStage(var stage, var properties) |
| 32 |
signal popStage() |
| 33 |
signal clearStageStack() |
| 34 |
signal rewindStageStack() |
| 35 |
signal runSetupWizard() |
| 36 |
signal closeSetupWizard() |
| 37 |
|
| 38 |
// messagelistview |
| 39 |
signal openNavDrawer() |
| 40 |
signal closeNavDrawer() |
| 41 |
signal expandNavPanel() |
| 42 |
signal collapseNavPanel() |
| 43 |
signal toggleNavDrawer() |
| 44 |
|
| 45 |
signal positionMessageListAtStart() |
| 46 |
signal openMessageComposer() |
| 47 |
signal closeMessageComposer() |
| 48 |
signal replyToOpenMessage() |
| 49 |
signal detachComposer() |
| 50 |
signal attachComposer() |
| 51 |
signal openUris(var uris) |
| 52 |
signal navigateToAccount(var accountId) |
| 53 |
signal navigateToFolder(var accountId, var folderId) |
| 54 |
signal navigateToMessage(var accountId, var folderId, var messageId) |
| 55 |
|
| 56 |
signal resetPanelWidths() |
| 57 |
|
| 58 |
signal pushToStageArea(string stageID, var page, var properties) |
| 59 |
signal replaceTopStageAreaItem(string stageID, var page, var properties) |
| 60 |
signal popStageArea(string stageID) |
| 61 |
signal clearStageArea(string stageID) |
| 62 |
|
| 63 |
|
| 64 |
signal openComposer() |
| 65 |
signal setComposePanelSource(var source, var properties) |
| 66 |
signal closeComposer() |
| 67 |
|
| 68 |
signal openSettings() |
| 69 |
signal closeSettings() |
| 70 |
|
| 71 |
signal orderSimpleToast(string target, string message) |
| 72 |
signal orderSubtitledToast(string title, string subtitle) |
| 73 |
signal orderComplexToast(string title, string subtitle, string image) |
| 74 |
|
| 75 |
signal setCurrentNavFolder(string folderName); |
| 76 |
signal switchMessageViewLocation(string currentStageArea, int msgId) |
| 77 |
|
| 78 |
signal openAddressBook() |
| 79 |
signal delayCall(string funcKey) |
| 80 |
signal delayCallWithArgs(string funcKey, var args) |
| 81 |
|
| 82 |
signal reloadAccountBasedModels() |
| 83 |
|
| 84 |
signal displayHtmlContent() |
| 85 |
|
| 86 |
} |