File indexing completed on 2025-01-12 06:47:27
0001 // 0002 // C++ Interface: clistgroupeditor 0003 // 0004 // Description: 0005 // 0006 /* 0007 Copyright 2008-2011 Tomas Mecir <kmuddy@kmuddy.com> 0008 0009 This program is free software; you can redistribute it and/or 0010 modify it under the terms of the GNU General Public License as 0011 published by the Free Software Foundation; either version 2 of 0012 the License, or (at your option) any later version. 0013 0014 This program is distributed in the hope that it will be useful, 0015 but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 GNU General Public License for more details. 0018 0019 You should have received a copy of the GNU General Public License 0020 along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 */ 0022 0023 #ifndef CLISTGROUPEDITOR_H 0024 #define CLISTGROUPEDITOR_H 0025 0026 #include <kmuddy_export.h> 0027 #include <clisteditor.h> 0028 0029 /** cListEditor - base class for the single object editor */ 0030 0031 class KMUDDY_EXPORT cListGroupEditor : public cListEditor { 0032 Q_OBJECT 0033 public: 0034 /** constructor */ 0035 cListGroupEditor (QWidget *parent); 0036 /** destructor */ 0037 ~cListGroupEditor () override; 0038 protected: 0039 /** Create the GUI. */ 0040 void createGUI(QWidget *parent) override; 0041 /** Fill in the GUI. */ 0042 void fillGUI (const cListObjectData &data) override; 0043 /** Read the data from the GUI, fill in the data structure. */ 0044 void getDataFromGUI (cListObjectData *data) override; 0045 }; 0046 0047 0048 #endif // CLISTGROUPEDITOR_H