summaryrefslogtreecommitdiffstats
path: root/lib/libtqtrla
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtqtrla')
-rw-r--r--lib/libtqtrla/src/tqtrla.cpp7
-rw-r--r--lib/libtqtrla/src/tqtrla.h1
2 files changed, 8 insertions, 0 deletions
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<KAction>();
}
+ void RemoteInstrumentPart::resize(TQSize size) {
+ TQWidget* parentWidget = dynamic_cast<TQWidget*>(parent());
+ if (parentWidget) {
+ parentWidget->resize(size);
+ }
+ }
+
void RemoteInstrumentPart::close() {
TQWidget* parentWidget = dynamic_cast<TQWidget*>(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: