class KKey

A KKey object represents a single key with possible modifiers (Shift, Ctrl, Alt, Win). More...

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

Public Types

Public Methods

Public Static Methods


Detailed Description

A KKey object represents a single key with possible modifiers (Shift, Ctrl, Alt, Win). It can represent both keys which are understood by Qt as well as those which are additionally supported by the underlying system (e.g. X11). ********************************************************************

enum { MOD_FLAG_COUNT = 4 }

enum { QtWIN = (Qt::ALT << 1) }

enum ModFlag { SHIFT = 0x01, CTRL = 0x02, ALT = 0x04, WIN = 0x08 }

ModFlag

 KKey ()

KKey

 KKey ( int keyQt )

KKey

 KKey ( const QKeySequence& )

KKey

 KKey ( const QKeyEvent* )

KKey

 KKey ( const KKey& )

KKey

 KKey ( const QString& )

KKey

 KKey ( uint key, uint mod )

KKey

 ~KKey ()

~KKey

void  clear ()

clear

bool  init ( int keyQt )

init

bool  init ( const QKeySequence& )

init

bool  init ( const QKeyEvent* )

init

bool  init ( const KKey& )

init

bool  init ( const QString& )

init

bool  init ( uint key, uint mod )

init

KKey&  operator = ( const KKey& key )

operator =

bool  isNull ()

isNull

[const]

bool  isValidQt ()

isValidQt

[const]

bool  isValidNative ()

isValidNative

[const]

uint  sym ()

sym

[const]

uint  modFlags ()

modFlags

[const]

int  compare ( const KKey& )

compare

[const]

bool  operator == ( const KKey& key )

operator ==

[const]

bool  operator != ( const KKey& key )

operator !=

[const]

bool  operator < ( const KKey& key )

operator <

[const]

int  keyCodeQt ()

keyCodeQt

[const]

QString  toString ()

toString

[const]

QString  toStringInternal ()

toStringInternal

[const]

void  simplify ()

simplify

KKey&  null ()

null

[static]

QString  modFlagLabel ( ModFlag )

modFlagLabel

[static]


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