class KShortcut

The KShortcut class is used to represent a keyboard shortcut to an action. More...

Definition#include <kshortcut.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods

Protected Members


Detailed Description

The KShortcut class is used to represent a keyboard shortcut to an action. A shortcut is normally a single key with modifiers, such as Ctrl+V. A KShortcut object may also contain an alternate key which will also activate the action it's associated to, as long as no other actions have defined that key as their primary key. Ex: Ctrl+V;Shift+Insert. ********************************************************************

enum { MAX_SEQUENCES = 2 }

 KShortcut ()

KShortcut

 KShortcut ( int keyQt )

KShortcut

 KShortcut ( const QKeySequence& )

KShortcut

 KShortcut ( const KKey& )

KShortcut

 KShortcut ( const KKeySequence& )

KShortcut

 KShortcut ( const KShortcut& )

KShortcut

 KShortcut ( const char* )

KShortcut

 KShortcut ( const QString& )

KShortcut

 ~KShortcut ()

~KShortcut

void  clear ()

clear

bool  init ( int keyQt )

init

bool  init ( const QKeySequence& )

init

bool  init ( const KKey& )

init

bool  init ( const KKeySequence& )

init

bool  init ( const KShortcut& )

init

bool  init ( const QString& )

init

KShortcut&  operator = ( const KShortcut& cut )

operator =

uint  count ()

count

[const]

const KKeySequence&  seq ( uint i )

seq

[const]

int  keyCodeQt ()

keyCodeQt

[const]

bool  isNull ()

isNull

[const]

int  compare ( const KShortcut& )

compare

[const]

bool  operator == ( const KShortcut& cut )

operator ==

[const]

bool  operator != ( const KShortcut& cut )

operator !=

[const]

bool  operator < ( const KShortcut& cut )

operator <

[const]

bool  contains ( const KKey& )

contains

[const]

bool  contains ( const KKeyNative& )

contains

[const]

bool  contains ( const KKeySequence& )

contains

[const]

bool  setSeq ( uint i, const KKeySequence& )

setSeq

bool  append ( const KKeySequence& )

append

operator  QKeySequence ()

QKeySequence

[const]

QString  toString ()

toString

[const]

QString  toStringInternal ( const KShortcut* pcutDefault = 0 )

toStringInternal

[const]

KShortcut&  null ()

null

[static]

uint m_nSeqs

m_nSeqs

[protected]

KKeySequence m_rgseq[MAX_SEQUENCES]

m_rgseq[MAX_SEQUENCES]

[protected]

operator  int ()

int

[const]


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