-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CMake: FindXCB components are upper case Fixes CMake error * CMake: update dependencies for Qt6 * CMake: link to dbusmenu-lxqt instead of dbusmenu-qt6 StatusNotifierButton: switch to dbusmenu-lxqt * Replace qAsConst() with std::as_const * Replace QPair with std::pair * Replace QLatin1Literal with QLatin1String * QEvent: port pos() to position() and globalPos() to globalPosition() - Now returns floating point QPointF, should we keep it instead of rounding and do floating point calculations? * Fix QWidget::enterEvent(QEnterEvent*) signature * QLayou::setContentsMargin() instead of setMargin() - QEyesPlugin: remove deprecated setMargin() call * QuickLaunchButton: fix ambiguous list initializer * Port QRegExp with QRegularExpression * QLocale territory() instead of country() * Qt6 always enables High-DPI Pixmaps Qt::AA_UseHighDpiPixmaps has no effect now * Plugin: move Q_DECLARE_METATYPE() Fix error: static assertion failed: Pointer Meta Types must either point to fully-defined types or be declared with Q_DECLARE_OPAQUE_POINTER(T *) Q_DECLARE_METATYPE(...) must be used on fully qualified types To avoid including plugin.h inside panelpluginsmodel.h, the declaretion is moved. * Use QColor::fromString() setNamedColor() is deprecated in Qt6 * LXQtTaskButton: fix deprecated constructor * Disable ColorPicker on Wayland * Fix KX11Extras, KWindowSystem includes TODO: Still don't know why prefix does not work - Remove includes to QDesktopWidget * Port QX11Info to QX11Application NOTE: Fix compilation with Xlib.h Xlib.h is tricky because at line 82 has: `#define Bool int` And QtCore/qjsonvalue.h at line 28 has: ``` enum Type { ... Bool = 0x1, ... } ``` This is fixed temporarily by moving Xlib.h include to last and undefine Bool macro Long term we want to hide X11 related code and encapsulate in a backend. This backend will not expose X11 headers. * LXQtTaskButton: port to KX11Extras Many X11 specific functions got moved away from KWindowSystem header. Long term we will move everything to a backend. * LXQtTaskButton: port away from QDesktopWidget Use QScreen instead * QString::arg(...) use mult-arg version Reported by Clazy * LXQtCpuLoad: do not include <QtCore> directly Reported by Clazy * Configuration: fix call to temporary object Teporary objects get destroyed after call ends. State is not updated. * QEyesConfigDialog: avoid allocating temporary container - Reported by Clazy - Also fix formatting a bit * QEyesImageWidget: unneeded QString allocation - Use Qt::CaseInsensitive instead - Pass argument by reference - Format braces * LXQtQuickLaunch: fix QSet warning and better readability * Port LXQtTrayPlugin to Qt6 NOTE: QX11Info::getTimestamp() was replaced with XCB_CURRENT_TIME macro. I don't know if this breaks functionality. Getting real timestamp involves messing with Qt private APIs * LXQtTaskBar: fix include recursion - Forward declare classes - More refactory could be done here * Port LXQtKbIndicatorPlugin to Qt6 * Replace QScopedPointer with std::unique_ptr - Use Xcb::ScopedCPointer for POD types * Replace QVector with QList In Qt6 it's an alias * SNIProxy: use QBitmap::fromImage TODO TODO: is behavior equivalent? Conversion flags... * README: update mentioned dependencies
- Loading branch information
Showing
92 changed files
with
585 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,5 +130,6 @@ private slots: | |
|
||
}; | ||
|
||
Q_DECLARE_METATYPE(Plugin const *) | ||
|
||
#endif // PLUGIN_H |
Oops, something went wrong.