|
|
|
@ -60,7 +60,7 @@ void KZoomMainWindow::addWidget(TQWidget *widget)
|
|
|
|
|
widget->adjustSize();
|
|
|
|
|
TQWidget *tlw = widget->topLevelWidget();
|
|
|
|
|
KZoomMainWindow *zm =
|
|
|
|
|
static_cast<KZoomMainWindow *>(tlw->qt_cast("KZoomMainWindow"));
|
|
|
|
|
static_cast<KZoomMainWindow *>(tlw->tqt_cast("KZoomMainWindow"));
|
|
|
|
|
Q_ASSERT(zm);
|
|
|
|
|
zm->_widgets.append(widget);
|
|
|
|
|
connect(widget, TQT_SIGNAL(destroyed()), zm, TQT_SLOT(widgetDestroyed()));
|
|
|
|
|