From 6d3ee55638164df6521a60b6392a26f855d5f924 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 8 Mar 2025 20:28:10 +0530 Subject: Add test setup + spec for command input --- include/CommandInput.hpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/CommandInput.hpp b/include/CommandInput.hpp index e6dc53d..5cebcd1 100644 --- a/include/CommandInput.hpp +++ b/include/CommandInput.hpp @@ -1,17 +1,8 @@ #pragma once -#include -#include +#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include class CommandInput : public QFrame { Q_OBJECT @@ -20,6 +11,7 @@ public: CommandInput(QString defaultInput = "", QWidget *parentNode = nullptr); void setInputFocus(bool focussed); bool isInputFocussed(); + QString getInputCommand(); signals: void submitted(QString command); -- cgit v1.3.1