~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy-backports

« back to all changes in this revision

Viewing changes to khotkeys/kcontrol/keyboard_input_widget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-09-05 20:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20070905204514-632hhspl0nvrc84i
Tags: upstream-3.93.0
ImportĀ upstreamĀ versionĀ 3.93.0

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
#ifndef _KEYBOARD_INPUT_WIDGET_H_
 
12
#define _KEYBOARD_INPUT_WIDGET_H_
 
13
 
 
14
#include <keyboard_input_widget_ui.h>
 
15
 
 
16
namespace KHotKeys
 
17
{
 
18
 
 
19
class Keyboard_input_action;
 
20
class Action_data;
 
21
 
 
22
class Keyboard_input_widget
 
23
    : public Keyboard_input_widget_ui
 
24
    {
 
25
    Q_OBJECT
 
26
    public:
 
27
        Keyboard_input_widget( QWidget* parent_P = NULL, const char* name_P = NULL );
 
28
        void set_data( const Keyboard_input_action* data_P );
 
29
        Keyboard_input_action* get_data( Action_data* data_P ) const;
 
30
    public Q_SLOTS:
 
31
        void clear_data();
 
32
    protected Q_SLOTS:
 
33
        virtual void modify_pressed(); 
 
34
    };
 
35
 
 
36
typedef Keyboard_input_widget Keyboard_input_tab;
 
37
 
 
38
//***************************************************************************
 
39
// Inline
 
40
//***************************************************************************
 
41
 
 
42
} // namespace KHotKeys
 
43
 
 
44
#endif