Changeset View
Changeset View
Standalone View
Standalone View
components/kube/qml/Kube.qml
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Line(s) | 217 | Component.onCompleted: { | |||
---|---|---|---|---|---|
220 | if (startupCheck.noAccount) { | 220 | if (startupCheck.noAccount) { | ||
221 | showView("accounts") | 221 | showView("accounts") | ||
222 | } | 222 | } | ||
223 | dontFocus = false | 223 | dontFocus = false | ||
224 | } | 224 | } | ||
225 | 225 | | |||
226 | Kube.Listener { | 226 | Kube.Listener { | ||
227 | filter: Kube.Messages.reply | 227 | filter: Kube.Messages.reply | ||
228 | onMessageReceived: kubeViews.replaceView("composer", {message: message.mail, loadAsDraft: false}) | 228 | onMessageReceived: kubeViews.replaceView("composer", {message: message.mail, loadType: Kube.ComposerController.Reply}) | ||
229 | } | ||||
230 | | ||||
231 | Kube.Listener { | ||||
232 | filter: Kube.Messages.forward | ||||
233 | onMessageReceived: kubeViews.replaceView("composer", {message: message.mail, loadType: Kube.ComposerController.Forward}) | ||||
229 | } | 234 | } | ||
230 | 235 | | |||
231 | Kube.Listener { | 236 | Kube.Listener { | ||
232 | filter: Kube.Messages.edit | 237 | filter: Kube.Messages.edit | ||
233 | onMessageReceived: kubeViews.replaceView("composer", {message: message.mail, loadAsDraft: true}) | 238 | onMessageReceived: kubeViews.replaceView("composer", {message: message.mail, loadType: Kube.ComposerController.Draft}) | ||
234 | } | 239 | } | ||
235 | 240 | | |||
236 | Kube.Listener { | 241 | Kube.Listener { | ||
237 | filter: Kube.Messages.compose | 242 | filter: Kube.Messages.compose | ||
238 | onMessageReceived: kubeViews.replaceView("composer", {newMessage: true, recipients: message.recipients}) | 243 | onMessageReceived: kubeViews.replaceView("composer", {newMessage: true, recipients: message.recipients}) | ||
239 | } | 244 | } | ||
240 | 245 | | |||
241 | Kube.Listener { | 246 | Kube.Listener { | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |