20 #ifndef _KGLOBALACCEL_WIN_H
21 #define _KGLOBALACCEL_WIN_H
26 #include "tdeaccelbase.h"
27 #include "kkeyserver.h"
28 #include "tdeshortcut.h"
33 class TDEGlobalAccelPrivate :
public TQWidget,
public TDEAccelBase
38 TDEGlobalAccelPrivate();
39 virtual ~TDEGlobalAccelPrivate();
43 virtual bool emitSignal( Signal signal );
44 virtual bool connectKey( TDEAccelAction& action,
const KKeyServer::Key& key );
46 virtual bool disconnectKey( TDEAccelAction& action,
const KKeyServer::Key& key );
66 void activate( TDEAccelAction* pAction,
const KKeySequence& seq );
67 virtual bool isEnabledInternal()
const;
68 static void blockShortcuts(
bool block );
69 void disableBlocking(
bool disable );
72 void slotActivated(
int iAction );
74 bool m_blockingDisabled;
A KKeySequence object holds a sequence of up to 4 keys.
TDEGlobalAccel allows you to have global accelerators that are independent of the focused window.
void setEnabled(bool bEnabled)
Enables or disables the TDEGlobalAccel.