From 5173e6fcb16310e130fba4143e334563b4f8460e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdiff3@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/optiondialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/optiondialog.cpp') diff --git a/src/optiondialog.cpp b/src/optiondialog.cpp index 9fc20ff..ac6b03e 100644 --- a/src/optiondialog.cpp +++ b/src/optiondialog.cpp @@ -918,7 +918,7 @@ void OptionDialog::setupMergePage( void ) ++line; //TQString branch = newHistoryEntry.cap(1); //int day = newHistoryEntry.cap(2).toInt(); - //int month = TQString("Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec").tqfind(newHistoryEntry.cap(3))/4 + 1; + //int month = TQString("Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec").find(newHistoryEntry.cap(3))/4 + 1; //int year = newHistoryEntry.cap(4).toInt(); //TQString time = newHistoryEntry.cap(5); //TQString name = newHistoryEntry.cap(6); @@ -1584,7 +1584,7 @@ void OptionDialog::slotApply( void ) TQString locale = m_language; if ( locale == "Auto" || locale.isEmpty() ) locale = locale = TQTextCodec::locale(); - int spacePos = locale.tqfind(' '); + int spacePos = locale.find(' '); if (spacePos>0) locale = locale.left(spacePos); TQSettings settings; settings.setPath("KDiff3", "diff-ext", TQSettings::User ); @@ -1694,7 +1694,7 @@ TQString OptionDialog::parseOptions( const QCStringList& optionList ) { TQString s = *i; - int pos = s.tqfind('='); + int pos = s.find('='); if( pos > 0 ) // seems not to have a tag { TQString key = s.left(pos); -- cgit v1.2.1