summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdockwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/widgets/qdockwindow.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qdockwindow.cpp')
-rw-r--r--src/widgets/qdockwindow.cpp20
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