diff options
author | Timothy Pearson <[email protected]> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/styles/tqmotifstyle.cpp | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/styles/tqmotifstyle.cpp')
-rw-r--r-- | tqtinterface/qt4/src/styles/tqmotifstyle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/styles/tqmotifstyle.cpp b/tqtinterface/qt4/src/styles/tqmotifstyle.cpp index 257c0ad..b05c46d 100644 --- a/tqtinterface/qt4/src/styles/tqmotifstyle.cpp +++ b/tqtinterface/qt4/src/styles/tqmotifstyle.cpp @@ -1122,7 +1122,7 @@ void TQMotifStyle::tqdrawControl( TQ_ControlElement element, } TQString s = mi->text(); if ( !s.isNull() ) { // draw text - int t = s.tqfind( '\t' ); + int t = s.find( '\t' ); int m = motifItemVMargin; int text_flags = TQt::AlignVCenter|TQt::ShowPrefix | TQt::DontClip | TQt::SingleLine; text_flags |= (TQApplication::reverseLayout() ? TQt::AlignRight : TQt::AlignLeft ); @@ -1777,8 +1777,8 @@ TQSize TQMotifStyle::tqsizeFromContents( ContentsType contents, // a little bit of border can never harm w += 2*motifItemHMargin + 2*motifItemFrame; - if ( !mi->text().isNull() && mi->text().tqfind('\t') >= 0 ) - // string tqcontains tab + if ( !mi->text().isNull() && mi->text().find('\t') >= 0 ) + // string contains tab w += motifTabSpacing; else if (mi->popup()) // submenu indicator needs some room if we don't have a tab column |