From 330c33ab6f97b279737bf9527c9add7bb1475450 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/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/astyle/astyle_part.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'parts/astyle/astyle_part.cpp') diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp index de7153c1..59cb1666 100644 --- a/parts/astyle/astyle_part.cpp +++ b/parts/astyle/astyle_part.cpp @@ -193,21 +193,21 @@ void AStylePart::beautifySource() if (m_project["Fill"].toString() == "Tabs") { // tabs and wsCount spaces to be a tab - TQString tqreplace; + TQString replace; for (int i =0;iurl().path(); - int pos = extension.tqfindRev ( '.' ); + int pos = extension.findRev ( '.' ); if ( pos >= 0 ) { extension = extension.mid ( pos ); - enabled = ( m_searchExtensions.tqfind ( extension ) != m_searchExtensions.end() ); + enabled = ( m_searchExtensions.find ( extension ) != m_searchExtensions.end() ); } } else @@ -436,7 +436,7 @@ void AStylePart::restorePartialProjectSession(const TQDomElement * el) if ( ext.isEmpty()){ ext=defaultFormatExtensions; } - setExtensions(ext.tqreplace(TQChar(','), TQChar('\n')),false); + setExtensions(ext.replace(TQChar(','), TQChar('\n')),false); } } -- cgit v1.2.1