From b6edfe41c9395f2e20784cbf0e630af6426950a3 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/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kformula/fontstyle.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/kformula/fontstyle.cc') diff --git a/lib/kformula/fontstyle.cc b/lib/kformula/fontstyle.cc index 57088fef..0e37028a 100644 --- a/lib/kformula/fontstyle.cc +++ b/lib/kformula/fontstyle.cc @@ -56,11 +56,11 @@ public: const TQStringList lst = db.tqfamilies(); for ( TQStringList::const_iterator it = lst.begin(), end = lst.end() ; it != end ; ++it ) { const TQString name = *it; - int i = name.tqfind('['); + int i = name.find('['); TQString family = name; // Remove foundry if ( i > -1 ) { - const int li = name.tqfindRev(']'); + const int li = name.findRev(']'); if (i < li) { if (name[i - 1] == ' ') i--; @@ -71,7 +71,7 @@ public: } } bool hasFont( const TQString& fontName ) const { - return m_fontNames.tqfind( fontName ) != m_fontNames.end(); + return m_fontNames.find( fontName ) != m_fontNames.end(); } TQStringList m_fontNames; }; -- cgit v1.2.1