summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdockarea.cpp
diff options
context:
space:
mode:
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 cd56be0b3..0e2555bd7 100644
--- a/src/widgets/qdockarea.cpp
+++ b/src/widgets/qdockarea.cpp
@@ -766,21 +766,21 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
insertLine = TRUE;
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert in line %d, and insert that line: %d", dockLine, insertLine );
- qDebug( " (btw, we have %d lines)", lines.count() );
+ tqDebug( "insert in line %d, and insert that line: %d", dockLine, insertLine );
+ tqDebug( " (btw, we have %d lines)", lines.count() );
#endif
TQDockWindow *dw = 0;
if ( dockLine >= (int)lines.count() ) { // insert after last line
dockWindows->append( dockWindow );
dockWindow->setNewLine( TRUE );
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert at the end" );
+ tqDebug( "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(TQDOCKAREA_DEBUG)
- qDebug( "insert at the begin" );
+ tqDebug( "insert at the begin" );
#endif
} else { // insert somewhere in between
// make sure each line start has a new line
@@ -790,7 +790,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
// find the index of the first widget in the search line
int searchLine = dockLine;
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "search line start of %d", searchLine );
+ tqDebug( "search line start of %d", searchLine );
#endif
TQDockWindow *lsw = lineStarts.at( searchLine );
int index = dockWindows->find( lsw );
@@ -803,7 +803,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
(void)dockWindows->at( index ); // move current to index
}
#if defined(TQDOCKAREA_DEBUG)
- qDebug( " which starts at %d", index );
+ tqDebug( " 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 TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
firstTime = FALSE;
}
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "insert at index: %d", index );
+ tqDebug( "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 TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
&& index >= 0 && index < (int)dockWindows->count() &&
dockWindows->at( index )->newLine() && lineOf( index ) == dockLine ) {
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "get rid of the old newline and get me one" );
+ tqDebug( "get rid of the old newline and get me one" );
#endif
dockWindows->at( index )->setNewLine( FALSE );
dockWindow->setNewLine( TRUE );
@@ -844,18 +844,18 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, const TQPoint &p, const TQRect
}
} 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(TQDOCKAREA_DEBUG)
- qDebug( "insert a new line" );
+ tqDebug( "insert a new line" );
#endif
if ( index < (int)dockWindows->count() ) {
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "give the widget at %d a newline", index );
+ tqDebug( "give the widget at %d a newline", index );
#endif
TQDockWindow* nldw = dockWindows->at( index );
if ( nldw )
nldw->setNewLine( TRUE );
}
#if defined(TQDOCKAREA_DEBUG)
- qDebug( "give me a newline" );
+ tqDebug( "give me a newline" );
#endif
dockWindow->setNewLine( TRUE );
}