00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SNIPPETDLG_H
00011 #define SNIPPETDLG_H
00012
00013 #include "snippetdlgbase.h"
00014
00015 class KKeyButton;
00016 class KActionCollection;
00017 class KShortcut;
00018
00019 class SnippetDlg : public SnippetDlgBase
00020 {
00021 Q_OBJECT
00022 TQ_OBJECT
00023
00024 public:
00025 SnippetDlg( KActionCollection* ac, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00026 ~SnippetDlg();
00027
00028 void setShowShortcut( bool show );
00029
00030 TQLabel* textLabel3;
00031 TQLabel* textLabelGroup;
00032 KKeyButton* keyButton;
00033 KActionCollection* actionCollection;
00034
00035 protected slots:
00036 void slotTextChanged( const TQString& );
00037 void slotReturnPressed();
00038 virtual void languageChange();
00039
00040 private slots:
00041 void slotCapturedShortcut( const KShortcut& );
00042 };
00043
00044 #endif // SNIPPETDLG_H