Fix Q_CHECK_PTR

pull/1/head
Timothy Pearson 13 years ago
parent c38d9c6985
commit f3111f0ac7

@ -1073,7 +1073,7 @@ void QtTableView::coverCornerSquare( bool enable )
coveringCornerSquare = enable;
if ( !cornerSquare && enable ) {
cornerSquare = new TQCornerSquare( this );
Q_CHECK_PTR( cornerSquare );
TQ_CHECK_PTR( cornerSquare );
cornerSquare->setGeometry( maxViewX() + frameWidth() + 1,
maxViewY() + frameWidth() + 1,
VSBEXT,
@ -1448,7 +1448,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const
sb->setCursor( arrowCursor );
#endif
sb->resize( sb->sizeHint() ); // height is irrelevant
Q_CHECK_PTR(sb);
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
sb->setFocusPolicy( TQ_NoFocus );
connect( sb, TQT_SIGNAL(valueChanged(int)),
@ -1480,7 +1480,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
#endif
sb->resize( sb->sizeHint() ); // width is irrelevant
sb->setFocusPolicy( TQ_NoFocus );
Q_CHECK_PTR(sb);
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
connect( sb, TQT_SIGNAL(valueChanged(int)),
TQT_SLOT(horSbValue(int)));

Loading…
Cancel
Save