Commit graph

93 commits

Author SHA1 Message Date
Ivailo Monev
fcbec5f0cc generic: adjust to solid power manager changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-01 23:54:21 +02:00
Ivailo Monev
47486b2a88 plasma: use Solid::PowerManagement::StandbyState for standby
internally it is handled as Solid::PowerManagement::SuspendState tho so no
real functional change, it will be replaced with HybridSuspendState
eventually

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-30 01:40:18 +02:00
Ivailo Monev
35151a7d91 generic: adjust to KGlobalSettings changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-22 05:05:45 +02:00
Ivailo Monev
2408d7dc44 plasma: port systemtray applet to KPixmap
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-09 00:48:34 +02:00
Ivailo Monev
fbb9f943c1 plasma: partially port systemtray applet to KPixmap and plug a X11 Pixmap leak
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-09 00:28:36 +02:00
Ivailo Monev
1c6377c040 plasma: remove shadows on hide
fixes regression since 5c32f8c9e1

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-08 19:13:18 +02:00
Ivailo Monev
1d42a30de7 plasma: remove unused systemray applet sources
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-08 17:31:03 +02:00
Ivailo Monev
c6fb7dcf90 plasma: generalize folderview scroll backbuffer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-07 18:34:25 +02:00
Ivailo Monev
5c32f8c9e1 plasma: use the now exported Plasma::DialogShadows class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-07 18:23:05 +02:00
Ivailo Monev
156bfe470a plasma: log kickoff messages to the plasma area
250 is reserved for kfile (kdelibs)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-22 22:47:36 +03:00
Ivailo Monev
715a31531e plasma: log digital-clock applet debug messages to the plasma area
96669 is not reserved for anything

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-22 22:45:46 +03:00
Ivailo Monev
6d538c0cfb generic: remove unused script environment defaultApplication() function
use runCommand()/runApplication() and `kde-open` if you need to open URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-16 13:02:08 +03:00
Ivailo Monev
936c69c827 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-14 16:19:24 +03:00
Ivailo Monev
d366561ceb generic: adjust to KService::newServicePath() change
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 23:28:56 +03:00
Ivailo Monev
dc50956578 plasma: remove bogus status notifier item animation feature
AttentionMovieName is not valid property of the org.kde.StatusNotifierItem
interface, see:
kdelibs/kdeui/notifications/kstatusnotifieritemdbus_p.h

it is in the interface file:
kdeui/notifications/org.kde.StatusNotifierItem.xml

but not implemented in the D-Bus interface

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-28 16:59:19 +03:00
Ivailo Monev
a3bc9cf437 generic: make use of the new KRandom::randomMax() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-26 11:55:36 +03:00
Ivailo Monev
1212fc79f7 generic: adjust to authorization changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-25 19:12:57 +03:00
Ivailo Monev
e1c102d439 generic: remove checks for system headers that should be present
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-23 16:21:57 +03:00
Ivailo Monev
acfeaa88f1 plasma: simplify URLs transformation in bookmarks runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-22 07:24:25 +03:00
Ivailo Monev
9db4775e46 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-09 06:07:40 +03:00
Ivailo Monev
45fbbf2582 generic: compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-05 22:06:42 +03:00
Ivailo Monev
6aab5c5b7c plasma: fix systemtray applet animation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-05 19:16:43 +03:00
Ivailo Monev
38cdd9c0f4 generic: cast pointers with QObject as base class via qobject_cast<T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-01 21:54:59 +03:00
Ivailo Monev
16d5fb429b plasma: remove broken uninstall kickoff action
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-29 20:29:50 +03:00
Ivailo Monev
3053762d87 plasma: replace number with enum in systemtray applet
for reference:
https://github.com/fluxer/qt/blob/4.8/src/corelib/global/qnamespace.h#L542

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 10:18:11 +03:00
Ivailo Monev
f68295ea28 generic: move sub-projects from kde-baseapps [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-14 21:56:54 +03:00
Ivailo Monev
ab00b7e964 plasma: remove hidden and disabled by default option to show show remaining time
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-27 14:59:10 +03:00
Ivailo Monev
b82d79caa7 plasma: put back the inhibition item to the battery monitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-23 07:36:50 +03:00
Ivailo Monev
9c30aafe86 plasma: remove powerdevil leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-23 07:23:13 +03:00
Ivailo Monev
a2ca14adbb generic: adjust to solid changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-22 16:21:42 +03:00
Ivailo Monev
6043f3e61b generic: drop powerdevil and adjust to power manager changes
TODO: reimplement plasma battery applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 06:51:10 +03:00
Ivailo Monev
fcbc69b222 generic: reimplement screen saver interface via xscreensaver
my monitor is not the latest stock but it has its own screen saver
feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-13 01:27:15 +03:00
Ivailo Monev
8ddda9a0b8 generic: deal with TODO related to CMP0005
requires:
f5fe6558ca

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-08 02:00:36 +03:00
Ivailo Monev
71b4805ab9 generic: adjust to KFileMetaInfo and KFileMetaInfoItem classes changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-09 17:23:02 +02:00
Ivailo Monev
4b3759716c plasma: reimplement folderview applet meta information
requires:
6be64be278

TODO: KFileMetaInfoItem::toString() for special cases like dates, bitrate,
etc. like those handled in kdelibs/kio/kio/kfilemetainfo.cpp.
KFileMetaInfoItem::suffix() and KFileMetaInfoItem::prefix() are not
implemeneted but KFileMetaInfoItem::toString() will cover both

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-08 18:49:13 +02:00
Ivailo Monev
a2ca134e84 plasma: fix rare crash on applications launch from kickoff menu
regression since 7d2095df32

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-30 10:15:56 +02:00
Ivailo Monev
7d2095df32 generic: replace QLinkedList<T> with QList<T>
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-29 18:04:30 +02:00
Ivailo Monev
6e5ad73320 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-10 00:52:48 +02:00
Ivailo Monev
f993f16a4f generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-12-29 02:52:04 +02:00
Ivailo Monev
43bdc8ecd6 plasma: deal with TODO related to GPU detection in system monitor applet
while at it, handle multiple GPUs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-11-02 15:33:01 +02:00
Ivailo Monev
b6323e183f plasma: correct values for temperature plotter and tooltip
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-14 15:08:49 +03:00
Ivailo Monev
3baa761344 generic: generate export headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-28 04:20:04 +03:00
Ivailo Monev
b1dc25ba98 plasma: remove bogus HDD temperature feature
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-27 18:58:32 +03:00
Ivailo Monev
422d507823 plasma: handle encrypted storage volume usage in device notifier applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-20 19:10:06 +03:00
Ivailo Monev
44a2e1d897 generic: remove blur behind support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-19 14:34:49 +03:00
Ivailo Monev
5c6056952d generic: remove dashboard support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-16 04:04:04 +03:00
Ivailo Monev
1b13957446 plasma: partially revert 2f54936406
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-16 01:07:13 +03:00
Ivailo Monev
3a2cb33e60 plasma: deal with FIXME related to system monitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-15 22:41:16 +03:00
Ivailo Monev
2f54936406 plasma: set group manager options and declarative widget properties on config change
fixes restoration of task manager options upon desktop restart

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-15 14:15:22 +03:00
Ivailo Monev
9606d683ae generic: make use of QHostInfo::localHostName() and QHostInfo::localDomainName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-11 13:39:10 +03:00