diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:19:19 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 17:27:00 +0900 |
commit | 2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (patch) | |
tree | 4f7d24c4476a9ca4a0f836cdaa987d7704af2734 /kivio/kiviopart | |
parent | f9893e5b16c7694da25e60805fe751691e127e85 (diff) | |
download | koffice-2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4.tar.gz koffice-2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b727f4b3b1957bec28a350575237b93f8f278cdb)
Diffstat (limited to 'kivio/kiviopart')
-rw-r--r-- | kivio/kiviopart/stencilbardockmanager.cpp | 8 | ||||
-rw-r--r-- | kivio/kiviopart/tools/mousetoolaction.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp index 4cce5b20..e0aef5f8 100644 --- a/kivio/kiviopart/stencilbardockmanager.cpp +++ b/kivio/kiviopart/stencilbardockmanager.cpp @@ -81,7 +81,7 @@ void StencilBarDockManager::insertStencilSet( TQWidget* w, const TQString& capti TQPtrList<TQDockWindow> dockList = m_pView->mainWindow()->dockWindows(TQt::DockLeft); for(TQDockWindow* dock = dockList.first(); dock; dock = dockList.next()) { - if(::tqqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { + if(::tqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { bar = static_cast<KivioStackBar*>(dock); break; } @@ -95,7 +95,7 @@ void StencilBarDockManager::insertStencilSet( TQWidget* w, const TQString& capti TQPtrList<TQDockWindow> dockList = m_pView->mainWindow()->dockWindows(TQt::DockTop); for(TQDockWindow* dock = dockList.first(); dock; dock = dockList.next()) { - if(::tqqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { + if(::tqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { bar = static_cast<KivioStackBar*>(dock); break; } @@ -109,7 +109,7 @@ void StencilBarDockManager::insertStencilSet( TQWidget* w, const TQString& capti TQPtrList<TQDockWindow> dockList = m_pView->mainWindow()->dockWindows(TQt::DockRight); for(TQDockWindow* dock = dockList.first(); dock; dock = dockList.next()) { - if(::tqqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { + if(::tqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { bar = static_cast<KivioStackBar*>(dock); break; } @@ -123,7 +123,7 @@ void StencilBarDockManager::insertStencilSet( TQWidget* w, const TQString& capti TQPtrList<TQDockWindow> dockList = m_pView->mainWindow()->dockWindows(TQt::DockBottom); for(TQDockWindow* dock = dockList.first(); dock; dock = dockList.next()) { - if(::tqqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { + if(::tqt_cast<KivioStackBar*>(dock) && (static_cast<KivioStackBar*>(dock)->view() == m_pView)) { bar = static_cast<KivioStackBar*>(dock); break; } diff --git a/kivio/kiviopart/tools/mousetoolaction.cpp b/kivio/kiviopart/tools/mousetoolaction.cpp index 38a8af69..51b2481e 100644 --- a/kivio/kiviopart/tools/mousetoolaction.cpp +++ b/kivio/kiviopart/tools/mousetoolaction.cpp @@ -84,7 +84,7 @@ int MouseToolAction::plug(TQWidget* widget, int index) return usedIndex; } - if(::tqqt_cast<TDEToolBar*>(widget)) { + if(::tqt_cast<TDEToolBar*>(widget)) { TDEToolBar* toolBar = static_cast<TDEToolBar*>(widget); TDEToolBarButton* button = toolBar->getButton(itemId(usedIndex)); connect(button, TQT_SIGNAL(doubleClicked(int)), this, TQT_SIGNAL(doubleClicked())); |