# kdecore Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# kaccelprivate.h

    00001 #ifndef __KACCELPRIVATE_H
    00002 #define __KACCELPRIVATE_H
    00003
    00004 #include "kkeyserver_x11.h"
    00005 #include <qtimer.h>
    00006
    00010 class KDECORE_EXPORT KAccelPrivate : public QObject, public KAccelBase
    00011 {
    00012     Q_OBJECT
    00013  public:
    00014     KAccel* m_pAccel;
    00015     QWidget* m_pWatch;
    00016     QMap<int, int> m_mapIDToKey;
    00017     QMap<int, KAccelAction*> m_mapIDToAction;
    00018     QTimer m_timerShowMenu;
    00019
    00020     KAccelPrivate( KAccel* pParent, QWidget* pWatch );
    00021
    00022     virtual void setEnabled( bool );
    00023
    00024     bool setEnabled( const QString& sAction, bool bEnable );
    00025
    00026     virtual bool removeAction( const QString& sAction );
    00027
    00028     virtual bool emitSignal( KAccelBase::Signal );
    00029     virtual bool connectKey( KAccelAction&, const KKeyServer::Key& );
    00030     virtual bool connectKey( const KKeyServer::Key& );
    00031     virtual bool disconnectKey( KAccelAction&, const KKeyServer::Key& );
    00032     virtual bool disconnectKey( const KKeyServer::Key& );
    00033
    00034  signals:
    00035     void menuItemActivated();
    00036     void activateInt( int );
    00037
    00038  private slots:
    00039     void slotKeyPressed( int id );
    00040     void slotShowMenu();
    00041     void slotMenuActivated( int iAction );
    00042
    00043     bool eventFilter( QObject* pWatched, QEvent* pEvent ); // virtual method from QObject
    00044 };
    00045
    00046 #endif // !__KACCELPRIVATE_H

This file is part of the documentation for kdecore Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:18:00 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003