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 | 055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (patch) | |
tree | 00c2014321c12930c673079eb5d736c80a85be45 /kbfxlib | |
parent | ba9755cbdc76d556757b1facb56e1c453f67025b (diff) | |
download | kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.tar.gz kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbfxlib')
-rw-r--r-- | kbfxlib/common/kbfxplasmapixmapprovider.cpp | 8 | ||||
-rw-r--r-- | kbfxlib/data/kbfxdatasource.cpp | 2 | ||||
-rw-r--r-- | kbfxlib/data/kbfxdatastack.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kbfxlib/common/kbfxplasmapixmapprovider.cpp b/kbfxlib/common/kbfxplasmapixmapprovider.cpp index 8107583..d334a01 100644 --- a/kbfxlib/common/kbfxplasmapixmapprovider.cpp +++ b/kbfxlib/common/kbfxplasmapixmapprovider.cpp @@ -27,7 +27,7 @@ KbfxPlasmaPixmapProvider::addPixmap ( TQString pixmapname ) TQString lFileName = PixmapPath( pixmapname ); TQPixmap * lPixmapPtr = 0; - if ( ( lPixmapPtr = TQPixmapCache::tqfind ( pixmapname ) ) == NULL ) + if ( ( lPixmapPtr = TQPixmapCache::find ( pixmapname ) ) == NULL ) { lPixmapPtr = new TQPixmap ( lFileName ); TQPixmapCache::insert ( pixmapname,lPixmapPtr ); @@ -86,12 +86,12 @@ void KbfxPlasmaPixmapProvider::buildCache() TQPixmapCache::setCacheLimit ( 1024*5 ); static TQStringList m_skinElements; m_skinElements - <<"apptqfind" + <<"appfind" <<"bg" <<"botbg" <<"butterfly" <<"dudebox" - <<"tqfind" + <<"find" <<"hover" <<"indexseparator" <<"listboxbg" @@ -132,7 +132,7 @@ KbfxPlasmaPixmapProvider::pixmap ( const TQString & key ) { TQPixmap* pp; TQPixmap p; - if ( ( pp=TQPixmapCache::tqfind ( key ) ) ) + if ( ( pp=TQPixmapCache::find ( key ) ) ) { return pp; } diff --git a/kbfxlib/data/kbfxdatasource.cpp b/kbfxlib/data/kbfxdatasource.cpp index 91d13c2..ea22dcd 100644 --- a/kbfxlib/data/kbfxdatasource.cpp +++ b/kbfxlib/data/kbfxdatasource.cpp @@ -46,7 +46,7 @@ KbfxDataSource::lookup ( TQString str ) TQString _searchStr = m_text+m_comment+m_description+m_keyWords; - if ( _searchStr.tqcontains ( str,false ) > 0 ) + if ( _searchStr.contains ( str,false ) > 0 ) return true; return false; diff --git a/kbfxlib/data/kbfxdatastack.cpp b/kbfxlib/data/kbfxdatastack.cpp index 2b28ba0..3cdc29b 100644 --- a/kbfxlib/data/kbfxdatastack.cpp +++ b/kbfxlib/data/kbfxdatastack.cpp @@ -59,7 +59,7 @@ KbfxDataStack::getStack ( TQString name ) { - if ( m_nameList.tqcontains ( name ) >0 ) + if ( m_nameList.contains ( name ) >0 ) return m_stack[name]; else { |