kwin Library API Documentation

ruleslist.h

00001 /* 00002 * Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org> 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00019 00020 #ifndef __RULESLIST_H__ 00021 #define __RULESLIST_H__ 00022 00023 #include "ruleslistbase.h" 00024 00025 #include <qvaluevector.h> 00026 00027 #include "../../rules.h" 00028 00029 class QListBoxItem; 00030 00031 namespace KWinInternal 00032 { 00033 00034 class KCMRulesList 00035 : public KCMRulesListBase 00036 { 00037 Q_OBJECT 00038 public: 00039 KCMRulesList( QWidget* parent = NULL, const char* name = NULL ); 00040 virtual ~KCMRulesList(); 00041 void load(); 00042 void save(); 00043 void defaults(); 00044 signals: 00045 void changed( bool ); 00046 private slots: 00047 void newClicked(); 00048 void modifyClicked(); 00049 void deleteClicked(); 00050 void moveupClicked(); 00051 void movedownClicked(); 00052 void activeChanged( QListBoxItem* ); 00053 private: 00054 QValueVector< Rules* > rules; 00055 }; 00056 00057 } // namespace 00058 00059 #endif
KDE Logo
This file is part of the documentation for kwin Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 13 21:47:06 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003