diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kpovmodeler/pmshell.cpp | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmshell.cpp')
-rw-r--r-- | kpovmodeler/pmshell.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpovmodeler/pmshell.cpp b/kpovmodeler/pmshell.cpp index 27249472..e03ce3b8 100644 --- a/kpovmodeler/pmshell.cpp +++ b/kpovmodeler/pmshell.cpp @@ -344,7 +344,7 @@ void PMShell::slotDockWidgetClosed( ) const TQObject* o = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender( ))); if( o && o->inherits( "PMDockWidget" ) ) { - if( m_objectsToDelete.tqcontainsRef( o ) == 0 ) + if( m_objectsToDelete.containsRef( o ) == 0 ) { m_objectsToDelete.append( o ); TQTimer::singleShot( 0, TQT_TQOBJECT(this), TQT_SLOT( slotDeleteClosedObjects( ) ) ); @@ -602,7 +602,7 @@ void PMShell::setCaption( const TQString& caption ) else { if( !m_pPathAction->isChecked( ) ) - tmp = caption.right( caption.length( ) - caption.tqfindRev( '/' ) - 1 ); + tmp = caption.right( caption.length( ) - caption.findRev( '/' ) - 1 ); else tmp = caption; } @@ -656,7 +656,7 @@ bool PMShell::overwriteURL( const KURL& u ) void PMShell::slotSelectedLayout( int id ) { - TQMenuItem* menu = m_pViewLayoutsAction->popupMenu( )->tqfindItem( id ); + TQMenuItem* menu = m_pViewLayoutsAction->popupMenu( )->findItem( id ); PMViewLayoutManager::theManager( )->displayLayout( menu->text( ), this ); } |