Commit graph

20 commits

Author SHA1 Message Date
Ivailo Monev
819cca1e41 kdeui: replace libdbusmenu-qt dependency with custom classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-28 20:56:05 +03:00
Ivailo Monev
3db230c695 kdeui: remove redundant KDBusMenuExporter class
KIcon constructed from QIcon is just a QIcon (does not do icon lookup,
loading of icon, etc.)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-27 19:39:05 +03:00
Ivailo Monev
0cafb27096 kdeui: do not detach the QImage object in KStatusNotifierItemPrivate::imageToStruct()
it cannot be detached even if not copied (as done when it is not in
QImage::Format_ARGB32 format) because image is constant reference but if it
is converted it will be actually detached, also QByteArray takes ownership
of the data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-24 20:23:56 +02:00
Ivailo Monev
90928e8320 generic: store package found definitions in config header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-30 05:41:21 +02:00
Ivailo Monev
51ec59c95e kdeui: move the static protocol version constant out of KStatusNotifierItemPrivate class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 10:12:00 +03:00
Ivailo Monev
aaa643765c kdeui: drop KStatusNotifierItem and KSystemTrayIcon movie support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 14:52:19 +03:00
Ivailo Monev
10c03d7774 kdeui: do not check icon name when setting icon by pixmap in KStatusNotifierItem::setIconByPixmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-26 04:09:46 +03:00
Ivailo Monev
c809676fc1 kdeui: use Q_BYTE_ORDER to determine byte order
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-06 23:07:36 +03:00
Ivailo Monev
aa427fbc74 generic: get rid of TopMenu window mask
I think the last use of it went away with KMenuBar, other parts Katana
mostly check for it so that they can ignore it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 17:19:15 +00:00
Ivailo Monev
9baa39f370 kdeui: enable legacy mode when not build with libdbusmenu-qt support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-18 04:52:26 +00:00
Ivailo Monev
bd37b35920 kdeui: support status notifier without libdbusmenu-qt
this is basicly to make code build, does not mean it will work as
expected. the change basicly adds the bits needed to make other
system tray components build gracefully withouts hacks.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-17 16:14:15 +02:00
Ivailo Monev
76b1d7b44e generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 20:53:03 +02:00
Ivailo Monev
af1824d08c generic: stop using obsolete code paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-27 18:47:05 +02:00
Ivailo Monev
a45755d5a1 generic: misc cleanups 2015-09-04 21:57:46 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
16daf6233d generic: remove code for Qt4 versions older than 4.8 2015-07-15 20:41:31 +00:00
Ivailo Monev
0d4a77e9a3 kdeui: remove support for override/unmanaged window type (part 2) 2015-04-20 07:24:03 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
c3f3bcb965 windows code remove 2014-11-19 15:17:14 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00