Commit Graph

5 Commits

Author SHA1 Message Date
David Korth
2d8d68a3aa [rvthtool] Un-indent *all* the classes.
QRvtHToolWindow::openRvtH(): This function takes a filename using Qt
separators ('/'), *not* native separators.
2025-05-21 20:44:08 -04:00
David Korth
4395eb37a9 Switch from include guards to #pragma once.
This improves performance with some compilers, especially MSVC.

NOTE: Some include guards are left in because a few files check for them:

- secoptions_win8.h: Checks for __RVTHTOOL_LIBWIICRYPTO_WIN32_SECOPTIONS_H__.
2025-05-21 19:44:47 -04:00
David Korth
1032459deb Use SPDX license identifiers instead of the license notice.
...except bin2h.c, since it was written by FIX94.
2022-02-14 22:11:10 -05:00
David Korth
0d3b555cad Initial support for compiling with Qt6.
TODO:
- Toolbar icons aren't showing up.
- BankEntryView: Qt::DefaultLocaleShortDate was removed in Qt6,
  so using QLocale instead. Cache the QLocale?
- viewOptions() is final in most widgets, so it's disabled in Qt6 builds.
  See if we can reimplement this better.
- Qt6's moc doesn't like incomplete structs.
2022-02-12 11:20:27 -05:00
David Korth
2255359dea [qrvthtool] Copied over TaskbarButtonManager from mcrecover.
It doesn't seem to work on KDE5. Apparently, the standard task manager
in Plasma 5 uses Unity's protocol, but we don't have libunity on all
systems.

Unity has a D-Bus protocol, but it's supposedly not guaranteed to be
stable. In practice, it is.

QtCreator added support for the D-Bus protocol a while back:
https://codereview.qt-project.org/#/c/33051/2/src/plugins/coreplugin/progressmanager/progressmanager_x11.cpp
2019-03-16 02:01:28 -04:00