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

List:       kde-bugs-dist
Subject:    [Bug 82006] KXMLGUI : State : Show / Hide requiered
From:       Sebastien <sebastien.laout () tuxfamily ! org>
Date:       2004-06-17 14:52:05
Message-ID: 20040617145205.13133.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=82006      




------- Additional Comments From sebastien.laout tuxfamily org  2004-06-17 16:52 \
-------
> Do you know about
> http://api.kde.org/cvs-api/kdeui/html/classKXMLGUIClient.html#a21?

So, I've tried but I miss another thing :

 QPtrList<KAction> file_actions;
 for( ... )
   if( ... )
     file_actions.append( cool_action );
 unplugActionList( "xxx_file_actionlist" );
 plugActionList( "xxx_file_actionlist", file_actions );

This is great. But I need to create somes actions that execute the same method, just \
passing an integer parameter to the slot.

How can I do ?


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

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