Debian Codegraph @

docs/arch_composer_store.md

raw symbols SCIP
1 ## Composer Store {#architecture_composer_store}
2
3 @startuml{composer_store.svg}
4
5 title Composer Store
6
7 package "[[architecture_stores.html stores]]" {
8
9 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/stores/Composer/ComposerStore.qml Composer/ComposerStore.qml]]" as composerstore {
10 }
11
12 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/stores/Accounts/AccountStore.qml Accounts/AccountStore.qml]]" as accountstore {
13 }
14 }
15
16
17 package "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend src://Dekko/backend]]" {
18 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/mail/SubmissionManager.h mail/SubmissionManager.h]]" as submissionmanager {
19 }
20
21 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/mail/MessageBuilder.h mail/MessageBuilder.h]]" as messagebuilder {
22 }
23
24 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/mail/SenderIdentities.h mail/SenderIdentities.h]]" as senderidentities {
25 }
26
27 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/mail/service/MailServiceClient.h mail/service/MailServiceClient.h]]" as mailserviceclient {
28 }
29
30 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/mail/service/MailServiceInterface.h mail/service/MailServiceInterface.h]]" as mailserviceinterface {
31 }
32
33 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/accounts/Account.h accounts/Account.h]]" as account {
34 }
35
36 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/accounts/AccountConfiguration.h accounts/AccountConfiguration.h]]" as accountconfiguration {
37 }
38
39 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/accounts/Identities.h accounts/Identities.h]]" as identities {
40 }
41
42 account "*" *-- senderidentities
43 identities *-- senderidentities
44 mailserviceinterface *-- mailserviceclient
45
46 submissionmanager --> mailserviceclient : markMessageForwarded\n markMessageReplied\n sendMessage\n addMessage\n removeMessage\n moveToStandardFolder
47
48 mailserviceclient --> submissionmanager : messageSent
49
50 mailserviceinterface --> mailserviceclient : messagesSent\n messageSendingFailed
51
52 mailserviceclient --> mailserviceinterface : removeMessage\n sendMessage\n markMessageForwarded\n markMessageReplied\n moveToStandardFolder
53 }
54
55
56 cloud "DBus" as dbus {
57
58 }
59
60 frame "[[architecture_dekko_worker.html dekko-worker]]" as dekkoworker {
61 class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend/mail/service/MailServiceAdaptor.h mail/service/MailServiceAdaptor.h]]" as mailserviceadaptor {
62 }
63 }
64
65 mailserviceinterface --|> QDBusAbstractInterface
66 mailserviceinterface <--> dbus
67 dbus <--> mailserviceadaptor
68
69 composerstore --* senderidentities
70 composerstore --* messagebuilder
71 composerstore --* submissionmanager
72
73 messagebuilder --> composerstore : attachments\n subject\n body
74
75 senderidentities --> composerstore : selectedAccount.identity\n model\n selectedIndex
76
77 accountstore --> senderidentities : sendAccountModel\n identities
78
79 senderidentities o-- messagebuilder
80
81 messagebuilder o-- submissionmanager
82 messagebuilder --> submissionmanager : message
83 messagebuilder <--> submissionmanager : misc
84
85 package "[[architecture_workers.html workers]]" {
86 class "ComposerWorker\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/ComposerWorker.qml src://Dekko/workers/ComposerWorker.qml]]" as composerworker {
87 }
88
89 class "ViewWorker\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/app/Dekko.qml src://Dekko/app/Dekko.qml]]" as viewworker {
90 }
91 }
92
93 submissionmanager --> composerworker : resetComposer
94 submissionmanager --> viewworker : closeComposer\n orderSimpleToast
95
96 composerstore --> composerworker : discardMessage
97 composerstore --> submissionmanager : send
98
99 package "[[https://gitlab.com/dekkan/messagingframework/-/tree/master/ src://messagingframework/]]" {
100
101 class "QMailStore\n[[https://gitlab.com/dekkan/messagingframework/-/tree/master/libraries/qmfclient/qmailstore.h src://libraries/qmfclient/qmailstore.h]]" as qmailstore {
102 }
103
104 class "QMailAccount\n[[https://gitlab.com/dekkan/messagingframework/-/tree/master/libraries/qmfclient/qmailaccount.h src://libraries/qmfclient/qmailaccount.h]]" as qmailaccount {
105 }
106
107 class "QMailAccountConfiguration\n[[https://gitlab.com/dekkan/messagingframework/-/tree/master/libraries/qmfclient/qmailaccountconfiguration.h src://libraries/qmfclient/qmailaccountconfiguration.h]]" as qmailaccountconfiguration {
108 }
109
110 class "QMailServiceConfiguration\n[[https://gitlab.com/dekkan/messagingframework/-/tree/master/libraries/qmfmessageserver/qmailserviceconfiguration.h src://libraries/qmfmessageserver/qmailserviceconfiguration.h]]" as qmailserviceconfiguration {
111 }
112 }
113
114 qmailaccount *-- account
115 qmailaccountconfiguration *-- account
116 accountconfiguration "2" *-- account
117 qmailaccountconfiguration *-- accountconfiguration
118 qmailserviceconfiguration *-- accountconfiguration
119
120 mailserviceclient --> qmailstore : addMessage
121
122 @enduml
123