Source: kaccelprivate.h

# Source: kaccelprivate.h |
Annotated List
Files
Globals
Hierarchy
Index

    #ifndef __KACCELPRIVATE_H
    #define __KACCELPRIVATE_H

    #include "kkeyserver_x11.h"

    /**
     * @internal
     */
    class KAccelPrivate : public QObject, public KAccelBase
    {
    	Q_OBJECT
     public:
    	KAccel* m_pAccel;
    	QWidget* m_pWatch;
    	QMap m_mapIDToKey;
    	QMap m_mapIDToAction;
    	QTimer m_timerShowMenu;

    	KAccelPrivate( KAccel* pParent, QWidget* pWatch );

    	virtual void setEnabled( bool );

    	bool setEnabled( const QString& sAction, bool bEnable );

    	virtual bool removeAction( const QString& sAction );

    	virtual bool emitSignal( KAccelBase::Signal );
    	virtual bool connectKey( KAccelAction&, const KKeyServer::Key& );
    	virtual bool connectKey( const KKeyServer::Key& );
    	virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& );
    	virtual bool disconnectKey( const KKeyServer::Key& );

     signals:
    	void menuItemActivated();
    	void activateInt( int );

     private slots:
    	void slotKeyPressed( int id );
    	void slotShowMenu();
    	void slotMenuActivated( int iAction );

    	bool eventFilter( QObject* pWatched, QEvent* pEvent ); // virtual method from QObject
    };

    #endif // !__KACCELPRIVATE_H

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.