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
19class SnippetWidget;
20class SnippetConfig;
21
29class SnippetSettings : public SnippetSettingsBase
30{
31TQ_OBJECT
32
33public:
34 SnippetSettings(TQWidget *parent = 0, const char *name = 0);
35 SnippetSettings(SnippetWidget * w, TQWidget *parent = 0, const char *name = 0);
36
38
39public slots:
40 void slotOKClicked();
41
42private:
43 SnippetConfig * _cfg;
44 SnippetWidget * _widget;
45};
46
47#endif
This class stores the values that can be configured via the KDevelop settings dialog.
This class is the widget that is showen in the KDevelop settings dialog.
This is the widget which gets added to the right TreeToolView.