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

tdeui

  • tdeui
tdeactionshortcutlist.h
1 #ifndef _TDEACTIONSHORTCUTLIST_H
2 #define _TDEACTIONSHORTCUTLIST_H
3 
4 #include <tdeshortcutlist.h>
5 #include <tdeaction.h>
6 
7 //---------------------------------------------------------------------
8 // class TDEActionShortcutList
9 //---------------------------------------------------------------------
10 
11 class TDEAccelShortcutListPrivate;
12 class TDEUI_EXPORT TDEActionShortcutList : public TDEShortcutList
13 {
14  public:
15  TDEActionShortcutList( TDEActionCollection* );
16  virtual ~TDEActionShortcutList();
17 
18  virtual uint count() const;
19  virtual TQString name( uint index ) const;
20  virtual TQString label( uint index ) const;
21  virtual TQString whatsThis( uint index ) const;
22  virtual const TDEShortcut& shortcut( uint index ) const;
23  virtual const TDEShortcut& shortcutDefault( uint index ) const;
24  virtual bool isConfigurable( uint index ) const;
25  virtual bool setShortcut( uint index, const TDEShortcut& shortcut );
26 
27  virtual const TDEInstance* instance() const;
28 
29  virtual TQVariant getOther( Other, uint index ) const;
30  virtual bool setOther( Other, uint index, TQVariant );
31 
32  virtual bool save() const;
33 
34  const TDEAction *action( uint ) const;
35 
36  protected:
37  TDEActionCollection& m_actions;
38 
39  protected:
40  virtual void virtual_hook( int id, void* data );
41  private:
42  TDEAccelShortcutListPrivate* d;
43 };
44 
45 //---------------------------------------------------------------------
46 // class TDEActionPtrShortcutList
47 //---------------------------------------------------------------------
48 
49 class TDEAccelShortcutListPrivate;
50 class TDEUI_EXPORT TDEActionPtrShortcutList : public TDEShortcutList
51 {
52  public:
53  TDEActionPtrShortcutList( TDEActionPtrList& );
54  virtual ~TDEActionPtrShortcutList();
55 
56  virtual uint count() const;
57  virtual TQString name( uint index ) const;
58  virtual TQString label( uint index ) const;
59  virtual TQString whatsThis( uint index ) const;
60  virtual const TDEShortcut& shortcut( uint index ) const;
61  virtual const TDEShortcut& shortcutDefault( uint index ) const;
62  virtual bool isConfigurable( uint index ) const;
63  virtual bool setShortcut( uint index, const TDEShortcut& shortcut);
64 
65  virtual TQVariant getOther( Other, uint index ) const;
66  virtual bool setOther( Other, uint index, TQVariant );
67 
68  virtual bool save() const;
69 
70  protected:
71  TDEActionPtrList& m_actions;
72 
73  protected:
74  virtual void virtual_hook( int id, void* data );
75  private:
76  TDEAccelShortcutListPrivate* d;
77 };
78 
79 #endif // !_TDEACTIONSHORTCUTLIST_H
TDEActionCollection
A managed set of TDEAction objects.
Definition: tdeactioncollection.h:79
TDEAction
Class to encapsulate user-driven action or event.
Definition: tdeaction.h:203
TDEInstance
TDEShortcutList
TDEShortcutList::shortcutDefault
virtual const TDEShortcut & shortcutDefault(uint index) const=0
TDEShortcutList::count
virtual uint count() const=0
TDEShortcutList::shortcut
virtual const TDEShortcut & shortcut(uint index) const=0
TDEShortcutList::instance
virtual const TDEInstance * instance() const
TDEShortcutList::name
virtual TQString name(uint index) const=0
TDEShortcutList::label
virtual TQString label(uint index) const=0
TDEShortcutList::setShortcut
virtual bool setShortcut(uint index, const TDEShortcut &shortcut)=0
TDEShortcutList::virtual_hook
virtual void virtual_hook(int id, void *data)
TDEShortcutList::isConfigurable
virtual bool isConfigurable(uint index) const=0
TDEShortcutList::save
virtual bool save() const=0
TDEShortcutList::whatsThis
virtual TQString whatsThis(uint index) const=0
TDEShortcut
TDEStdAccel::action
TQString action(StdAccel id)

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.1
This website is maintained by Timothy Pearson.