kmail

snippetsettings.h
00001 /***************************************************************************
00002  *   snippet feature from tdevelop/plugins/snippet/                        *
00003  *                                                                         * 
00004  *   Copyright (C) 2007 by Robert Gruber                                   *
00005  *   rgruber@users.sourceforge.net                                         *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  ***************************************************************************/
00013 
00014 #ifndef SNIPPETSETTINGS_H
00015 #define SNIPPETSETTINGS_H
00016 
00017 #include "snippetsettingsbase.h"
00018 
00019 class SnippetWidget;
00020 class SnippetConfig;
00021 
00029 class SnippetSettings : public SnippetSettingsBase
00030 {
00031 Q_OBJECT
00032   
00033 public:
00034     SnippetSettings(TQWidget *parent = 0, const char *name = 0);
00035     SnippetSettings(SnippetWidget * w, TQWidget *parent = 0, const char *name = 0);
00036 
00037     ~SnippetSettings();
00038 
00039 public slots:
00040     void slotOKClicked();
00041 
00042 private:
00043   SnippetConfig * _cfg;
00044   SnippetWidget * _widget;
00045 };
00046 
00047 #endif