summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qinputdialog.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/dialogs/qinputdialog.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/dialogs/qinputdialog.cpp')
-rw-r--r--src/dialogs/qinputdialog.cpp12
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 ) {