summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use TQImage rather than TQPixmap in the backend-oriented coder14.1.xAlexander Golubev2025-08-0811-22/+21
| | | | | | | | | | | | | | | | | TQImage is more suitable for i/o operations and long-term storage rather than TQPixmap (which is better for immediate display on the screen). The UI rarely does displays all those photos and does it one-by-one (i.e. there is no big gallery), so there is no significant performance penalty for the use of TQImage. On the contrary this way we should save some memory on allocations associated X11 stuff for pixmaps and loading time when the database contains a lot of photos. Note that there is yet another use of TQPixmap in `htmlexporter` which cannot be replaced because it uses TQPainter, which didn't supported QImage until Qt5. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit a6ab7f1c6dcf3076aa5488a790d81f42cbc93b48)
* Fix tests' execution without X11Alexander Golubev2025-08-058-12/+20
| | | | | | | Note: kretest segfaults without a GUI because it makes use of TQPicture Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 19201b658c807f6ffa3c9dcaa02c90b38312e2d7)
* Use locale-unaware functions when importing filesAlexander Golubev2025-08-044-8/+8
| | | | | | | | Locale-aware version of MixedNumber::fromString() were causing problems when locale has a different decimal separator than dot (`.`). Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit adf2fa32500d33417b6e6ac9e2867f3ab3eede34)
* Fix FTBFS introduced by commit fbc41d7.Michele Calgaro2025-08-031-7/+7
| | | | | | | | The tests require an active X session, so they can not be part of an automated build system that runs in a clean X-less environment. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4d60965a1fba602778dbf35c28a93ec1a533c796)
* Fix importers/exporters bugs. Fix tests and add them to build process.Michele Calgaro2025-08-0315-98/+392
| | | | | | | | | The file `mx2test.txt` is taken from KRecipes 2.1 source code. Other tests have been adjusted based on the tests in KRecipes 2.1 source code. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit dfbafdbb2f7369438a750327544f9084a765e407)
* Add desktop files translations.Slávek Banko2025-05-231-59/+7
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e1aca2d5b6d3d2294314b8eda4519ec7b3735311)
* Drop support for automake buildsMichele Calgaro2025-05-2214-415/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 189026316e42f7499f9ef45556b1ebaf31acd36e)
* Add cmake rules for tests files and make tests runnable.Michele Calgaro2025-05-2216-16/+157
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99e16012c2ddbfa877a77c2176e15c3fea5643e6)
* Replace TRUE/FALSE with boolean values true/falser14.1.4Michele Calgaro2025-03-2512-54/+54
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d881a9b6b5bcd95524d5e2bd8aea25d89f53f404)
* CMake conversionMichele Calgaro2024-11-1210-0/+236
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2c316e3037228223164adf5cd3446cf47f1744a4)
* Remove autotools code to extract translation messagesMichele Calgaro2024-10-291-5/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9c69bea5dc62e610118b985bc4699e6609a92171)
* Generalize inclusion of file generated by tquicMichele Calgaro2024-10-292-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 722352152635f6aec20d7d3bdf2554b7745c633f)
* Remove check for obsolete sqlite support. Check only for aqlite3Michele Calgaro2024-10-299-59/+21
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d572a3f536f3cb283303c161095c5e83d4dc27da)
* Add krecipes.xpm from tde-packaging repoMichele Calgaro2024-10-292-0/+231
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9251ed4aa1c7eebbcd3adb26c985eaf28a648916)
* Rearrange folders structure to remove unnecessary 'krecipes' second level ↵Michele Calgaro2024-10-29294-0/+50332
subfolder Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0c8ed6c9a4000af8f48581a81c4b5c2f5b9fd502)