kmail

snippetsettings.h
1 /***************************************************************************
2  * snippet feature from tdevelop/plugins/snippet/ *
3  * *
4  * Copyright (C) 2007 by Robert Gruber *
5  * rgruber@users.sourceforge.net *
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef SNIPPETSETTINGS_H
15 #define SNIPPETSETTINGS_H
16 
17 #include "snippetsettingsbase.h"
18 
19 class SnippetWidget;
20 class SnippetConfig;
21 
29 class SnippetSettings : public SnippetSettingsBase
30 {
31 TQ_OBJECT
32 
33 public:
34  SnippetSettings(TQWidget *parent = 0, const char *name = 0);
35  SnippetSettings(SnippetWidget * w, TQWidget *parent = 0, const char *name = 0);
36 
37  ~SnippetSettings();
38 
39 public slots:
40  void slotOKClicked();
41 
42 private:
43  SnippetConfig * _cfg;
44  SnippetWidget * _widget;
45 };
46 
47 #endif
This class stores the values that can be configured via the KDevelop settings dialog.
Definition: snippetconfig.h:26
This class is the widget that is showen in the KDevelop settings dialog.
This is the widget which gets added to the right TreeToolView.
Definition: snippetwidget.h:46