summaryrefslogtreecommitdiffstats
path: root/kstyles/light
diff options
context:
space:
mode:
Diffstat (limited to 'kstyles/light')
-rw-r--r--kstyles/light/lightstyle-v2.cpp4
-rw-r--r--kstyles/light/lightstyle-v3.cpp4
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);