summaryrefslogtreecommitdiffstats
path: root/src/kchmviewwindowmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmviewwindowmgr.cpp')
-rw-r--r--src/kchmviewwindowmgr.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kchmviewwindowmgr.cpp b/src/kchmviewwindowmgr.cpp
index 7c40b94..b65cf7c 100644
--- a/src/kchmviewwindowmgr.cpp
+++ b/src/kchmviewwindowmgr.cpp
@@ -83,7 +83,7 @@ KCHMViewWindow * KCHMViewWindowMgr::current()
TQWidget * w = currentPage();
WindowsIterator it;
- if ( !w || (it = m_Windows.tqfind( w )) == m_Windows.end() )
+ if ( !w || (it = m_Windows.find( w )) == m_Windows.end() )
qFatal( "KCHMViewWindowMgr::current called without any windows!" );
return it.data().window;
@@ -128,7 +128,7 @@ void KCHMViewWindowMgr::deleteAllWindows( )
void KCHMViewWindowMgr::setTabName( KCHMViewWindow * window )
{
- WindowsIterator it = m_Windows.tqfind( window->getTQWidget() );
+ WindowsIterator it = m_Windows.find( window->getTQWidget() );
if ( it == m_Windows.end() )
qFatal( "KCHMViewWindowMgr::setTabName called with unknown window!" );
@@ -177,7 +177,7 @@ void KCHMViewWindowMgr::closeCurrentWindow( )
TQWidget * w = currentPage();
WindowsIterator it;
- if ( !w || (it = m_Windows.tqfind( w )) == m_Windows.end() )
+ if ( !w || (it = m_Windows.find( w )) == m_Windows.end() )
qFatal( "KCHMViewWindowMgr::closeCurrentWindow called without any windows!" );
closeWindow( it.data() );
@@ -185,7 +185,7 @@ void KCHMViewWindowMgr::closeCurrentWindow( )
void KCHMViewWindowMgr::closeWindow( const tab_window_t & tab )
{
- WindowsIterator it = m_Windows.tqfind( tab.widget );
+ WindowsIterator it = m_Windows.find( tab.widget );
if ( it == m_Windows.end() )
qFatal( "KCHMViewWindowMgr::closeWindow called with unknown widget!" );
@@ -253,7 +253,7 @@ void KCHMViewWindowMgr::saveSettings( KCHMSettings::viewindow_saved_settings_t &
for ( int i = 0; i < count(); i++ )
{
TQWidget * p = page( i );
- WindowsIterator it = m_Windows.tqfind( p );
+ WindowsIterator it = m_Windows.find( p );
if ( it == m_Windows.end() )
qFatal( "KCHMViewWindowMgr::saveSettings: could not find widget!" );
@@ -274,7 +274,7 @@ void KCHMViewWindowMgr::updateCloseButtons( )
void KCHMViewWindowMgr::onTabChanged( TQWidget * newtab )
{
- WindowsIterator it = m_Windows.tqfind( newtab );
+ WindowsIterator it = m_Windows.find( newtab );
if ( it == m_Windows.end() )
qFatal( "KCHMViewWindowMgr::onTabChanged called with unknown widget!" );