Qt 4.8
Public Functions | Public Variables | List of all members
QShortcutEntry Struct Reference

Public Functions

bool operator< (const QShortcutEntry &f) const
 
 QShortcutEntry ()
 
 QShortcutEntry (const QKeySequence &k)
 
 QShortcutEntry (QObject *o, const QKeySequence &k, Qt::ShortcutContext c, int i)
 
 QShortcutEntry (QObject *o, const QKeySequence &k, Qt::ShortcutContext c, int i, bool a)
 

Public Variables

bool autorepeat: 1
 
Qt::ShortcutContext context
 
bool enabled: 1
 
signed int id
 
QKeySequence keyseq
 
QObjectowner
 

Detailed Description

Definition at line 73 of file qshortcutmap.cpp.

Constructors and Destructors

◆ QShortcutEntry() [1/4]

QShortcutEntry::QShortcutEntry ( )
inline

Definition at line 75 of file qshortcutmap.cpp.

76  : keyseq(0), context(Qt::WindowShortcut), enabled(false), autorepeat(1), id(0), owner(0)
77  {}
QKeySequence keyseq
Qt::ShortcutContext context
signed int id
QObject * owner

◆ QShortcutEntry() [2/4]

QShortcutEntry::QShortcutEntry ( const QKeySequence k)
inline

Definition at line 79 of file qshortcutmap.cpp.

80  : keyseq(k), context(Qt::WindowShortcut), enabled(false), autorepeat(1), id(0), owner(0)
81  {}
QKeySequence keyseq
Qt::ShortcutContext context
signed int id
QObject * owner

◆ QShortcutEntry() [3/4]

QShortcutEntry::QShortcutEntry ( QObject o,
const QKeySequence k,
Qt::ShortcutContext  c,
int  i 
)
inline

Definition at line 83 of file qshortcutmap.cpp.

84  : keyseq(k), context(c), enabled(true), autorepeat(1), id(i), owner(o)
85  {}
unsigned char c[8]
Definition: qnumeric_p.h:62
QKeySequence keyseq
Qt::ShortcutContext context
signed int id
QObject * owner

◆ QShortcutEntry() [4/4]

QShortcutEntry::QShortcutEntry ( QObject o,
const QKeySequence k,
Qt::ShortcutContext  c,
int  i,
bool  a 
)
inline

Definition at line 87 of file qshortcutmap.cpp.

88  : keyseq(k), context(c), enabled(true), autorepeat(a), id(i), owner(o)
89  {}
unsigned char c[8]
Definition: qnumeric_p.h:62
QKeySequence keyseq
long ASN1_INTEGER_get ASN1_INTEGER * a
Qt::ShortcutContext context
signed int id
QObject * owner

Functions

◆ operator<()

bool QShortcutEntry::operator< ( const QShortcutEntry f) const
inline

Definition at line 91 of file qshortcutmap.cpp.

92  { return keyseq < f.keyseq; }
QKeySequence keyseq

Properties

◆ autorepeat

bool QShortcutEntry::autorepeat

Definition at line 97 of file qshortcutmap.cpp.

◆ context

Qt::ShortcutContext QShortcutEntry::context

Definition at line 95 of file qshortcutmap.cpp.

Referenced by QShortcutMap::correctContext().

◆ enabled

bool QShortcutEntry::enabled

Definition at line 96 of file qshortcutmap.cpp.

Referenced by QShortcutMap::dispatchEvent().

◆ id

signed int QShortcutEntry::id

◆ keyseq

QKeySequence QShortcutEntry::keyseq

◆ owner

QObject* QShortcutEntry::owner

The documentation for this struct was generated from the following file: