diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:46:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:46:05 -0600 |
commit | 73c08b592db45af554b9f21029bc549d70f683ab (patch) | |
tree | 122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kate/app/kateviewmanager.cpp | |
parent | e81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff) | |
download | tdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kate/app/kateviewmanager.cpp')
-rw-r--r-- | kate/app/kateviewmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kate/app/kateviewmanager.cpp b/kate/app/kateviewmanager.cpp index 6d95efbb0..75cc4b15c 100644 --- a/kate/app/kateviewmanager.cpp +++ b/kate/app/kateviewmanager.cpp @@ -316,7 +316,7 @@ uint KateViewManager::viewCount () { uint viewCount=0; for (uint i=0;i<m_viewSpaceContainerList.count();i++) { - viewCount+=m_viewSpaceContainerList.tqat(i)->viewCount(); + viewCount+=m_viewSpaceContainerList.at(i)->viewCount(); } return viewCount; @@ -326,7 +326,7 @@ uint KateViewManager::viewSpaceCount () { uint viewSpaceCount=0; for (uint i=0;i<m_viewSpaceContainerList.count();i++) { - viewSpaceCount+=m_viewSpaceContainerList.tqat(i)->viewSpaceCount(); + viewSpaceCount+=m_viewSpaceContainerList.at(i)->viewSpaceCount(); } return viewSpaceCount; } @@ -334,7 +334,7 @@ uint KateViewManager::viewSpaceCount () void KateViewManager::setViewActivationBlocked (bool block) { for (uint i=0;i<m_viewSpaceContainerList.count();i++) - m_viewSpaceContainerList.tqat(i)->m_blockViewCreationAndActivation=block; + m_viewSpaceContainerList.at(i)->m_blockViewCreationAndActivation=block; } void KateViewManager::activateNextView() @@ -354,7 +354,7 @@ void KateViewManager::activatePrevView() void KateViewManager::closeViews(uint documentNumber) { for (uint i=0;i<m_viewSpaceContainerList.count();i++) { - m_viewSpaceContainerList.tqat(i)->closeViews(documentNumber); + m_viewSpaceContainerList.at(i)->closeViews(documentNumber); } tabChanged(m_currentContainer); } @@ -454,7 +454,7 @@ void KateViewManager::setShowFullPath( bool enable ) { showFullPath=enable; for (uint i=0;i<m_viewSpaceContainerList.count();i++) { - m_viewSpaceContainerList.tqat(i)->setShowFullPath(enable); + m_viewSpaceContainerList.at(i)->setShowFullPath(enable); } m_mainWindow->slotWindowActivated (); } @@ -477,7 +477,7 @@ void KateViewManager::saveViewConfiguration(KConfig *config,const TQString& grp) config->writeEntry("ViewSpaceContainers",m_viewSpaceContainerList.count()); config->writeEntry("Active ViewSpaceContainer", m_mainWindow->tabWidget()->currentPageIndex()); for (uint i=0;i<m_viewSpaceContainerList.count();i++) { - m_viewSpaceContainerList.tqat(i)->saveViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i)); + m_viewSpaceContainerList.at(i)->saveViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i)); } } @@ -495,10 +495,10 @@ void KateViewManager::restoreViewConfiguration (KConfig *config, const TQString& uint tabCount=config->readNumEntry("ViewSpaceContainers",0); int activeOne=config->readNumEntry("Active ViewSpaceContainer",0); if (tabCount==0) return; - m_viewSpaceContainerList.tqat(0)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-0:")); + m_viewSpaceContainerList.at(0)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-0:")); for (uint i=1;i<tabCount;i++) { slotNewTab(); - m_viewSpaceContainerList.tqat(i)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i)); + m_viewSpaceContainerList.at(i)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i)); } if (activeOne != m_mainWindow->tabWidget()->currentPageIndex()) |