summaryrefslogtreecommitdiffstats
path: root/kdecore/kaccelprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kaccelprivate.h')
-rw-r--r--kdecore/kaccelprivate.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/kdecore/kaccelprivate.h b/kdecore/kaccelprivate.h
deleted file mode 100644
index 0a6cdc19b..000000000
--- a/kdecore/kaccelprivate.h
+++ /dev/null
@@ -1,53 +0,0 @@
-#ifndef __KACCELPRIVATE_H
-#define __KACCELPRIVATE_H
-
-#include "kkeyserver_x11.h"
-#include <tqtimer.h>
-
-class KAccelAction;
-
-/**
- * @internal
- */
-class KDECORE_EXPORT KAccelPrivate : public TQObject, public KAccelBase
-{
- Q_OBJECT
- public:
- KAccel* m_pAccel;
- TQWidget* m_pWatch;
- TQMap<int, int> m_mapIDToKey;
- TQMap<int, KAccelAction*> m_mapIDToAction;
- TQTimer m_timerShowMenu;
-
- KAccelPrivate( KAccel* pParent, TQWidget* pWatch );
-
- virtual void setEnabled( bool bEnabled );
-
- bool setEnabled( const TQString& sAction, bool bEnable );
-
- virtual bool removeAction( const TQString& sAction );
-
- virtual bool emitSignal( KAccelBase::Signal signal );
- virtual bool connectKey( KAccelAction& action, const KKeyServer::Key& key );
- virtual bool connectKey( const KKeyServer::Key& key );
- virtual bool disconnectKey( KAccelAction& action, const KKeyServer::Key& key );
- virtual bool disconnectKey( const KKeyServer::Key& key );
-
- signals:
- void menuItemActivated();
- void menuItemActivated(KAccelAction*);
-
- private:
-#ifndef Q_WS_WIN /** @todo TEMP: new implementation (commit #424926) didn't work */
- void emitActivatedSignal(KAccelAction*);
-#endif
-
- private slots:
- void slotKeyPressed( int id );
- void slotShowMenu();
- void slotMenuActivated( int iAction );
-
- bool eventFilter( TQObject* pWatched, TQEvent* pEvent ); // virtual method from QObject
-};
-
-#endif // !__KACCELPRIVATE_H