diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:19:19 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:19:19 +0900 |
commit | b727f4b3b1957bec28a350575237b93f8f278cdb (patch) | |
tree | 798a12c2a92121c5683a7a0338fdaec289e1c7fd /kivio/kiviopart | |
parent | dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0 (diff) | |
download | koffice-b727f4b3b1957bec28a350575237b93f8f278cdb.tar.gz koffice-b727f4b3b1957bec28a350575237b93f8f278cdb.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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())); |