Commit graph

10 commits

Author SHA1 Message Date
Ivailo Monev
3b18e56da7 kutils: attempt to set the statusbar text too when window is KMainWidnow
the change is questionable, the application may have different use case
for it but with this change it displays errors and currently played path
title which is kinda usefull if there is no window manager at all

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 06:34:46 +00:00
Ivailo Monev
8e9028c480 kutils: make emision of controls signal reliable for external use
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 06:32:50 +00:00
Ivailo Monev
ab4de0a79e kutils: fix fail to do fullscreen without parent window after doing it once
basicly once the hack is used m_parent becomes valid widget, to avoid using
it the second time fullscreen is requested just set it to NULL thus making
it invalid and the hack will be used again

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 05:45:29 +00:00
Ivailo Monev
dd06909ffb kutils: when the parent widget is KMainWindow use setCaption() to set title
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 06:32:39 +00:00
Ivailo Monev
05dd897b78 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 03:17:36 +00:00
Ivailo Monev
73d50c52e9 kutils: for some media classes bugs
one bug was that replay was not possible after sucessfull finish, another
one was that controls remained hidden after finish because path is empty
and finally the play/pause button was not update on finish because MPV does
not emit the event on finish (noted in the API docs)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 04:43:58 +00:00
Ivailo Monev
3d92b0104f generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 03:23:43 +00:00
Ivailo Monev
a26021c35c kutils: rework some parts of the media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-23 04:16:54 +00:00
Ivailo Monev
003bfe1da1 kutils: add more paranoia checks to KMediaWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 23:16:57 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +00:00