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

List:       kde-multimedia
Subject:    Re: Another kaboodle patch
From:       Cedric Pasteur <cedric.pasteur () m6net ! fr>
Date:       2003-10-14 19:37:43
[Download RAW message or body]

I also have made a new version of this patch too. You can now also 
configure the kvideowidget shortcuts ( fullscreen mode, simple or double 
size ..)

Cédric

["kaboodle-patch2-v2" (text/plain)]

Common subdirectories: kaboodle/CVS and kaboodle-3/CVS
Common subdirectories: kaboodle/actions and kaboodle-3/actions
Common subdirectories: kaboodle/pics and kaboodle-3/pics
diff -u kaboodle/userinterface.cpp kaboodle-3/userinterface.cpp
--- kaboodle/userinterface.cpp	2003-09-26 16:16:50.000000000 +0200
+++ kaboodle-3/userinterface.cpp	2003-10-14 21:07:39.000000000 +0200
@@ -92,7 +92,17 @@
 
 void Kaboodle::UserInterface::slotConfigureKeys()
 {
-  KKeyDialog::configure( actionCollection(), this );
+  	KKeyDialog *dialog = new KKeyDialog(this, 0);
+  	dialog->insert(actionCollection(), "Kaboodle");
+  	dialog->insert(part->actionCollection(), "Video Player");
+	
+	//retrieve the KVideoWidget KActionCollection
+	QPtrList<KXMLGUIClient> list;
+	list = *(part->childClients()); //The KVideoWidget in View is created as a child of \
Player ( which inherits KXMLGUIClient) +	dialog->insert( \
(list.first())->actionCollection() , "Video"); // There is only one KXMLGUIClient in \
the list : the KVideoWidget +	
+	dialog->exec();
+    //KKeyDialog::configure( actionCollection(), this );
 }
 
 Kaboodle::UserInterface::~UserInterface(void)



_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia


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

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