Commit Graph

4 Commits

Author SHA1 Message Date
Marco Martin
5f75ed8359 auto registers all the enums in widgets declared as Q_ENUMS, accessed as
widget.EnumValue

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=928727
2009-02-19 22:06:16 +00:00
Marco Martin
3bc7fa7a01 make VideoWidget::setUsedControls work
separate the enum registering in its own function
use the default controls in the javascript mediaplayer

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=925912
2009-02-14 13:57:37 +00:00
Marco Martin
0589a221e2 revert the phonon check, it appears HAVE_PHONON isn't defined and phonon
is required anyways

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=924894
2009-02-11 21:31:26 +00:00
Marco Martin
de7ebc6d69 an example video player in FIVE lines of javascript code :P
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923866
2009-02-09 16:15:41 +00:00