kmail
snippetsettings.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * snippet feature from kdevelop/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 public: 00033 SnippetSettings(QWidget *parent = 0, const char *name = 0); 00034 SnippetSettings(SnippetWidget * w, QWidget *parent = 0, const char *name = 0); 00035 00036 ~SnippetSettings(); 00037 00038 public slots: 00039 void slotOKClicked(); 00040 00041 private: 00042 SnippetConfig * _cfg; 00043 SnippetWidget * _widget; 00044 }; 00045 00046 #endif