parts/fileview/filegroupsconfigwidget.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 _FILEGROUPSCONFIGWIDGET_H_ 00013 #define _FILEGROUPSCONFIGWIDGET_H_ 00014 00015 #include "filegroupsconfigwidgetbase.h" 00016 00017 class FileGroupsPart; 00018 00019 00020 class FileGroupsConfigWidget : public FileGroupsConfigWidgetBase 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 FileGroupsConfigWidget( FileGroupsPart *widget, QWidget *parent, const char *name=0 ); 00026 ~FileGroupsConfigWidget(); 00027 00028 public slots: 00029 void accept(); 00030 00031 private: 00032 virtual void addGroup(); 00033 virtual void editGroup(); 00034 virtual void removeGroup(); 00035 virtual void moveUp(); 00036 virtual void moveDown(); 00037 00038 void readConfig(); 00039 void storeConfig(); 00040 00041 FileGroupsPart *m_part; 00042 }; 00043 00044 #endif