diff options
author | Michele Calgaro <[email protected]> | 2022-08-24 20:55:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-08-25 18:25:48 +0900 |
commit | 7fed9587e9673983fe4128557baa33b23b71076f (patch) | |
tree | 8604505e8b463b97522e5a5ac68bf4dda018bbdf /khotkeys/kcontrol/action_list_widget.h | |
parent | 5e4ca4df9bb34e10a897e32e7e0ca8645b97f293 (diff) | |
download | tdebase-7fed9587e9673983fe4128557baa33b23b71076f.tar.gz tdebase-7fed9587e9673983fe4128557baa33b23b71076f.zip |
khotkeys: added 'waiting' action to the list of available choices.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'khotkeys/kcontrol/action_list_widget.h')
-rw-r--r-- | khotkeys/kcontrol/action_list_widget.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/khotkeys/kcontrol/action_list_widget.h b/khotkeys/kcontrol/action_list_widget.h index 38676b886..91bee9417 100644 --- a/khotkeys/kcontrol/action_list_widget.h +++ b/khotkeys/kcontrol/action_list_widget.h @@ -28,6 +28,7 @@ class Command_url_widget; class Menuentry_widget; class Dcop_widget; class Keyboard_input_widget; +class Waiting_widget; class Action_list_item; @@ -47,7 +48,7 @@ class Action_list_widget TQListViewItem* parent2_P, TQListViewItem* after_P, bool copy_P ); void edit_listview_item( Action_list_item* item_P ); enum type_t { TYPE_COMMAND_URL_ACTION, TYPE_MENUENTRY_ACTION, TYPE_DCOP_ACTION, - TYPE_KEYBOARD_INPUT_ACTION, TYPE_ACTIVATE_WINDOW_ACTION }; + TYPE_KEYBOARD_INPUT_ACTION, TYPE_ACTIVATE_WINDOW_ACTION, TYPE_WAITING_ACTION }; protected slots: void new_selected( int type_P ); virtual void copy_pressed(); @@ -150,6 +151,19 @@ class Activate_window_action_dialog Activate_window_action* action; }; +class Waiting_action_dialog + : public KDialogBase, public Action_dialog + { + Q_OBJECT + public: + Waiting_action_dialog( Waiting_action* action_P ); + virtual Action* edit_action(); + protected: + virtual void accept(); + Waiting_widget* widget; + Waiting_action* action; + }; + //*************************************************************************** // Inline //*************************************************************************** |