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

tdeui

tdeactionshortcutlist.h
00001 #ifndef _TDEACTIONSHORTCUTLIST_H
00002 #define _TDEACTIONSHORTCUTLIST_H
00003 
00004 #include <tdeshortcutlist.h>
00005 #include <tdeaction.h>
00006 
00007 //---------------------------------------------------------------------
00008 // class TDEActionShortcutList
00009 //---------------------------------------------------------------------
00010 
00011 class TDEAccelShortcutListPrivate;
00012 class TDEUI_EXPORT TDEActionShortcutList : public TDEShortcutList
00013 {
00014  public:
00015     TDEActionShortcutList( TDEActionCollection* );
00016     virtual ~TDEActionShortcutList();
00017 
00018     virtual uint count() const;
00019     virtual TQString name( uint index ) const;
00020     virtual TQString label( uint index ) const;
00021     virtual TQString whatsThis( uint index ) const;
00022     virtual const TDEShortcut& shortcut( uint index ) const;
00023     virtual const TDEShortcut& shortcutDefault( uint index ) const;
00024     virtual bool isConfigurable( uint index ) const;
00025     virtual bool setShortcut( uint index, const TDEShortcut& shortcut );
00026 
00027     virtual const TDEInstance* instance() const;
00028 
00029     virtual TQVariant getOther( Other, uint index ) const;
00030     virtual bool setOther( Other, uint index, TQVariant );
00031 
00032     virtual bool save() const;
00033 
00034     const TDEAction *action( uint ) const;
00035 
00036  protected:
00037     TDEActionCollection& m_actions;
00038 
00039  protected:
00040         virtual void virtual_hook( int id, void* data );
00041  private:
00042     TDEAccelShortcutListPrivate* d;
00043 };
00044 
00045 //---------------------------------------------------------------------
00046 // class TDEActionPtrShortcutList
00047 //---------------------------------------------------------------------
00048 
00049 class TDEAccelShortcutListPrivate;
00050 class TDEUI_EXPORT TDEActionPtrShortcutList : public TDEShortcutList
00051 {
00052  public:
00053     TDEActionPtrShortcutList( TDEActionPtrList& );
00054     virtual ~TDEActionPtrShortcutList();
00055 
00056     virtual uint count() const;
00057     virtual TQString name( uint index ) const;
00058     virtual TQString label( uint index ) const;
00059     virtual TQString whatsThis( uint index ) const;
00060     virtual const TDEShortcut& shortcut( uint index ) const;
00061     virtual const TDEShortcut& shortcutDefault( uint index ) const;
00062     virtual bool isConfigurable( uint index ) const;
00063     virtual bool setShortcut( uint index, const TDEShortcut& shortcut);
00064 
00065     virtual TQVariant getOther( Other, uint index ) const;
00066     virtual bool setOther( Other, uint index, TQVariant );
00067 
00068     virtual bool save() const;
00069 
00070  protected:
00071     TDEActionPtrList& m_actions;
00072 
00073  protected:
00074        virtual void virtual_hook( int id, void* data );
00075  private:
00076     TDEAccelShortcutListPrivate* d;
00077 };
00078 
00079 #endif // !_TDEACTIONSHORTCUTLIST_H

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.7.6.1
This website is maintained by Timothy Pearson.