KDevelop API Documentation

partwidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by KDevelop authors                                *
00003  *   kdevelop-devel@kde.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 _FILEVIEWPARTWIDGET_H_
00013 #define _FILEVIEWPARTWIDGET_H_
00014 
00015 #include <qvbox.h>
00016 
00017 class FileViewPart;
00018 
00019 class PartWidget : public QVBox
00020 {
00021     Q_OBJECT
00022 public:
00023     PartWidget( FileViewPart *part, QWidget *parent = 0 );
00024     virtual ~PartWidget();
00025 
00026     class FileTreeWidget *m_filetree;
00027     // Support for filters
00028     class KHistoryCombo *m_filter;
00029     class QToolButton *m_btnFilter;
00030 
00031     void showProjectFiles();
00032 
00033 protected:
00034     virtual void focusInEvent( QFocusEvent * );
00035 
00036 private slots:
00037     void slotFilterChange( const QString & nf );
00038     void slotBtnFilterClick();
00039 
00040 private:
00041     FileViewPart *m_part;
00042     QString m_lastFilter;
00043 };
00044 
00045 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:41 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003