From 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 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/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstyles/light/lightstyle-v2.cpp | 4 ++-- kstyles/light/lightstyle-v3.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kstyles/light') diff --git a/kstyles/light/lightstyle-v2.cpp b/kstyles/light/lightstyle-v2.cpp index 8ccc1ac96..f6007a1f0 100644 --- a/kstyles/light/lightstyle-v2.cpp +++ b/kstyles/light/lightstyle-v2.cpp @@ -890,7 +890,7 @@ void LightStyleV2::tqdrawControl( TQ_ControlElement control, TQString text = mi->text(); if (! text.isNull()) { - int t = text.tqfind('\t'); + int t = text.find('\t'); // draw accelerator/tab-text if (t >= 0) { @@ -1556,7 +1556,7 @@ TQSize LightStyleV2::tqsizeFromContents( ContentsType contents, maxpmw = QMAX(maxpmw, 16); w += (maxpmw * 2) + 8; - if (! mi->text().isNull() && mi->text().tqfind('\t') >= 0) + if (! mi->text().isNull() && mi->text().find('\t') >= 0) w += 8; ret = TQSize(w, h); diff --git a/kstyles/light/lightstyle-v3.cpp b/kstyles/light/lightstyle-v3.cpp index 3401b66d7..9af257bf1 100644 --- a/kstyles/light/lightstyle-v3.cpp +++ b/kstyles/light/lightstyle-v3.cpp @@ -1010,7 +1010,7 @@ void LightStyleV3::tqdrawControl( TQ_ControlElement control, TQString text = mi->text(); if (! text.isNull()) { - int t = text.tqfind('\t'); + int t = text.find('\t'); // draw accelerator/tab-text if (t >= 0) { @@ -1783,7 +1783,7 @@ TQSize LightStyleV3::tqsizeFromContents( ContentsType contents, maxpmw = QMAX(maxpmw, 16); w += (maxpmw * 2) + 8; - if (! mi->text().isNull() && mi->text().tqfind('\t') >= 0) + if (! mi->text().isNull() && mi->text().find('\t') >= 0) w += 8; ret = TQSize(w, h); -- cgit v1.2.1