Review Request 121095: FrameworkIntegration: Add KTextToHTML emoticons support to FrameworkIntegrationPlugin
Dan Vrátil
dvratil at redhat.com
Mon Nov 10 15:59:17 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121095/
-----------------------------------------------------------
Review request for KDE Frameworks.
Repository: frameworkintegration
Description
-------
This patch is related to /r/121094, which moves KTextToHTML conversion utility from KPimUtils to KCoreAddons. Since KCoreAddons can't depend on KEmoticons needed for smileys conversion, I added the actual KEmoticons code here, to create a run-time dependency, similar to the KWidgetsAddons-KConfig dependency for KMessageBox.
This patch refactors the FrameworkIntegrationPlugin a bit - I split the KMessageBox-specific code into a separate file, and added a new file with the KTextToHTMLEmoticonsInterface implementation, as we can't just keep stacking more and more classes into a single file :-)
Diffs
-----
CMakeLists.txt 3721bfa
src/integrationplugin/CMakeLists.txt 3395368
src/integrationplugin/frameworkintegrationplugin.h 6dc6825
src/integrationplugin/frameworkintegrationplugin.cpp a45ba9d
src/integrationplugin/kmessagebox.h PRE-CREATION
src/integrationplugin/kmessagebox.cpp PRE-CREATION
src/integrationplugin/ktexttohtml.h PRE-CREATION
src/integrationplugin/ktexttohtml.cpp PRE-CREATION
Diff: https://git.reviewboard.kde.org/r/121095/diff/
Testing
-------
Tested with KTextToHTML code from /r/121094 in a QGuiApplication and it seems to work.
Thanks,
Dan Vrátil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141110/313e7c89/attachment.html>
More information about the Kde-frameworks-devel
mailing list