summaryrefslogtreecommitdiffstats
path: root/examples/qtmail/emailclient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite logging with QLoggingCategoryDamien Caliste2025-06-131-5/+5
| | | | | | | | | Replace the custom logging mechanism with QLoggingCategory. Also declare the warnings with the proper category. Change-Id: If87d53d27ea0c65abd434af9f99fe49ce634d6dd Reviewed-by: Pekka Vuorela <[email protected]>
* Add missing spaces after for/if/while/switchPekka Vuorela2025-05-091-30/+30
| | | | | | | Change-Id: I57c6ed78099b3359a16ce807da95325e755f0197 Reviewed-by: Pekka Vuorela <[email protected]> Reviewed-by: Damien Caliste <[email protected]> Reviewed-by: <[email protected]>
* Remove trailing whitespace with sed scriptPekka Vuorela2025-05-091-29/+29
| | | | | | | Change-Id: Iebfffe7a6d5b2db40f0508ecd7c8ccddfa6665a6 Reviewed-by: Damien Caliste <[email protected]> Reviewed-by: <[email protected]> Reviewed-by: Pekka Vuorela <[email protected]>
* Add CMake build systemDamien Caliste2024-10-171-29/+27
| | | | | | | | | | | | | | | | Adjust source code where necessary like: - #include <private/...> cannot be used since private is the installation path, but not the path used in the sources, - fix map definition in qmailservice.xml, - had to add #include <qmailstore.h> to qmailserviceaction.h since qt_add_dbus_adaptor can only include one header, - add a method using QDBusVariant in ServiceHandler so the adaptor can call it. Change-Id: Idbecf4214dffdf523ccd8558370e8d2854b5d99a Reviewed-by: Pekka Vuorela <[email protected]>
* Remove SERVER_AS_DLLPekka Vuorela2024-04-011-58/+0
| | | | | | | | | I doubt this has been used anywhere in long time. Also for email client example it feels a bit strange. And there's was nothing setting it enabled on the example. Change-Id: I7a408ed490a84789000f2db8eebfa8324b493846 Reviewed-by: Matthew Vogt <[email protected]>
* Use QmfList where required to maintain stable referencesChris Adams2021-04-081-2/+3
| | | | | | | | | | Any case where the address of an element is taken and stored or used, must be changed to use QmfList instead of QList, otherwise non-const operations will cause the reference to become invalid. Change-Id: Ic0017cb9eddcf27b93d26adb3ea9c71682c4421b Reviewed-by: Christopher Adams <[email protected]> Reviewed-by: David Llewellyn-Jones <[email protected]>
* Compile with GCC 6 -Werror=zero-as-null-pointer-constantChris Adams2018-07-191-1/+1
| | | | | Change-Id: I67eb29e13c5e643ee2f58a0696400e085999c01c Reviewed-by: Matthew Vogt <[email protected]>
* Update licensing to match latest approach in QtCore.Robin Burchell2015-08-281-22/+14
| | | | | Change-Id: Icce55517963f0cbc35211e9fc6f1a0fc413f5676 Reviewed-by: Simon Hausmann <[email protected]>
* Remove linkage against private headers from qtmail example.Robin Burchell2014-02-041-1/+0
| | | | | Change-Id: I00f457f54746b4e32ca60ae6c6d31ca34934f67d Reviewed-by: Robin Burchell <[email protected]>
* Restore compilation of qtmail example.Robin Burchell2014-02-031-0/+3055
Change-Id: Id59253e1d121ab0dfcdb59f7018b897f6c1df086 Reviewed-by: Robin Burchell <[email protected]>