20 #ifndef _KGLOBALACCEL_WIN_H
21 #define _KGLOBALACCEL_WIN_H
26 #include "kaccelbase.h"
27 #include "kkeyserver.h"
28 #include "kshortcut.h"
33 class KGlobalAccelPrivate :
public TQWidget,
public KAccelBase
38 KGlobalAccelPrivate();
39 virtual ~KGlobalAccelPrivate();
43 virtual bool emitSignal( Signal signal );
44 virtual bool connectKey( KAccelAction& action,
const KKeyServer::Key& key );
46 virtual bool disconnectKey( KAccelAction& action,
const KKeyServer::Key& key );
66 void activate( KAccelAction* 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;
77 #endif // _KGLOBALACCEL_WIN_H