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 | 23a5fcb7bcfc9b701a351706d3ea99b274c3127d (patch) | |
tree | fdb7d4348d1f6245491f345d5ac08da9f2697927 /krename/replacedialog.cpp | |
parent | fb6f03ff757a26f9e161777d9867217bc3f76245 (diff) | |
download | krename-23a5fcb7bcfc9b701a351706d3ea99b274c3127d.tar.gz krename-23a5fcb7bcfc9b701a351706d3ea99b274c3127d.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krename@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krename/replacedialog.cpp')
-rw-r--r-- | krename/replacedialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/krename/replacedialog.cpp b/krename/replacedialog.cpp index fb875f4..f48be78 100644 --- a/krename/replacedialog.cpp +++ b/krename/replacedialog.cpp @@ -109,11 +109,11 @@ ReplaceDialog::ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* tqparen for( unsigned int i = 0; i < r.count(); i++ ) { replacestrings rs = r[i]; - BatchRenamer::unEscape( rs.tqfind ); + BatchRenamer::unEscape( rs.find ); KListViewItem* item = new KListViewItem( list ); - item->setText( 0, encode( rs.tqfind ) ); - item->setText( 1, encode( rs.tqreplace ) ); + item->setText( 0, encode( rs.find ) ); + item->setText( 1, encode( rs.replace ) ); item->setText( 2, rs.reg ? i18n("yes") : i18n("no") ); item->setText( 3, TQString::number( rs.reg ) ); list->insertItem( item ); @@ -170,11 +170,11 @@ TQValueList<replacestrings> ReplaceDialog::getList() TQListViewItem* item = list->firstChild(); while( item ) { replacestrings n; - n.tqfind = decode( item->text( 0 ) ); - n.tqreplace = decode( item->text( 1 ) ); + n.find = decode( item->text( 0 ) ); + n.replace = decode( item->text( 1 ) ); n.reg = item->text( 3 ).toInt(); - BatchRenamer::doEscape( n.tqfind ); + BatchRenamer::doEscape( n.find ); r.append( n ); |