summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdockarea.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-02 02:11:59 -0600
committerTimothy Pearson <[email protected]>2012-03-02 02:11:59 -0600
commit9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch)
treedf1e10cc7504665622d096f9ba80dc9e56f3afb8 /src/widgets/qdockarea.cpp
parenta830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff)
downloadqt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz
qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip
Undo prior accidental commit
Diffstat (limited to 'src/widgets/qdockarea.cpp')
-rw-r--r--src/widgets/qdockarea.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/widgets/qdockarea.cpp b/src/widgets/qdockarea.cpp
index 375730f..2d4d957 100644
--- a/src/widgets/qdockarea.cpp
+++ b/src/widgets/qdockarea.cpp
@@ -766,21 +766,21 @@ void QDockArea::moveDockWindow( QDockWindow *w, const QPoint &p, const QRect &r,
insertLine = TRUE;
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "insert in line %d, and insert that line: %d", dockLine, insertLine );
- tqDebug( " (btw, we have %d lines)", lines.count() );
+ qDebug( "insert in line %d, and insert that line: %d", dockLine, insertLine );
+ qDebug( " (btw, we have %d lines)", lines.count() );
#endif
QDockWindow *dw = 0;
if ( dockLine >= (int)lines.count() ) { // insert after last line
dockWindows->append( dockWindow );
dockWindow->setNewLine( TRUE );
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "insert at the end" );
+ qDebug( "insert at the end" );
#endif
} else if ( dockLine == 0 && insertLine ) { // insert before first line
dockWindows->insert( 0, dockWindow );
dockWindows->at( 1 )->setNewLine( TRUE );
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "insert at the begin" );
+ qDebug( "insert at the begin" );
#endif
} else { // insert somewhere in between
// make sure each line start has a new line
@@ -790,7 +790,7 @@ void QDockArea::moveDockWindow( QDockWindow *w, const QPoint &p, const QRect &r,
// find the index of the first widget in the search line
int searchLine = dockLine;
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "search line start of %d", searchLine );
+ qDebug( "search line start of %d", searchLine );
#endif
QDockWindow *lsw = lineStarts.at( searchLine );
int index = dockWindows->find( lsw );
@@ -803,7 +803,7 @@ void QDockArea::moveDockWindow( QDockWindow *w, const QPoint &p, const QRect &r,
(void)dockWindows->at( index ); // move current to index
}
#if defined(QDOCKAREA_DEBUG)
- tqDebug( " which starts at %d", index );
+ qDebug( " which starts at %d", index );
#endif
if ( !insertLine ) { // if we insert the docking widget in the existing line
// find the index for the widget
@@ -825,7 +825,7 @@ void QDockArea::moveDockWindow( QDockWindow *w, const QPoint &p, const QRect &r,
firstTime = FALSE;
}
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "insert at index: %d", index );
+ qDebug( "insert at index: %d", index );
#endif
// if we insert it just before a widget which has a new line, transfer the newline to the docking widget
// but not if we didn't only mave a widget in its line which was alone in the line before
@@ -833,7 +833,7 @@ void QDockArea::moveDockWindow( QDockWindow *w, const QPoint &p, const QRect &r,
&& index >= 0 && index < (int)dockWindows->count() &&
dockWindows->at( index )->newLine() && lineOf( index ) == dockLine ) {
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "get rid of the old newline and get me one" );
+ qDebug( "get rid of the old newline and get me one" );
#endif
dockWindows->at( index )->setNewLine( FALSE );
dockWindow->setNewLine( TRUE );
@@ -844,18 +844,18 @@ void QDockArea::moveDockWindow( QDockWindow *w, const QPoint &p, const QRect &r,
}
} else { // insert in a new line, so make sure the dock widget and the widget which will be after it have a newline
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "insert a new line" );
+ qDebug( "insert a new line" );
#endif
if ( index < (int)dockWindows->count() ) {
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "give the widget at %d a newline", index );
+ qDebug( "give the widget at %d a newline", index );
#endif
QDockWindow* nldw = dockWindows->at( index );
if ( nldw )
nldw->setNewLine( TRUE );
}
#if defined(QDOCKAREA_DEBUG)
- tqDebug( "give me a newline" );
+ qDebug( "give me a newline" );
#endif
dockWindow->setNewLine( TRUE );
}