summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/qwizard.cpp')
-rw-r--r--src/dialogs/qwizard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dialogs/qwizard.cpp b/src/dialogs/qwizard.cpp
index a11094a6..a8bba312 100644
--- a/src/dialogs/qwizard.cpp
+++ b/src/dialogs/qwizard.cpp
@@ -40,7 +40,7 @@
#include "ntqwizard.h"
-#ifndef QT_NO_WIZARD
+#ifndef TQT_NO_WIZARD
#include "ntqlayout.h"
#include "ntqpushbutton.h"
@@ -138,7 +138,7 @@ public:
TQFrame * hbar1, * hbar2;
-#ifndef QT_NO_ACCEL
+#ifndef TQT_NO_ACCEL
TQAccel * accel;
int backAccel;
int nextAccel;
@@ -203,7 +203,7 @@ TQWizard::TQWizard( TQWidget *parent, const char *name, bool modal,
connect( d->helpButton, SIGNAL(clicked()),
this, SLOT(help()) );
-#ifndef QT_NO_ACCEL
+#ifndef TQT_NO_ACCEL
d->accel = new TQAccel( this, "arrow-key accel" );
d->backAccel = d->accel->insertItem( TQt::ALT + TQt::Key_Left );
d->accel->connectItem( d->backAccel, this, SLOT(back()) );
@@ -457,7 +457,7 @@ void TQWizard::help()
void TQWizard::setBackEnabled( bool enable )
{
d->backButton->setEnabled( enable );
-#ifndef QT_NO_ACCEL
+#ifndef TQT_NO_ACCEL
d->accel->setItemEnabled( d->backAccel, enable );
#endif
}
@@ -466,7 +466,7 @@ void TQWizard::setBackEnabled( bool enable )
void TQWizard::setNextEnabled( bool enable )
{
d->nextButton->setEnabled( enable );
-#ifndef QT_NO_ACCEL
+#ifndef TQT_NO_ACCEL
d->accel->setItemEnabled( d->nextAccel, enable );
#endif
}
@@ -914,4 +914,4 @@ TQWidget* TQWizard::page( int index ) const
return d->pages.at( index )->w;
}
-#endif // QT_NO_WIZARD
+#endif // TQT_NO_WIZARD