aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/processinterface.cpp
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2023-03-02 14:03:54 +0100
committerMarcus Tillmanns <[email protected]>2023-03-02 14:10:06 +0000
commit8b09ad889803c764862b58df312a842037f4458e (patch)
tree9857a70a589cac7e591c2c7451995af1da26452d /src/libs/utils/processinterface.cpp
parent81748fa00b2331fd407f87dc1e9162e9990a4a9c (diff)
QtcProcess: Introduce PtyData
That's going to be used by PtyProcessImpl. Change-Id: Ifc1a7886ceed73272c9e415414db49452175a334 Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/libs/utils/processinterface.cpp')
-rw-r--r--src/libs/utils/processinterface.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libs/utils/processinterface.cpp b/src/libs/utils/processinterface.cpp
index 9e13494cda1..a5e60c97a31 100644
--- a/src/libs/utils/processinterface.cpp
+++ b/src/libs/utils/processinterface.cpp
@@ -7,6 +7,17 @@
namespace Utils {
+namespace Pty {
+
+void Data::resize(const QSize &size)
+{
+ m_size = size;
+ if (m_data->m_handler)
+ m_data->m_handler(size);
+}
+
+} // namespace Pty
+
/*!
* \brief controlSignalToInt
* \param controlSignal