~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to khotkeys/libkhotkeysprivate/action_data/generic_action_data.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
 
 
3
 KHotKeys
 
4
 
 
5
 Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
 
6
 
 
7
 Distributed under the terms of the GNU General Public License version 2.
 
8
 
 
9
****************************************************************************/
 
10
 
 
11
#include "generic_action_data.h"
 
12
 
 
13
#include "action_data/action_data_visitor.h"
 
14
#include "actions/actions.h"
 
15
 
 
16
#include <kconfiggroup.h>
 
17
 
 
18
 
 
19
namespace KHotKeys
 
20
{
 
21
 
 
22
 
 
23
Generic_action_data::Generic_action_data(
 
24
        ActionDataGroup* parent,
 
25
        const QString& name,
 
26
        const QString& comment,
 
27
        Trigger_list* triggers,
 
28
        Condition_list* conditions,
 
29
        ActionList* actions)
 
30
    :   ActionData(parent, name, comment, triggers, conditions, actions)
 
31
    {
 
32
    }
 
33
 
 
34
 
 
35
Generic_action_data::~Generic_action_data()
 
36
    {}
 
37
 
 
38
 
 
39
void Generic_action_data::accept(ActionDataVisitor *visitor)
 
40
    {
 
41
    visitor->visitGenericActionData(this);
 
42
    }
 
43
 
 
44
 
 
45
void Generic_action_data::accept(ActionDataConstVisitor *visitor) const
 
46
    {
 
47
    visitor->visitGenericActionData(this);
 
48
    }
 
49
 
 
50
 
 
51
} // namespace KHotKeys