add more spacing
[personal-kdebase.git] / workspace / kwin / kcmkwin / kwinrules / ruleslist.h
blob53c1155b03ed28085498a9433be9bddf07b7c316
1 /*
2 * Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __RULESLIST_H__
21 #define __RULESLIST_H__
23 #include "../../rules.h"
25 #include "ui_ruleslist.h"
27 namespace KWin
30 class KCMRulesList
31 : public QWidget, Ui_KCMRulesList
33 Q_OBJECT
34 public:
35 KCMRulesList( QWidget* parent = NULL );
36 virtual ~KCMRulesList();
37 void load();
38 void save();
39 void defaults();
40 signals:
41 void changed( bool );
42 private slots:
43 void newClicked();
44 void modifyClicked();
45 void deleteClicked();
46 void moveupClicked();
47 void movedownClicked();
48 void activeChanged();
49 private:
50 QVector< Rules* > rules;
53 } // namespace
55 #endif