summaryrefslogtreecommitdiffstats
path: root/kview/modules/presenter
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kview/modules/presenter
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-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 'kview/modules/presenter')
-rw-r--r--kview/modules/presenter/imagelistitem.cpp2
-rw-r--r--kview/modules/presenter/kviewpresenter.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/kview/modules/presenter/imagelistitem.cpp b/kview/modules/presenter/imagelistitem.cpp
index b31c65b2..870987be 100644
--- a/kview/modules/presenter/imagelistitem.cpp
+++ b/kview/modules/presenter/imagelistitem.cpp
@@ -41,7 +41,7 @@ ImageListItem::ImageListItem( KListView * tqparent, const KURL & url )
/*
TQString extension;
TQString fileName = m_url.fileName();
- int extensionPos = fileName.tqfindRev( '.' );
+ int extensionPos = fileName.findRev( '.' );
if ( extensionPos != -1 )
extension = fileName.mid( extensionPos ); // keep the '.'
delete m_pTempFile;
diff --git a/kview/modules/presenter/kviewpresenter.cpp b/kview/modules/presenter/kviewpresenter.cpp
index 6b08593c..4f5eeb10 100644
--- a/kview/modules/presenter/kviewpresenter.cpp
+++ b/kview/modules/presenter/kviewpresenter.cpp
@@ -191,7 +191,7 @@ bool KViewPresenter::eventFilter( TQObject *obj, TQEvent *ev )
for( TQStringList::const_iterator it = l.begin(); it != l.end(); ++it )
{
ImageInfo * info = new ImageInfo( KURL( *it ) );
- if( ! m_imagelist.tqcontains( info ) )
+ if( ! m_imagelist.contains( info ) )
{
m_imagelist.inSort( info );
( void )new ImageListItem( m_pImageList->m_pListView, KURL( *it ) );
@@ -218,7 +218,7 @@ void KViewPresenter::slotImageOpened( const KURL & url )
{
kdDebug( 4630 ) << k_funcinfo << "imagelist:" << endl;
ImageInfo * info = new ImageInfo( url );
- if( ! m_imagelist.tqcontains( info ) )
+ if( ! m_imagelist.contains( info ) )
{
m_imagelist.inSort( info );
TQListViewItem * item = new ImageListItem( m_pImageList->m_pListView, url );
@@ -248,7 +248,7 @@ void KViewPresenter::slotOpenFiles()
for( ++it; it != urls.end(); ++it )
{
ImageInfo * info = new ImageInfo( *it );
- if( ! m_imagelist.tqcontains( info ) )
+ if( ! m_imagelist.contains( info ) )
{
m_imagelist.inSort( info );
( void )new ImageListItem( m_pImageList->m_pListView, *it );
@@ -431,7 +431,7 @@ void KViewPresenter::loadList()
{
KURL url ( t.readLine() );
ImageInfo * info = new ImageInfo( url );
- if( ! m_imagelist.tqcontains( info ) )
+ if( ! m_imagelist.contains( info ) )
{
m_imagelist.inSort( info );
( void )new ImageListItem( m_pImageList->m_pListView, url );