~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to parts/fileview/partwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2003 by KDevelop authors                                *
 
3
 *   kdevelop-devel@kde.org                                                *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 ***************************************************************************/
 
11
 
 
12
#ifndef _FILEVIEWPARTWIDGET_H_
 
13
#define _FILEVIEWPARTWIDGET_H_
 
14
 
 
15
#include <qvbox.h>
 
16
 
 
17
class FileViewPart;
 
18
 
 
19
class PartWidget : public QVBox
 
20
{
 
21
    Q_OBJECT
 
22
public:
 
23
    PartWidget( FileViewPart *part, QWidget *parent = 0 );
 
24
    virtual ~PartWidget();
 
25
 
 
26
    class FileTreeWidget *m_filetree;
 
27
    // Support for filters
 
28
    class KHistoryCombo *m_filter;
 
29
    class QToolButton *m_btnFilter;
 
30
 
 
31
    void showProjectFiles();
 
32
 
 
33
protected:
 
34
    virtual void focusInEvent( QFocusEvent * );
 
35
 
 
36
private slots:
 
37
    void slotFilterChange( const QString & nf );
 
38
    void slotBtnFilterClick();
 
39
 
 
40
private:
 
41
    FileViewPart *m_part;
 
42
    QString m_lastFilter;
 
43
};
 
44
 
 
45
#endif