This allows us to remove all infrastructure needed for legacy handling
from the MessagePart base classes. Also, with Interface::MessagePart
vs MessagePart now no longer having any special meaning, we can merge
those two in a next step.
Details
Details
Diff Detail
Diff Detail
- Repository
- R94 PIM: Message Library
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
messageviewer/src/messagepartthemes/default/defaultrenderer.cpp | ||
---|---|---|
1057 | should now be a qCWarning or a qCError, becauce this should never happen. | |
mimetreeparser/src/viewer/messagepart.h | ||
118 | add TODO: infront, so it is listed by kdevelop etc. | |
119 | mark it as deprecated to make sure nobody using it for new code | |
mimetreeparser/src/viewer/objecttreeparser.cpp | ||
219 | not sure if we should try to move the complete handling into LegacyPluginMessagePart, to be able to cleanup OtP directly. | |
238 | ignore the case when we get a Interface object, that sould result in an qCError. Sofar the Interface:MessagePart is still different from MesasgePart. okay handled in D8068 |
mimetreeparser/src/viewer/objecttreeparser.cpp | ||
---|---|---|
219 | That would drag in more dependencies we don't want inside MessagePart, not worth it IMHO, it's just this single place now. |