#include <kaction.h>
Public Slots | |
| void | clear () |
Public Methods | |
| KActionCollection (QWidget *watch, QObject *parent, const char *name=0, KInstance *instance=0) | |
| virtual void | setWidget (QWidget *widget) |
| void | setAutoConnectShortcuts (bool) |
| bool | addDocCollection (KActionCollection *pDoc) |
| virtual KAccel * | accel () |
| KAccel * | kaccel () |
| virtual uint | count () const |
| bool | readShortcutSettings (const QString &sConfigGroup=QString::null, KConfigBase *pConfig=0) |
| bool | writeShortcutSettings (const QString &sConfigGroup=QString::null, KConfigBase *pConfig=0) const |
| void | setXMLFile (const QString &) |
Definition at line 1761 of file kaction.h.
|
||||||||||||||||||||
|
Use this constructor if you want the collection's actions to restrict their accelerator keys to |
|
|
|
|
|
Doc/View model. This lets you add the action collection of a document to a view's action collection. |
|
|
Clears the entire actionCollection, deleting all actions.
|
|
|
Returns the KAccel object associated with widget #. |
|
|
Returns the KAccel object of the most recently set widget. |
|
||||||||||||
|
Used for reading shortcut configuration from a non-XML rc file. |
|
|
This indicates whether new actions which are created in this collection should have their keyboard shortcuts automatically connected on construction. Set to 'false' if you will be loading XML-based settings. This is automatically done by KParts. The default is 'true'. |
|
|
This sets the widget to which the keyboard shortcuts should be attached. You only need to call this if a null pointer was passed in the constructor. |
|
|
Use this to tell the KActionCollection what rc file its configuration is stored in. |
|
||||||||||||
|
Used for writing shortcut configuration to a non-XML rc file. |
1.2.18