Commit graph

15 commits

Author SHA1 Message Date
Ivailo Monev
5d535e9575 knotify: always create new KAudioPlayer instance
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-17 23:45:43 +03:00
Ivailo Monev
f58eba713f generic: adjust to media classes changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-26 09:57:00 +02:00
Ivailo Monev
f39596ee19 generic: review configuration checks
since kde-runtime was merged into kde-workspace some checks definitions are
duplicated in config-runtime headers thus it is removed.

missing function and header checks were added, most of which also missing in
kde-runtime and kde-workspace so that is by no means mistake made during the
merge.

the check for libkstat for Solaris is actually done via /dev/kstat existence
check from ksysguardd/Solaris/Solaris.cmake.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-24 20:10:10 +00:00
Ivailo Monev
c4e09b85d5 genric: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-21 20:57:58 +00:00
Ivailo Monev
f7f25c5f7c knotify: simplify idle players cleanup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-18 19:29:18 +00:00
Ivailo Monev
801410d5d1 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-09 03:27:21 +00:00
Ivailo Monev
a41da6cd32 generic: simplify notification by sound
in the future the volume will be configurable via a custom widget that is
specifically for KMediaPlayer and friends so the KCM will have to be
reworked to make use of it for volume control but until that happens the
only options are sound and no sound for notifications

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 02:34:15 +00:00
Ivailo Monev
0e40e66ccb generic: drop Phonon in favour of MPV and custom player classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:49:10 +00:00
Ivailo Monev
0cf8c59f82 generic: misc cleanups 2015-09-27 04:22:24 +00:00
Ivailo Monev
840c8a25cc generic: make changes required for building against katie 2015-08-12 13:11:16 +03:00
Ivailo Monev
c433e4502a generic: adjust for use with CMake moc 2015-02-27 09:28:46 +00:00
Ivailo Monev
8d295daf24 knotify: make changing the volume on notifications optional and disabled by default
I don't see why we should change the volume at all, let the user decide their volume, but since we have the feature i didn't want to remove it completely and instead left if disabled by default.

Acked by davidedmundson and sitter
REVIEW: 121278
FIXED-IN: 15.04
BUGS: 324975
2015-01-03 23:24:21 +00:00
Ivailo Monev
6974e7e5ba make use of KUrl on phonon calls
KUrl handles "file://" appending when neccessary
2014-12-31 01:07:19 +00:00
Ivailo Monev
32493eaee1 use new Phonon API knotify
searching trought the Git repository log (no changelog/news file)
I found that the deprecation of QString argument to MediaSource is
in 2013 or prior that. Not sure which release exactly that was in.
2014-12-07 22:15:49 +00:00
Ivailo Monev
fdeee7c849 imported everything from kde-runtime 2014-11-15 04:16:00 +02:00