diff options
author | Michele Calgaro <[email protected]> | 2023-12-29 23:01:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-29 23:59:58 +0900 |
commit | b9186693ada54762210d51282c15e2248e76a586 (patch) | |
tree | 6e7e82a9639e67a50aa121eb08b8d7c1f6ba0229 /src/newui/ddockwindow.cpp | |
parent | f12db681be834f7027132156c05afcbcb2346278 (diff) | |
download | tdevelop-b9186693ada54762210d51282c15e2248e76a586.tar.gz tdevelop-b9186693ada54762210d51282c15e2248e76a586.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 61cd5b18f00b0d36a7953596c5295e358324ebb7)
Diffstat (limited to 'src/newui/ddockwindow.cpp')
-rw-r--r-- | src/newui/ddockwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/newui/ddockwindow.cpp b/src/newui/ddockwindow.cpp index 164ecae7..eb217dcb 100644 --- a/src/newui/ddockwindow.cpp +++ b/src/newui/ddockwindow.cpp @@ -85,9 +85,9 @@ DDockWindow::DDockWindow(DMainWindow *parent, Position position) m_widgetStack = new TQWidgetStack(this); m_internalLayout->addWidget(m_widgetStack); - m_moveToDockLeft = new TDEAction( i18n("Move to left dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockLeft()), TQT_TQOBJECT(this) ); - m_moveToDockRight = new TDEAction( i18n("Move to right dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockRight()), TQT_TQOBJECT(this) ); - m_moveToDockBottom = new TDEAction( i18n("Move to bottom dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockBottom()), TQT_TQOBJECT(this) ); + m_moveToDockLeft = new TDEAction( i18n("Move to left dock"), 0, this, TQT_SLOT(moveToDockLeft()), this ); + m_moveToDockRight = new TDEAction( i18n("Move to right dock"), 0, this, TQT_SLOT(moveToDockRight()), this ); + m_moveToDockBottom = new TDEAction( i18n("Move to bottom dock"), 0, this, TQT_SLOT(moveToDockBottom()), this ); setVisible(m_visible); @@ -375,7 +375,7 @@ void DDockWindow::selectPrevWidget() void DDockWindow::contextMenu(TQPopupMenu * menu) { - m_lastContextMenuButton = static_cast<Ideal::Button*>( TQT_TQWIDGET(const_cast<TQObject*>( sender() )) ); + m_lastContextMenuButton = static_cast<Ideal::Button*>( const_cast<TQObject*>( sender() ) ); menu->insertSeparator(); |