Commit graph

12 commits

Author SHA1 Message Date
Sune Vuorela e26731b4fc Port deprecated event positions
Most stuff are in floating point numbers, not rects, nowadays.
2024-01-03 15:49:54 +00:00
Sune Vuorela 992af46b6c Port from deprecated QGuiApplication::paletteChanged 2023-12-21 14:18:33 +00:00
Sune Vuorela 792425fc77 s/qAsConst/std::as_const/
We now definitely has std::as_const available and Qt has started nagging
about converting to std::as_const.

Implementation is the same for both functions, and qAsConst was a
stop-gap measure until std::as_const was sufficiently available.
2023-12-19 11:46:24 +00:00
Sune Vuorela 0a7199fab6 Simple deprecation. ReturnKeyPressed 2023-05-12 18:09:44 +00:00
Sune Vuorela d3e1c32ff7 Simple deprecation: returnPressed 2023-05-03 09:58:52 +00:00
Albert Astals Cid ba35bbd9e6 emit -> Q_EMIT
A future ECM is going to force that on us, so do it early
2022-03-19 10:58:47 +00:00
Volker Krause 50d0703ae0 Enable readability-braces-around-statements 2022-03-09 23:29:56 +01:00
Albert Astals Cid 0c659a5466 clang-tidy: Enable google-explicit-constructor 2021-08-29 08:52:35 +00:00
Yuri Chornoivan 79ce3890a8 Fix minor typo 2021-08-15 08:53:44 +03:00
Kishore Gopalakrishnan 89a8cfc096 Take into account the label size while setting size of the page number box. 2021-07-31 23:17:43 +00:00
Alexander Lohnau 2f193a63de Convert license headers to SPDX 2021-06-10 08:11:56 +00:00
David Hurka 19d5dd8ec7 New part/ directory for okularpart sources from /, ui/, conf/
Source files are no longer separated by UI and non-UI and similar,
but only by their build target.

* ui/ -> part/
* Move all source files from conf/ to part/
* Keep config skeleton definitions in conf/, needed for the mobile target too
* Move editdrawingtooldialogtest.h from conf/autotests/ to autotests/
* ui/data/icons/ -> icons/
* Move /part.cpp, /part.rc and similar files to part/
* Adapt include paths in source files
* Adapt CMakeLists.txt files (in / and in subdirectories)
* Adapt /Messages.sh
2020-11-18 19:32:56 +00:00
Renamed from ui/minibar.cpp (Browse further)