2
* Copyright (C) 2005 Brian S. Stephan ( bssteph at irtonline dot org )
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser 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.
19
#ifndef PRIVACYACTION_H
20
#define PRIVACYACTION_H
22
#include <QTreeWidgetItem>
24
class PrivacyAction : public QTreeWidgetItem
27
PrivacyAction(QTreeWidgetItem * parent, const QString &name, const QString &desc = QString());
30
QString getErrMsg() const { return errMsg; }
32
virtual bool action() = 0;
33
virtual QString configKey() const = 0;
41
// kate: tab-width 3; indent-mode cstyle; replace-tabs true;