Implement attachment-based forwarding.
Some notes:
- loadAsDraft was removed in favor of new enum loadType in QML, and callback based generic programming in C++
cmollekopf |
Implement attachment-based forwarding.
Some notes:
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Great work!
The icons should be added via the copybreeze script, and some minor nitpicks inline.
framework/src/domain/composercontroller.h | ||
---|---|---|
50 | Instead of the extra class, perhaps the enum could just become part of the ComposerController? | |
framework/src/domain/mime/mailtemplates.cpp | ||
879 | I think the filename can be removed entirely. Also, roundcube seems to not set a filename so let's just follow that. | |
887 | Those can be removed I think (or otherwise they should be qDebug) | |
views/composer/qml/View.qml | ||
68 | That comment is no longer necessary since the code is much clearer now. |
To import the icons you have to modify and run the copyBreeze script in the icons subdirectory.
framework/src/frameworkplugin.cpp | ||
---|---|---|
123 ↗ | (On Diff #27601) | Just use the enum via ComposerController instead, no need for the extra type. |
Tried the patch, here's some more feedback:
Great work!
The only remaining thing is the removal of the ComposerLoadType as noted in my inline comment (just access the enum via ComposerController).
Completely remove the "ComposerLoadType" and use "ComposerController" directly for composer switching mode enum
Forwarded mail still isn't displayed in clients (some clients (Evolution) even believe it's an empty message)