filterpart.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2002 by Bernd Gehrmann * 00003 * bernd@kdevelop.org * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef _FILTERPART_H_ 00013 #define _FILTERPART_H_ 00014 00015 #include <kdevgenericfactory.h> 00016 #include "kdevplugin.h" 00017 00018 class ShellInsertDialog; 00019 class ShellFilterDialog; 00020 00021 00022 class FilterPart : public KDevPlugin 00023 { 00024 Q_OBJECT 00025 00026 public: 00027 FilterPart( QObject *parent, const char *name, const QStringList & ); 00028 ~FilterPart(); 00029 00030 public slots: 00031 void slotShellInsert(); 00032 void slotShellFilter(); 00033 00034 private: 00035 ShellInsertDialog *m_insertDialog; 00036 ShellFilterDialog *m_filterDialog; 00037 }; 00038 00039 typedef KDevGenericFactory<FilterPart> FilterFactory; 00040 00041 #endif