diff options
Diffstat (limited to 'src/widgets/qdockwindow.cpp')
-rw-r--r-- | src/widgets/qdockwindow.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/widgets/qdockwindow.cpp b/src/widgets/qdockwindow.cpp index d4cd0b126..769005031 100644 --- a/src/widgets/qdockwindow.cpp +++ b/src/widgets/qdockwindow.cpp @@ -40,7 +40,7 @@ #include "ntqdockwindow.h" -#ifndef QT_NO_MAINWINDOW +#ifndef TQT_NO_MAINWINDOW #include "ntqdesktopwidget.h" #include "ntqdockarea.h" #include "qwidgetresizehandler_p.h" @@ -119,12 +119,12 @@ void TQDockWindowResizeHandle::setOrientation( TQt::Orientation o ) { orient = o; if ( o == TQDockArea::Horizontal ) { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR setCursor( splitVCursor ); #endif setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) ); } else { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR setCursor( splitHCursor ); #endif setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Expanding ) ); @@ -336,7 +336,7 @@ protected: void mouseDoubleClickEvent( TQMouseEvent *e ); void keyPressEvent( TQKeyEvent *e ); void keyReleaseEvent( TQKeyEvent *e ); -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE void styleChange( TQStyle& ); #endif @@ -507,7 +507,7 @@ void TQDockWindowHandle::updateGui() { if ( !closeButton ) { closeButton = new TQToolButton( this, "qt_close_button1" ); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR closeButton->setCursor( arrowCursor ); #endif closeButton->setPixmap( style().stylePixmap( TQStyle::SP_DockWindowCloseButton, closeButton ) ); @@ -534,7 +534,7 @@ void TQDockWindowHandle::updateGui() } } -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE void TQDockWindowHandle::styleChange( TQStyle& ) { if ( closeButton ) @@ -2012,10 +2012,10 @@ void TQDockWindow::setCaption( const TQString &s ) titleBar->setCaption( s ); verHandle->update(); horHandle->update(); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA TQFrame::setCaption( s ); #endif -#ifndef QT_NO_TOOLTIP +#ifndef TQT_NO_TOOLTIP TQToolTip::remove( horHandle ); TQToolTip::remove( verHandle ); if ( !s.isEmpty() ) { @@ -2098,7 +2098,7 @@ bool TQDockWindow::event( TQEvent *e ) return TQFrame::event( e ); } -#ifdef QT_NO_WIDGET_TOPEXTRA +#ifdef TQT_NO_WIDGET_TOPEXTRA TQString TQDockWindow::caption() const { return titleBar->caption(); @@ -2120,4 +2120,4 @@ void TQDockWindow::contextMenuEvent( TQContextMenuEvent *e ) #include "qdockwindow.moc" -#endif //QT_NO_MAINWINDOW +#endif //TQT_NO_MAINWINDOW |