diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/widgets/qdialogbuttons.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-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/qdialogbuttons.cpp')
-rw-r--r-- | src/widgets/qdialogbuttons.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/widgets/qdialogbuttons.cpp b/src/widgets/qdialogbuttons.cpp index 4153fb597..c248d2e00 100644 --- a/src/widgets/qdialogbuttons.cpp +++ b/src/widgets/qdialogbuttons.cpp @@ -37,16 +37,16 @@ **********************************************************************/ #include "qdialogbuttons_p.h" -#ifndef QT_NO_DIALOGBUTTONS +#ifndef TQT_NO_DIALOGBUTTONS #include <ntqapplication.h> #include <ntqpushbutton.h> #include <ntqguardedptr.h> #include <ntqmap.h> #include <ntqvariant.h> -#ifndef QT_NO_DIALOG +#ifndef TQT_NO_DIALOG #include <ntqdialog.h> -#endif // QT_NO_DIALOG +#endif // TQT_NO_DIALOG #include <ntqlayout.h> #include <ntqstyle.h> #include <ntqmap.h> @@ -62,7 +62,7 @@ struct TQDialogButtonsPrivate bool questionMode; }; -#ifndef QT_NO_DIALOG +#ifndef TQT_NO_DIALOG TQDialogButtons::TQDialogButtons(TQDialog *parent, bool autoConnect, TQ_UINT32 buttons, Orientation orient, const char *name ) : TQWidget(parent, name) { @@ -72,7 +72,7 @@ TQDialogButtons::TQDialogButtons(TQDialog *parent, bool autoConnect, TQ_UINT32 b TQObject::connect(this, SIGNAL(rejectClicked()), parent, SLOT(reject())); } } -#endif // QT_NO_DIALOG +#endif // TQT_NO_DIALOG TQDialogButtons::TQDialogButtons(TQWidget *parent, TQ_UINT32 buttons, Orientation orient, const char *name ) : TQWidget(parent, name) @@ -183,12 +183,12 @@ TQDialogButtons::setDefaultButton(Button button) return; } if(d->def != button) { -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES if(d->buttons.contains(d->def)) d->buttons[d->def]->setProperty("default", TQVariant(FALSE,0)); #endif d->def = button; -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES if(d->buttons.contains(d->def)) d->buttons[d->def]->setProperty("default", TQVariant(FALSE,0)); #endif @@ -205,7 +205,7 @@ void TQDialogButtons::setButtonText(Button button, const TQString &str) { d->text[button] = str; -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES if(d->buttons.contains(button)) d->buttons[button]->setProperty("text", TQVariant(str)); #endif @@ -412,7 +412,7 @@ TQDialogButtons::layoutButtons() if(w) { if(b == d->def) { w->setFocus(); -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES w->setProperty("default", TQVariant(TRUE,0)); #endif } |