fileviewpart.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2001-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 _FILEVIEWPART_H_ 00013 #define _FILEVIEWPART_H_ 00014 00015 #include <qguardedptr.h> 00016 #include <configwidgetproxy.h> 00017 #include "kdevplugin.h" 00018 #include "vcscolorsconfigwidget.h" 00019 00020 class PartWidget; 00021 class KDialogBase; 00022 00023 class FileViewPart : public KDevPlugin 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 FileViewPart( QObject *parent, const char *name, const QStringList & ); 00029 virtual ~FileViewPart(); 00030 00032 static VCSColors vcsColors; 00033 00034 private slots: 00035 void insertConfigWidget( const KDialogBase* dlg, QWidget * page, unsigned int ); 00036 00037 private: 00038 void loadSettings(); 00039 void storeSettings(); 00040 00041 QGuardedPtr<PartWidget> m_widget; 00042 ConfigWidgetProxy * _configProxy; 00043 }; 00044 00045 #endif