vcs/cervisia/cervisia_plugin.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Mario Scalas * 00003 * mario.scalas@libero.it * 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 _PARTEXPLORERPLUGIN_H_ 00013 #define _PARTEXPLORERPLUGIN_H_ 00014 00015 #include <qguardedptr.h> 00016 00017 #include <kdevversioncontrol.h> 00018 00019 class QWidget; 00020 class QPainter; 00021 class KURL; 00022 class QVBox; 00023 00024 namespace KParts 00025 { 00026 class ReadOnlyPart; 00027 }; 00028 00029 class CervisiaPlugin : public KDevVersionControl 00030 { 00031 Q_OBJECT 00032 public: 00036 CervisiaPlugin( QObject *parent, const char *name, const QStringList & ); 00040 virtual ~CervisiaPlugin(); 00041 00042 public slots: 00043 void slotProjectOpened(); 00044 void slotProjectClosed(); 00045 00046 private: 00047 KParts::ReadOnlyPart *m_part; 00048 }; 00049 00050 #endif // _PARTEXPLORERPLUGIN_H_