summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/action_list_widget.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-08-24 20:55:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-08-25 20:38:45 +0900
commita2cb178bed086ae98097b5bded1817cc7704d2b4 (patch)
tree83bcb15c64826e0d153e6efe981d943242dae9d9 /khotkeys/kcontrol/action_list_widget.h
parent12007bb689082f356835ae6ad4412ee414230e83 (diff)
downloadtdebase-a2cb178bed086ae98097b5bded1817cc7704d2b4.tar.gz
tdebase-a2cb178bed086ae98097b5bded1817cc7704d2b4.zip
khotkeys: added 'waiting' action to the list of available choices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7fed9587e9673983fe4128557baa33b23b71076f)
Diffstat (limited to 'khotkeys/kcontrol/action_list_widget.h')
-rw-r--r--khotkeys/kcontrol/action_list_widget.h16
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
//***************************************************************************