snippet_part.h
Go to the documentation of this file.00001 /* 00002 * File : snippet_part.h 00003 * 00004 * Author: Robert Gruber <rgruber@users.sourceforge.net> 00005 * 00006 * Copyright: See COPYING file that comes with this distribution 00007 */ 00008 00009 00010 #ifndef __KDEVPART_SNIPPET_H__ 00011 #define __KDEVPART_SNIPPET_H__ 00012 00013 00014 #include <qguardedptr.h> 00015 #include <kdevplugin.h> 00016 00017 00018 class SnippetWidget; 00019 class KAboutData; 00020 00021 00022 /* 00023 This is the KDevPlugin for the CodeSnippet feature 00024 For more info read the README.dox file 00025 @author Robert Gruber 00026 */ 00027 class SnippetPart : public KDevPlugin 00028 { 00029 Q_OBJECT 00030 00031 public: 00032 00033 SnippetPart(QObject *parent, const char *name, const QStringList &); 00034 ~SnippetPart(); 00035 KAboutData * aboutData(); 00036 00037 private: 00038 QGuardedPtr<SnippetWidget> m_widget; 00039 00040 public slots: 00041 void slotConfigWidget( KDialogBase *dlg ); 00042 }; 00043 00044 00045 #endif