[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/kaboodle
From:       Carsten Pfeiffer <carpdjih () mailbox ! tu-berlin ! de>
Date:       2003-10-14 21:55:59
[Download RAW message or body]

CVS commit by pfeiffer: 

make the videowidget's shortcuts configurable, too


  M +3 -0      userinterface.cpp   1.36
  M +1 -0      view.cpp   1.21
  M +1 -0      view.h   1.12


--- kdemultimedia/kaboodle/userinterface.cpp  #1.35:1.36
@@ -40,4 +40,5 @@
 #include <qvbox.h>
 #include <kkeydialog.h>
+#include <kvideowidget.h>
 
 #include "conf.h"
@@ -97,4 +98,6 @@ void Kaboodle::UserInterface::slotConfig
         dialog.insert(actionCollection(), KaboodleFactory::instance()->aboutData()->programName() );
         dialog.insert(part->actionCollection(), i18n("Player") );
+        View *view = static_cast<View*>( part->view() );
+        dialog.insert(view->videoWidget()->actionCollection(), i18n("Video"));
         (void) dialog.configure();
 }

--- kdemultimedia/kaboodle/view.cpp  #1.20:1.21
@@ -71,4 +71,5 @@ Kaboodle::View::View(QWidget *parent, co
 
         video = new KVideoWidget(player, box);
+        video->actionCollection()->readShortcutSettings();
         setVideoWidget(video);
         connect(video, SIGNAL(adaptSize(int, int)), this, SLOT(calculateSize(int, int)));

--- kdemultimedia/kaboodle/view.h  #1.11:1.12
@@ -64,4 +64,5 @@ public:
 
         void embed(Arts::PlayObject);
+        KVideoWidget *videoWidget() { return video; }
 
 public slots:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic