1
#ifndef CONDITIONS_LIST_H
2
#define CONDITIONS_LIST_H
3
/* Copyright (C) 2009 Michael Jansen <kde@michael-jansen.biz>
4
Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Library General Public
8
License version 2 as published by the Free Software Foundation.
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Library General Public License for more details.
15
You should have received a copy of the GNU Library General Public License
16
along with this library; see the file COPYING.LIB. If not, write to
17
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
Boston, MA 02110-1301, USA.
22
#include "conditions/conditions_list_base.h"
24
#include <QtCore/QString>
33
* @author Michael Jansen <kde@michael-jansen.biz>
35
class KDE_EXPORT Condition_list
36
: public Condition_list_base
38
typedef Condition_list_base base;
40
Condition_list( const QString& comment_P, ActionDataBase* parent = NULL );
41
Condition_list( KConfigGroup& cfg_P, ActionDataBase* data_P );
42
void cfg_write( KConfigGroup& cfg_P ) const;
43
virtual Condition_list* copy() const;
44
virtual bool match() const;
45
const QString& comment() const;
46
void set_data( ActionDataBase* data_P );
47
virtual void updated() const;
48
virtual const QString description() const;
50
virtual void visit(ConditionsVisitor *visitor);
57
} // namespace KHotKeys
59
#endif /* #ifndef CONDITIONS_LIST_H */