Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / khotkeys / kcontrol / command_url_widget.h
blob7bcd226de21733605459281db50dc25582d77a9c
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 _COMMAND_URL_WIDGET_H_
12 #define _COMMAND_URL_WIDGET_H_
14 #include <ui_command_url_widget_ui.h>
16 namespace KHotKeys
19 class Command_url_action;
20 class Action_data;
22 class Command_url_widget_ui : public QWidget, public Ui::Command_url_widget_ui
24 public:
25 Command_url_widget_ui( QWidget *parent ) : QWidget( parent ) {
26 setupUi( this );
30 class Command_url_widget
31 : public Command_url_widget_ui
33 Q_OBJECT
34 public:
35 Command_url_widget( QWidget* parent_P = NULL, const char* name_P = NULL );
36 void set_data( const Command_url_action* data_P );
37 Command_url_action* get_data( Action_data* data_P ) const;
38 public Q_SLOTS:
39 void clear_data();
40 protected Q_SLOTS:
41 virtual void browse_pressed();
44 typedef Command_url_widget Command_url_tab;
46 //***************************************************************************
47 // Inline
48 //***************************************************************************
50 } // namespace KHotKeys
52 #endif