~ubuntu-branches/ubuntu/precise/sweeper/precise-proposed

« back to all changes in this revision

Viewing changes to privacyaction.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-17 17:32:11 UTC
  • Revision ID: package-import@ubuntu.com-20111217173211-wqf9pf0g7x5620ls
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
  * Copyright (C) 2005 Brian S. Stephan ( bssteph at irtonline dot org )
 
3
  *
 
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.
 
8
  *
 
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.
 
13
  *
 
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.
 
17
  */
 
18
 
 
19
#ifndef PRIVACYACTION_H
 
20
#define PRIVACYACTION_H
 
21
 
 
22
#include <QTreeWidgetItem>
 
23
 
 
24
class PrivacyAction : public QTreeWidgetItem
 
25
{
 
26
   public:
 
27
      PrivacyAction(QTreeWidgetItem * parent, const QString &name, const QString &desc = QString());
 
28
      ~PrivacyAction();
 
29
      
 
30
      QString getErrMsg() const { return errMsg; }
 
31
      
 
32
      virtual bool action() = 0;
 
33
      virtual QString configKey() const = 0;
 
34
      
 
35
   protected:
 
36
      QString errMsg;
 
37
};
 
38
 
 
39
#endif
 
40
 
 
41
// kate: tab-width 3; indent-mode cstyle; replace-tabs true;