summaryrefslogtreecommitdiffstats
path: root/src/backends/qsqlrecipedb.h
Commit message (Collapse)AuthorAgeFilesLines
* Use TQImage rather than TQPixmap in the backend-oriented codeHEADmasterAlexander Golubev2025-08-051-1/+1
| | | | | | | | | | | | | | | | 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>
* Rearrange folders structure to remove unnecessary 'krecipes' second level ↵Michele Calgaro2024-10-211-0/+228
subfolder Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>