Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / khotkeys / kcontrol / dbus_widget.h
blob1bcd9de734415c9dbe541a271f35df25cb289092
1 /****************************************************************************
3 KHotKeys
5 Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
7 Distributed under the terms of the GNU General Public License version 2.
9 ****************************************************************************/
11 #ifndef _DBUS_WIDGET_H_
12 #define _DBUS_WIDGET_H_
14 #include <ui_dbus_widget_ui.h>
16 namespace KHotKeys
19 class Dbus_action;
20 class Action_data;
22 class Dbus_widget_ui : public QWidget, public Ui::Dbus_widget_ui
24 public:
25 Dbus_widget_ui( QWidget *parent ) : QWidget( parent ) {
26 setupUi( this );
30 class Dbus_widget
31 : public Dbus_widget_ui
33 Q_OBJECT
34 public:
35 Dbus_widget( QWidget* parent_P = NULL, const char* name_P = NULL );
36 void set_data( const Dbus_action* data_P );
37 Dbus_action* get_data( Action_data* data_P ) const;
38 public Q_SLOTS:
39 void clear_data();
40 protected Q_SLOTS:
41 virtual void run_dbus_browser_pressed();
42 virtual void try_pressed();
45 typedef Dbus_widget Dbus_tab;
47 //***************************************************************************
48 // Inline
49 //***************************************************************************
51 } // namespace KHotKeys
53 #endif