KDevelop API Documentation

parts/fileview/filegroupswidget.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 _FILEGROUPSWIDGET_H_ 00013 #define _FILEGROUPSWIDGET_H_ 00014 00015 #include <klistview.h> 00016 00017 class FileGroupsPart; 00018 class KDevProject; 00019 00020 00021 class FileGroupsWidget : public KListView 00022 { 00023 Q_OBJECT 00024 00025 public: 00026 FileGroupsWidget(FileGroupsPart *part); 00027 ~FileGroupsWidget(); 00028 00029 public slots: 00030 void refresh(); 00031 void addFiles ( const QStringList& fileList ); 00032 void removeFiles ( const QStringList& fileList ); 00033 00034 private slots: 00035 void slotItemExecuted(QListViewItem *item); 00036 void slotContextMenu(KListView *, QListViewItem *item, const QPoint &p); 00037 void slotToggleShowNonProjectFiles(); 00038 void slotToggleDisplayLocation(); 00039 00040 protected: 00041 void addFile(const QString &fileName); 00042 void removeFile(const QString &fileName); 00043 00044 private: 00045 QStringList allFilesRecursively( QString const & ); 00046 FileGroupsPart *m_part; 00047 00048 class KToggleAction *m_actionToggleShowNonProjectFiles; 00049 class KToggleAction *m_actionToggleDisplayLocation; 00050 int LocationID; 00051 }; 00052 00053 #endif 00054
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:12 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003