diff options
Diffstat (limited to 'src/dialogs/qinputdialog.cpp')
-rw-r--r-- | src/dialogs/qinputdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dialogs/qinputdialog.cpp b/src/dialogs/qinputdialog.cpp index 905a6da00..1569d7e73 100644 --- a/src/dialogs/qinputdialog.cpp +++ b/src/dialogs/qinputdialog.cpp @@ -40,7 +40,7 @@ #include "ntqinputdialog.h" -#ifndef QT_NO_INPUTDIALOG +#ifndef TQT_NO_INPUTDIALOG #include "ntqlayout.h" #include "ntqlabel.h" @@ -239,7 +239,7 @@ void TQInputDialog::setType( Type t ) d->stack->raiseWidget( input ); d->stack->setFixedHeight( input->sizeHint().height() ); input->setFocus(); -#ifndef QT_NO_ACCEL +#ifndef TQT_NO_ACCEL d->label->setBuddy( input ); #endif } @@ -304,7 +304,7 @@ TQString TQInputDialog::getText( const TQString &caption, const TQString &label, name ? name : "qt_inputdlg_gettext", TRUE, LineEdit ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA dlg->setCaption( caption ); #endif dlg->lineEdit()->setText( text ); @@ -361,7 +361,7 @@ int TQInputDialog::getInteger( const TQString &caption, const TQString &label, TQInputDialog *dlg = new TQInputDialog( label, parent, name ? name : "qt_inputdlg_getint", TRUE, SpinBox ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA dlg->setCaption( caption ); #endif dlg->spinBox()->setRange( minValue, maxValue ); @@ -419,7 +419,7 @@ double TQInputDialog::getDouble( const TQString &caption, const TQString &label, { TQInputDialog dlg( label, parent, name ? name : "qt_inputdlg_getdbl", TRUE, LineEdit ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA dlg.setCaption( caption ); #endif dlg.lineEdit()->setValidator( new TQDoubleValidator( minValue, maxValue, decimals, dlg.lineEdit() ) ); @@ -472,7 +472,7 @@ TQString TQInputDialog::getItem( const TQString &caption, const TQString &label, bool *ok, TQWidget *parent, const char *name ) { TQInputDialog *dlg = new TQInputDialog( label, parent, name ? name : "qt_inputdlg_getitem", TRUE, editable ? EditableComboBox : ComboBox ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA dlg->setCaption( caption ); #endif if ( editable ) { |