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 | 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch) | |
tree | 36613dfe2f86f8ccb96a30f3880507341228eeb0 /kstyles/light | |
parent | 1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff) | |
download | tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip |
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
Diffstat (limited to 'kstyles/light')
-rw-r--r-- | kstyles/light/lightstyle-v2.cpp | 4 | ||||
-rw-r--r-- | kstyles/light/lightstyle-v3.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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); |