diff options
Diffstat (limited to 'src/newui')
-rw-r--r-- | src/newui/ddockwindow.cpp | 2 | ||||
-rw-r--r-- | src/newui/dmainwindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/newui/ddockwindow.cpp b/src/newui/ddockwindow.cpp index 88f25d18..164ecae7 100644 --- a/src/newui/ddockwindow.cpp +++ b/src/newui/ddockwindow.cpp @@ -375,7 +375,7 @@ void DDockWindow::selectPrevWidget() void DDockWindow::contextMenu(TQPopupMenu * menu) { - m_lastContextMenuButton = static_cast<Ideal::Button*>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>( sender() )) ); + m_lastContextMenuButton = static_cast<Ideal::Button*>( TQT_TQWIDGET(const_cast<TQObject*>( sender() )) ); menu->insertSeparator(); diff --git a/src/newui/dmainwindow.cpp b/src/newui/dmainwindow.cpp index d42c0d5f..55fd0a9c 100644 --- a/src/newui/dmainwindow.cpp +++ b/src/newui/dmainwindow.cpp @@ -295,7 +295,7 @@ DDockWindow::Position DMainWindow::dockWidgetPosition(TQWidget *view) void DMainWindow::widgetDestroyed() { - TQWidget *w = TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + TQWidget *w = TQT_TQWIDGET(const_cast<TQObject*>(sender())); if (m_docks.contains(w)) { |