summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/actions_listview_widget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-08-11 18:01:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-08-12 17:39:12 +0900
commit12007bb689082f356835ae6ad4412ee414230e83 (patch)
tree0c0a1cc4c1e7244cce7fa75ad7fcea4dbccdc25a /khotkeys/kcontrol/actions_listview_widget.cpp
parent371ad533a3d4bf755ea1ccf50f8821261428d059 (diff)
downloadtdebase-12007bb6.tar.gz
tdebase-12007bb6.zip
TCC khotkeys: added 'move up' and 'move down' buttons to 'Actions' and 'Conditions' listviews for input actions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5e4ca4df9bb34e10a897e32e7e0ca8645b97f293)
Diffstat (limited to 'khotkeys/kcontrol/actions_listview_widget.cpp')
-rw-r--r--khotkeys/kcontrol/actions_listview_widget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khotkeys/kcontrol/actions_listview_widget.cpp b/khotkeys/kcontrol/actions_listview_widget.cpp
index e528005ed..1b6c7a743 100644
--- a/khotkeys/kcontrol/actions_listview_widget.cpp
+++ b/khotkeys/kcontrol/actions_listview_widget.cpp
@@ -1,11 +1,11 @@
/****************************************************************************
KHotKeys
-
+
Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
Distributed under the terms of the GNU General Public License version 2.
-
+
****************************************************************************/
#define _ACTIONS_LISTVIEW_WIDGET_CPP_
@@ -138,7 +138,7 @@ void Actions_listview_widget::build_up()
{
build_up_recursively( module->actions_root(), NULL );
}
-
+
void Actions_listview_widget::build_up_recursively( Action_data_group* parent_P,
Action_listview_item* item_parent_P )
{
@@ -147,13 +147,13 @@ void Actions_listview_widget::build_up_recursively( Action_data_group* parent_P,
it;
++it )
{
- prev = create_item( item_parent_P, prev, ( *it ));
+ prev = create_item( item_parent_P, prev, ( *it ));
Action_data_group* grp = dynamic_cast< Action_data_group* >( *it );
if( grp != NULL )
build_up_recursively( grp, prev );
}
}
-
+
Action_listview_item* Actions_listview_widget::create_item( TQListViewItem* parent_P,
TQListViewItem* after_P, Action_data_base* data_P )
{