kmail

snippetdlg.h

00001 /*
00002   Originally created by uic, now hand-edited
00003 */
00004 
00005 #ifndef SNIPPETDLG_H
00006 #define SNIPPETDLG_H
00007 
00008 #include "snippetdlgbase.h"
00009 
00010 class KKeyButton;
00011 class KActionCollection;
00012 class KShortcut;
00013 
00014 class SnippetDlg : public SnippetDlgBase
00015 {
00016   Q_OBJECT
00017   public:
00018     SnippetDlg( KActionCollection *ac, QWidget *parent = 0, const char *name = 0,
00019                 bool modal = FALSE, WFlags fl = 0 );
00020     ~SnippetDlg();
00021 
00022     void setGroupMode( bool groupMode );
00023     void setShowShortcut( bool show );
00024 
00025     QLabel *shortcutLabel;
00026     KKeyButton *shortcutButton;
00027     KActionCollection *actionCollection;
00028 
00029   protected slots:
00030     void slotTextChanged( const QString & );
00031     void slotReturnPressed();
00032     virtual void languageChange();
00033 
00034   private slots:
00035     void slotCapturedShortcut( const KShortcut & );
00036 };
00037 
00038 #endif // SNIPPETDLG_H
KDE Home | KDE Accessibility Home | Description of Access Keys