diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
| commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
| tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/styles/tqwindowsstyle.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/tqwindowsstyle.cpp')
| -rw-r--r-- | tqtinterface/qt4/src/styles/tqwindowsstyle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/styles/tqwindowsstyle.cpp b/tqtinterface/qt4/src/styles/tqwindowsstyle.cpp index aa65a5b..5a25f3d 100644 --- a/tqtinterface/qt4/src/styles/tqwindowsstyle.cpp +++ b/tqtinterface/qt4/src/styles/tqwindowsstyle.cpp @@ -121,7 +121,7 @@ TQWindowsStyle::Private::Private(TQWindowsStyle *tqparent) bool TQWindowsStyle::Private::hasSeenAlt(const TQWidget *widget) const { widget = widget->tqtopLevelWidget(); - return seenAlt.tqcontains(widget); + return seenAlt.contains(widget); } // Records Alt- and Focus events @@ -137,7 +137,7 @@ bool TQWindowsStyle::Private::eventFilter(TQObject *o, TQEvent *e) if (((TQKeyEvent*)e)->key() == Qt::Key_Alt) { widget = widget->tqtopLevelWidget(); - // Alt has been pressed - tqfind all widgets that care + // Alt has been pressed - find all widgets that care TQObjectList *l = widget->queryList("TQWidget"); TQObjectListIt it( *l ); TQWidget *w; @@ -976,7 +976,7 @@ void TQWindowsStyle::tqdrawControl( TQ_ControlElement element, } TQString s = mi->text(); if ( !s.isNull() ) { // draw text - int t = s.tqfind( '\t' ); + int t = s.find( '\t' ); int text_flags = TQt::AlignVCenter|TQt::ShowPrefix | TQt::DontClip | TQt::SingleLine; if (!tqstyleHint(SH_UnderlineAccelerator, widget)) text_flags |= TQt::NoAccel; @@ -1232,7 +1232,7 @@ TQSize TQWindowsStyle::tqsizeFromContents( ContentsType contents, 2*windowsItemFrame); } - if (! mi->text().isNull() && mi->text().tqfind('\t') >= 0) { + if (! mi->text().isNull() && mi->text().find('\t') >= 0) { if ( use2000style ) w += 20; else |
