class KActionCollection

A managed set of KAction objects. More...

Definition#include <kaction.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals

Protected Methods


Detailed Description

A managed set of KAction objects.

 KActionCollection ( QWidget *parent, const char *name = 0, KInstance *instance = 0 )

KActionCollection

 KActionCollection ( QWidget *watch, QObject* parent, const char *name = 0, KInstance *instance = 0 )

KActionCollection

Use this constructor if you want the collection's actions to restrict their accelerator keys to watch rather than the parent. If you don't require shortcuts, you can pass a null to the watch parameter.

 KActionCollection ( const KActionCollection © )

KActionCollection

 ~KActionCollection ()

~KActionCollection

[virtual]

void  setWidget ( QWidget *widget )

setWidget

[virtual]

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.

KAccel*  accel ()

accel

[virtual]

Return the collection's KAccel object

const KAccel*  accel ()

accel

[const virtual]

uint  count ()

count

[const virtual]

bool  isEmpty ()

isEmpty

[const]

KAction*  action ( int index )

action

[const virtual]

KAction*  action ( const char* name, const char* classname = 0 )

action

[const virtual]

QStringList  groups ()

groups

[const virtual]

KActionPtrList  actions ( const QString& group )

actions

[const virtual]

KActionPtrList  actions ()

actions

[const virtual]

bool  readShortcutSettings ( const QString& sConfigGroup = QString::null, KConfigBase* pConfig = 0 )

readShortcutSettings

Used for reading shortcut configuration from a non-XML rc file.

bool  writeShortcutSettings ( const QString& sConfigGroup = QString::null, KConfigBase* pConfig = 0 )

writeShortcutSettings

[const]

Used for writing shortcut configuration to a non-XML rc file.

void  setInstance ( KInstance *instance )

setInstance

KInstanceinstance ()

instance

[const]

void  setXMLFile ( const QString& )

setXMLFile

Use this to tell the KActionCollection what rc file its configuration is stored in.

const QString&  xmlFile ()

xmlFile

[const]

void  setHighlightingEnabled ( bool enable )

setHighlightingEnabled

bool  highlightingEnabled ()

highlightingEnabled

[const]

void  connectHighlight ( QWidget *container, KAction *action )

connectHighlight

void  disconnectHighlight ( QWidget *container, KAction *action )

disconnectHighlight

void  inserted ( KAction* )

inserted

[signal]

void  removed ( KAction* )

removed

[signal]

void  actionHighlighted ( KAction *action )

actionHighlighted

[signal]

void  actionHighlighted ( KAction *action, bool highlight )

actionHighlighted

[signal]

void  actionStatusText ( const QString &text )

actionStatusText

[signal]

void  clearStatusText ()

clearStatusText

[signal]

 KActionCollection ( QObject *parent, const char *name = 0, KInstance *instance = 0 )

KActionCollection

void  insert ( KAction* )

insert

void  remove ( KAction* )

remove

KAction*  take ( KAction* )

take

KActionCollection  operator+ ( const KActionCollection& )

operator+

[const]

KActionCollection&  operator= ( const KActionCollection& )

operator=

KActionCollection&  operator+= ( const KActionCollection& )

operator+=

void  clear ()

clear

[slot]

Clears the entire actionCollection, deleting all actions.

See also: remove

void  virtual_hook ( int id, void* data )

virtual_hook

[protected virtual]


Generated by: dfaure on faure on Tue Apr 16 08:49:25 2002, using kdoc 2.0a53.