aboutsummaryrefslogtreecommitdiff
path: root/qml/TerminalList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/TerminalList.qml')
-rw-r--r--qml/TerminalList.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/qml/TerminalList.qml b/qml/TerminalList.qml
index fe89be5..013b394 100644
--- a/qml/TerminalList.qml
+++ b/qml/TerminalList.qml
@@ -89,6 +89,12 @@ Item {
return children[activeItem];
}
+ function iterate(func) {
+ for ( var i = 0; i < children.length; i++ ) {
+ func(children[i]);
+ }
+ }
+
Flickable {
id: flickable