From 623cde93fda148d0c36ba13701a7006bd6bea294 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 2 Jul 2012 18:33:41 -0500 Subject: Stabilize clients and complete basic view layout/widgets --- lib/libtqtrla/src/tqtrla.cpp | 7 +++++++ lib/libtqtrla/src/tqtrla.h | 1 + 2 files changed, 8 insertions(+) (limited to 'lib/libtqtrla') diff --git a/lib/libtqtrla/src/tqtrla.cpp b/lib/libtqtrla/src/tqtrla.cpp index 7ec457c..a9bfddf 100644 --- a/lib/libtqtrla/src/tqtrla.cpp +++ b/lib/libtqtrla/src/tqtrla.cpp @@ -60,6 +60,13 @@ namespace KParts return TQPtrList(); } + void RemoteInstrumentPart::resize(TQSize size) { + TQWidget* parentWidget = dynamic_cast(parent()); + if (parentWidget) { + parentWidget->resize(size); + } + } + void RemoteInstrumentPart::close() { TQWidget* parentWidget = dynamic_cast(parent()); if (parentWidget) { diff --git a/lib/libtqtrla/src/tqtrla.h b/lib/libtqtrla/src/tqtrla.h index fe3c5ee..a31131a 100644 --- a/lib/libtqtrla/src/tqtrla.h +++ b/lib/libtqtrla/src/tqtrla.h @@ -52,6 +52,7 @@ namespace KParts protected slots: void close(); + void resize(TQSize size); void setStatusMessage(const TQString& message); signals: -- cgit v1.2.1