• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

  • kdecore
kglobalaccel_win.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2001,2002 Ellis Whitehead <ellis@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef _KGLOBALACCEL_WIN_H
21 #define _KGLOBALACCEL_WIN_H
22 
23 #include <tqmap.h>
24 #include <tqwidget.h>
25 
26 #include "kaccelbase.h"
27 #include "kkeyserver.h"
28 #include "kshortcut.h"
29 
33 class KGlobalAccelPrivate : public TQWidget, public KAccelBase
34 {
35  friend class KGlobalAccel;
36  Q_OBJECT
37  public:
38  KGlobalAccelPrivate();
39  virtual ~KGlobalAccelPrivate();
40 
41  virtual void setEnabled( bool bEnabled );
42 
43  virtual bool emitSignal( Signal signal );
44  virtual bool connectKey( KAccelAction& action, const KKeyServer::Key& key );
45  virtual bool connectKey( const KKeyServer::Key& key );
46  virtual bool disconnectKey( KAccelAction& action, const KKeyServer::Key& key );
47  virtual bool disconnectKey( const KKeyServer::Key& key );
48 
49  protected:
50 
54  bool grabKey( const KKeyServer::Key&, bool bGrab, KAccelAction* );
55 
63 // virtual bool x11Event( XEvent* );
64 // void x11MappingNotify();
65 // bool x11KeyPress( const XEvent *pEvent );
66  void activate( KAccelAction* pAction, const KKeySequence& seq );
67  virtual bool isEnabledInternal() const;
68  static void blockShortcuts( bool block );
69  void disableBlocking( bool disable );
70 
71  protected slots:
72  void slotActivated( int iAction );
73  bool m_blocked;
74  bool m_blockingDisabled;
75 };
76 
77 #endif // _KGLOBALACCEL_WIN_H

kdecore

Skip menu "kdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |