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/widgets/tqdockwindow.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/widgets/tqdockwindow.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqdockwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqdockwindow.cpp b/tqtinterface/qt4/src/widgets/tqdockwindow.cpp index e6e6f55..fcf0821 100644 --- a/tqtinterface/qt4/src/widgets/tqdockwindow.cpp +++ b/tqtinterface/qt4/src/widgets/tqdockwindow.cpp @@ -767,7 +767,7 @@ void TQDockWindowTitleBar::mouseDoubleClickEvent( TQMouseEvent * ) A dock window is often used to contain a single widget. In these cases the widget can be set by calling setWidget(). If you're - constructing a dock window that tqcontains multiple widgets, e.g. a + constructing a dock window that contains multiple widgets, e.g. a toolbar, arrange the widgets within a box tqlayout inside the dock window. To do this use the boxLayout() function to get a pointer to the dock window's box tqlayout, then add widgets to the tqlayout @@ -1411,7 +1411,7 @@ void TQDockWindow::updatePosition( const TQPoint &globalPos ) dockArea = 0; TQPoint topLeft = currRect.topLeft(); TQRect screen = tqApp->desktop()->availableGeometry( topLeft ); - if ( !screen.tqcontains( topLeft ) ) { + if ( !screen.contains( topLeft ) ) { topLeft.setY(TQMAX(topLeft.y(), screen.top())); topLeft.setY(TQMIN(topLeft.y(), screen.bottom()-height())); topLeft.setX(TQMAX(topLeft.x(), screen.left())); @@ -1972,7 +1972,7 @@ void TQDockWindow::showEvent( TQShowEvent *e ) { if (curPlace == OutsideDock && (tqparent() && strcmp(tqparent()->name(), "qt_hide_dock") != 0)) { TQRect sr = tqApp->desktop()->availableGeometry( this ); - if ( !sr.tqcontains( pos() ) ) { + if ( !sr.contains( pos() ) ) { int nx = TQMIN( TQMAX( x(), sr.x() ), sr.right()-width() ); int ny = TQMIN( TQMAX( y(), sr.y() ), sr.bottom()-height() ); move( nx, ny ); |