parts/replace/replace_part.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Jens Dagerbo * 00003 * jens.dagerbo@swipnet.se * 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 __KDEVPART_REPLACE_H__ 00013 #define __KDEVPART_REPLACE_H__ 00014 00015 00016 #include <qguardedptr.h> 00017 #include <kdevplugin.h> 00018 00019 00020 class ReplaceWidget; 00021 00022 00023 class ReplacePart : public KDevPlugin 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 ReplacePart(QObject *parent, const char *name, const QStringList &); 00029 ~ReplacePart(); 00030 00031 public slots: 00032 void slotReplace(); 00033 00034 private: 00035 QGuardedPtr<ReplaceWidget> m_widget; 00036 00037 }; 00038 00039 00040 #endif