parts/outputviews/makeviewpart.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 1999-2001 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 _MAKEVIEWPART_H_ 00013 #define _MAKEVIEWPART_H_ 00014 00015 #include <qguardedptr.h> 00016 00017 #include "kdevmakefrontend.h" 00018 #include "KDevMakeFrontendIface.h" 00019 00020 00021 class MakeWidget; 00022 00023 class MakeViewPart : public KDevMakeFrontend 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 MakeViewPart( QObject *parent, const char *name, const QStringList & ); 00029 ~MakeViewPart(); 00030 virtual QWidget* widget(); 00031 virtual void updateSettingsFromConfig(); 00032 00033 private slots: 00034 void slotStopButtonClicked(KDevPlugin*); 00035 00036 protected: 00037 virtual void queueCommand(const QString &dir, const QString &command); 00038 virtual bool isRunning(); 00039 00040 private: 00041 QGuardedPtr<MakeWidget> m_widget; 00042 KDevMakeFrontendIface *m_dcop; 00043 friend class MakeWidget; 00044 }; 00045 00046 #endif