summaryrefslogtreecommitdiffstats
path: root/examples/demo/dnd/styledbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/dnd/styledbutton.cpp')
-rw-r--r--examples/demo/dnd/styledbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/demo/dnd/styledbutton.cpp b/examples/demo/dnd/styledbutton.cpp
index 383f555d..e04be631 100644
--- a/examples/demo/dnd/styledbutton.cpp
+++ b/examples/demo/dnd/styledbutton.cpp
@@ -229,7 +229,7 @@ void StyledButton::mousePressEvent(TQMouseEvent* e)
void StyledButton::mouseMoveEvent(TQMouseEvent* e)
{
TQButton::mouseMoveEvent( e );
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
if ( !mousePressed )
return;
if ( ( pressPos - e->pos() ).manhattanLength() > TQApplication::startDragDistance() ) {
@@ -256,7 +256,7 @@ void StyledButton::mouseMoveEvent(TQMouseEvent* e)
#endif
}
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
void StyledButton::dragEnterEvent( TQDragEnterEvent *e )
{
setFocus();
@@ -305,4 +305,4 @@ void StyledButton::dropEvent( TQDropEvent *e )
e->ignore();
}
}
-#endif // QT_NO_DRAGANDDROP
+#endif // TQT_NO_DRAGANDDROP