diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-02 18:33:41 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-02 18:33:41 -0500 |
commit | 623cde93fda148d0c36ba13701a7006bd6bea294 (patch) | |
tree | ae991921965d6a87926695d122af82e4b676db00 /lib/libtqtrla | |
parent | 963501ff41849e6bbcaa7a5c12c6e04b37a8a130 (diff) | |
download | ulab-623cde93fda148d0c36ba13701a7006bd6bea294.tar.gz ulab-623cde93fda148d0c36ba13701a7006bd6bea294.zip |
Stabilize clients and complete basic view layout/widgets
Diffstat (limited to 'lib/libtqtrla')
-rw-r--r-- | lib/libtqtrla/src/tqtrla.cpp | 7 | ||||
-rw-r--r-- | lib/libtqtrla/src/tqtrla.h | 1 |
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: |