summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/ntqcolordialog.h4
-rw-r--r--src/dialogs/ntqdialog.h6
-rw-r--r--src/dialogs/ntqerrormessage.h4
-rw-r--r--src/dialogs/ntqfiledialog.h8
-rw-r--r--src/dialogs/ntqfontdialog.h4
-rw-r--r--src/dialogs/ntqinputdialog.h4
-rw-r--r--src/dialogs/ntqmessagebox.h6
-rw-r--r--src/dialogs/ntqprintdialog.h4
-rw-r--r--src/dialogs/ntqprogressdialog.h4
-rw-r--r--src/dialogs/ntqsemimodal.h4
-rw-r--r--src/dialogs/ntqtabdialog.h4
-rw-r--r--src/dialogs/ntqwizard.h4
-rw-r--r--src/dialogs/qcolordialog.cpp16
-rw-r--r--src/dialogs/qfiledialog.cpp20
-rw-r--r--src/dialogs/qmessagebox.cpp22
-rw-r--r--src/dialogs/qtabdialog.cpp4
16 files changed, 59 insertions, 59 deletions
diff --git a/src/dialogs/ntqcolordialog.h b/src/dialogs/ntqcolordialog.h
index c3490ef53..6c64f3ba6 100644
--- a/src/dialogs/ntqcolordialog.h
+++ b/src/dialogs/ntqcolordialog.h
@@ -51,7 +51,7 @@ class TQColorDialogPrivate;
class Q_EXPORT TQColorDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
static TQColor getColor( const TQColor& init = white, TQWidget* parent=0, const char* name=0 );
@@ -82,7 +82,7 @@ private: // Disabled copy constructor and operator=
friend class TQColorDialogPrivate;
friend class TQColorShower;
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQColorDialog( const TQColorDialog & );
TQColorDialog& operator=( const TQColorDialog & );
#endif
diff --git a/src/dialogs/ntqdialog.h b/src/dialogs/ntqdialog.h
index bc9670af6..113703d6f 100644
--- a/src/dialogs/ntqdialog.h
+++ b/src/dialogs/ntqdialog.h
@@ -46,7 +46,7 @@
#endif // QT_H
#ifndef QT_NO_DIALOG
#if 0
-Q_OBJECT
+TQ_OBJECT
#endif
class TQPushButton;
@@ -55,7 +55,7 @@ class TQDialogPrivate;
class Q_EXPORT TQDialog : public TQWidget
{
friend class TQPushButton;
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( bool sizeGripEnabled READ isSizeGripEnabled WRITE setSizeGripEnabled )
Q_PROPERTY( bool modal READ isModal WRITE setModal )
@@ -131,7 +131,7 @@ private:
TQDialogPrivate* d;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQDialog( const TQDialog & );
TQDialog &operator=( const TQDialog & );
#endif
diff --git a/src/dialogs/ntqerrormessage.h b/src/dialogs/ntqerrormessage.h
index 91634fbf7..ebc4a2330 100644
--- a/src/dialogs/ntqerrormessage.h
+++ b/src/dialogs/ntqerrormessage.h
@@ -55,7 +55,7 @@ template<class type> class TQDict;
class Q_EXPORT TQErrorMessage: public TQDialog {
- Q_OBJECT
+ TQ_OBJECT
public:
TQErrorMessage( TQWidget* parent, const char* name=0 );
~TQErrorMessage();
@@ -78,7 +78,7 @@ private:
bool nextPending();
-#if defined(Q_DISABLE_COPY) // Disabled copy constructor and operator=
+#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
TQErrorMessage( const TQErrorMessage & );
TQErrorMessage &operator=( const TQErrorMessage & );
#endif
diff --git a/src/dialogs/ntqfiledialog.h b/src/dialogs/ntqfiledialog.h
index cc811b636..aeaee742a 100644
--- a/src/dialogs/ntqfiledialog.h
+++ b/src/dialogs/ntqfiledialog.h
@@ -69,13 +69,13 @@ class TQFileDialogTQFileListView;
class Q_EXPORT TQFileIconProvider : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQFileIconProvider( TQObject * parent = 0, const char* name = 0 );
virtual const TQPixmap * pixmap( const TQFileInfo & );
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQFileIconProvider( const TQFileIconProvider & );
TQFileIconProvider& operator=( const TQFileIconProvider & );
#endif
@@ -91,7 +91,7 @@ public:
class Q_EXPORT TQFileDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
Q_ENUMS( Mode ViewMode PreviewMode )
// ##### Why are this read-only properties ?
Q_PROPERTY( TQString selectedFile READ selectedFile )
@@ -336,7 +336,7 @@ private:
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQFileDialog( const TQFileDialog & );
TQFileDialog &operator=( const TQFileDialog & );
#endif
diff --git a/src/dialogs/ntqfontdialog.h b/src/dialogs/ntqfontdialog.h
index bcb5e06dc..2aaa24242 100644
--- a/src/dialogs/ntqfontdialog.h
+++ b/src/dialogs/ntqfontdialog.h
@@ -64,7 +64,7 @@ class TQFontDialogPrivate;
class Q_EXPORT TQFontDialog: public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
static TQFont getFont( bool *ok, const TQFont &def,
@@ -101,7 +101,7 @@ private:
TQFontDialogPrivate * d;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQFontDialog( const TQFontDialog & );
TQFontDialog& operator=( const TQFontDialog & );
#endif
diff --git a/src/dialogs/ntqinputdialog.h b/src/dialogs/ntqinputdialog.h
index 7b21503bb..e48b62303 100644
--- a/src/dialogs/ntqinputdialog.h
+++ b/src/dialogs/ntqinputdialog.h
@@ -55,7 +55,7 @@ class TQInputDialogPrivate;
class Q_EXPORT TQInputDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
private:
enum Type { LineEdit, SpinBox, ComboBox, EditableComboBox };
@@ -95,7 +95,7 @@ private:
friend class TQInputDialogPrivate; /* to avoid 'has no friends' warnings... */
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQInputDialog( const TQInputDialog & );
TQInputDialog &operator=( const TQInputDialog & );
#endif
diff --git a/src/dialogs/ntqmessagebox.h b/src/dialogs/ntqmessagebox.h
index 5ab38f78c..0296612ac 100644
--- a/src/dialogs/ntqmessagebox.h
+++ b/src/dialogs/ntqmessagebox.h
@@ -53,7 +53,7 @@ struct TQMessageBoxData;
class Q_EXPORT TQMessageBox : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
Q_ENUMS( Icon )
Q_PROPERTY( TQString text READ text WRITE setText )
Q_PROPERTY( Icon icon READ icon WRITE setIcon )
@@ -191,7 +191,7 @@ private:
void *reserved2;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQMessageBox( const TQMessageBox & );
TQMessageBox &operator=( const TQMessageBox & );
#endif
@@ -213,7 +213,7 @@ TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()<
(sq.section('.',1,1).toInt()<<8)+sq.section('.',2,2).toInt()<(s.section('.',0,0).toInt()<<16)+\
(s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \
TQApplication(argc,argv);} TQString s = TQApplication::tr("Executable '%1' requires TQt "\
- "%2, found TQt %3.").arg(TQString::fromLatin1(qAppName())).arg(TQString::fromLatin1(\
+ "%2, found TQt %3.").arg(TQString::fromLatin1(tqAppName())).arg(TQString::fromLatin1(\
str)).arg(TQString::fromLatin1(qVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\
"Incompatible TQt Library Error" ), s, TQMessageBox::Abort,0 ); qFatal(s.ascii()); }}
diff --git a/src/dialogs/ntqprintdialog.h b/src/dialogs/ntqprintdialog.h
index ea46c6fed..8f79bf0ba 100644
--- a/src/dialogs/ntqprintdialog.h
+++ b/src/dialogs/ntqprintdialog.h
@@ -53,7 +53,7 @@ class TQListView;
class Q_EXPORT TQPrintDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQPrintDialog( TQPrinter *, TQWidget* parent=0, const char* name=0 );
~TQPrintDialog();
@@ -92,7 +92,7 @@ private:
TQGroupBox * setupPrinterSettings();
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQPrintDialog( const TQPrintDialog & );
TQPrintDialog &operator=( const TQPrintDialog & );
#endif
diff --git a/src/dialogs/ntqprogressdialog.h b/src/dialogs/ntqprogressdialog.h
index e480f2862..77b8af109 100644
--- a/src/dialogs/ntqprogressdialog.h
+++ b/src/dialogs/ntqprogressdialog.h
@@ -55,7 +55,7 @@ class TQProgressDialogData;
class Q_EXPORT TQProgressDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( bool wasCancelled READ wasCancelled DESIGNABLE false STORED false ) // ### remove in 4.0
Q_PROPERTY( bool wasCanceled READ wasCanceled )
Q_PROPERTY( int totalSteps READ totalSteps WRITE setTotalSteps )
@@ -130,7 +130,7 @@ private:
TQTimer *forceTimer;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQProgressDialog( const TQProgressDialog & );
TQProgressDialog &operator=( const TQProgressDialog & );
#endif
diff --git a/src/dialogs/ntqsemimodal.h b/src/dialogs/ntqsemimodal.h
index ff015b7f6..eaa87c43f 100644
--- a/src/dialogs/ntqsemimodal.h
+++ b/src/dialogs/ntqsemimodal.h
@@ -49,13 +49,13 @@
#ifndef QT_NO_SEMIMODAL
class Q_EXPORT TQSemiModal : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQSemiModal( TQWidget* parent=0, const char* name=0, bool modal=FALSE, WFlags f=0 )
: TQDialog( parent, name, modal, f ) { }
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQSemiModal( const TQSemiModal & );
TQSemiModal &operator=( const TQSemiModal & );
#endif
diff --git a/src/dialogs/ntqtabdialog.h b/src/dialogs/ntqtabdialog.h
index 216225289..826d3b6dc 100644
--- a/src/dialogs/ntqtabdialog.h
+++ b/src/dialogs/ntqtabdialog.h
@@ -54,7 +54,7 @@ class TQTabDialogPrivate;
class Q_EXPORT TQTabDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQTabDialog( TQWidget* parent=0, const char* name=0, bool modal=FALSE,
WFlags f=0 );
@@ -135,7 +135,7 @@ private:
TQTabDialogPrivate *d;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQTabDialog( const TQTabDialog & );
TQTabDialog& operator=( const TQTabDialog & );
#endif
diff --git a/src/dialogs/ntqwizard.h b/src/dialogs/ntqwizard.h
index b366f29ca..d0c90b384 100644
--- a/src/dialogs/ntqwizard.h
+++ b/src/dialogs/ntqwizard.h
@@ -53,7 +53,7 @@ class TQWizardPrivate;
class Q_EXPORT TQWizard : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( TQFont titleFont READ titleFont WRITE setTitleFont )
public:
@@ -131,7 +131,7 @@ private:
TQWizardPrivate *d;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQWizard( const TQWizard & );
TQWizard& operator=( const TQWizard & );
#endif
diff --git a/src/dialogs/qcolordialog.cpp b/src/dialogs/qcolordialog.cpp
index e275f02b9..68838c45f 100644
--- a/src/dialogs/qcolordialog.cpp
+++ b/src/dialogs/qcolordialog.cpp
@@ -73,7 +73,7 @@ struct TQWellArrayData;
class TQWellArray : public TQGridView
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( int selectedColumn READ selectedColumn )
Q_PROPERTY( int selectedRow READ selectedRow )
@@ -120,7 +120,7 @@ private:
TQWellArrayData *d;
private: // Disabled copy constructor and operator=
-#if defined(Q_DISABLE_COPY)
+#if defined(TQ_DISABLE_COPY)
TQWellArray( const TQWellArray & );
TQWellArray& operator=( const TQWellArray & );
#endif
@@ -632,7 +632,7 @@ void TQColorWell::mouseReleaseEvent( TQMouseEvent *e )
class TQColorPicker : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQColorPicker(TQWidget* parent=0, const char* name=0);
~TQColorPicker();
@@ -666,7 +666,7 @@ static int pHeight = 200;
class TQColorLuminancePicker : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQColorLuminancePicker(TQWidget* parent=0, const char* name=0);
~TQColorLuminancePicker();
@@ -928,7 +928,7 @@ public:
class TQColorShower : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQColorShower( TQWidget *parent, const char *name=0 );
@@ -968,7 +968,7 @@ private:
class TQColorShowLabel : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQColorShowLabel( TQWidget *parent ) : TQFrame( parent, "qt_colorshow_lbl" ) {
@@ -1229,7 +1229,7 @@ void TQColorShower::setHsv( int h, int s, int v )
class TQColorDialogPrivate : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
TQColorDialogPrivate( TQColorDialog *p );
TQRgb currentColor() const { return cs->currentColor(); }
@@ -1539,7 +1539,7 @@ TQRgb TQColorDialog::getRgba( TQRgb initial, bool *ok,
int allocContext = TQColor::enterAllocContext();
TQColorDialog *dlg = new TQColorDialog( parent, name, TRUE ); //modal
- Q_CHECK_PTR( dlg );
+ TQ_CHECK_PTR( dlg );
#ifndef QT_NO_WIDGET_TOPEXTRA
dlg->setCaption( TQColorDialog::tr( "Select color" ) );
#endif
diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp
index cfa6dd39d..fddc5716a 100644
--- a/src/dialogs/qfiledialog.cpp
+++ b/src/dialogs/qfiledialog.cpp
@@ -629,7 +629,7 @@ static void makeVariables() {
class TQRenameEdit : public TQLineEdit
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQRenameEdit( TQWidget *parent )
@@ -657,7 +657,7 @@ class TQFileListBox : public TQListBox
{
friend class TQFileDialog;
- Q_OBJECT
+ TQ_OBJECT
private:
TQFileListBox( TQWidget *parent, TQFileDialog *d );
@@ -707,7 +707,7 @@ private:
class TQFileDialogTQFileListView : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQFileDialogTQFileListView( TQWidget *parent, TQFileDialog *d );
@@ -768,7 +768,7 @@ private:
class TQFDProgressAnimation : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQFDProgressAnimation( TQWidget *parent );
@@ -842,7 +842,7 @@ void TQFDProgressAnimation::paintEvent( TQPaintEvent * )
class TQFDProgressDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQFDProgressDialog( TQWidget *parent, const TQString &fn, int steps );
@@ -2006,7 +2006,7 @@ TQString TQFileDialogPrivate::File::text( int column ) const
return info.name();
case 1:
if ( info.isFile() ) {
-#if (QT_VERSION-0 >= 0x040000)
+#if (TQT_VERSION-0 >= 0x040000)
#error "clean up Large File Support"
#elif defined(QT_ABI_QT4)
TQIODevice::Offset size = info.size();
@@ -3511,7 +3511,7 @@ TQString TQFileDialog::getOpenFileName( const TQString & startWith,
TQFileDialog *dlg = new TQFileDialog( *workingDirectory, TQString::null, parent, name ? name : "qt_filedlg_gofn", TRUE );
- Q_CHECK_PTR( dlg );
+ TQ_CHECK_PTR( dlg );
#ifndef QT_NO_WIDGET_TOPEXTRA
if ( !caption.isNull() )
dlg->setCaption( caption );
@@ -3636,7 +3636,7 @@ TQString TQFileDialog::getSaveFileName( const TQString & startWith,
TQFileDialog *dlg = new TQFileDialog( *workingDirectory, TQString::null, parent, name ? name : "qt_filedlg_gsfn", TRUE );
- Q_CHECK_PTR( dlg );
+ TQ_CHECK_PTR( dlg );
#ifndef QT_NO_WIDGET_TOPEXTRA
if ( !caption.isNull() )
dlg->setCaption( caption );
@@ -4548,7 +4548,7 @@ TQString TQFileDialog::getExistingDirectory( const TQString & dir,
TQFileDialog *dlg = new TQFileDialog( parent, name ? name : "qt_filedlg_ged", TRUE );
- Q_CHECK_PTR( dlg );
+ TQ_CHECK_PTR( dlg );
#ifndef QT_NO_WIDGET_TOPEXTRA
if ( !caption.isNull() )
dlg->setCaption( caption );
@@ -5708,7 +5708,7 @@ TQStringList TQFileDialog::getOpenFileNames( const TQString & filter,
TQFileDialog *dlg = new TQFileDialog( *workingDirectory, TQString::null, parent, name ? name : "qt_filedlg_gofns", TRUE );
- Q_CHECK_PTR( dlg );
+ TQ_CHECK_PTR( dlg );
#ifndef QT_NO_WIDGET_TOPEXTRA
if ( !caption.isNull() )
dlg->setCaption( caption );
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index fc902b5a0..ce6c505b0 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -67,7 +67,7 @@ extern bool qt_use_native_dialogs;
class TQMessageBoxLabel : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQMessageBoxLabel( TQWidget* parent ) : TQLabel( parent, "messageBoxText")
{
@@ -605,12 +605,12 @@ void TQMessageBox::init( int button0, int button1, int button2 )
"<p>TQt is a Trolltech product. "
"See <tt>http://www.trolltech.com/qt/</tt> "
"for more information.</p>"
- ).arg( QT_VERSION_STR );
+ ).arg( TQT_VERSION_STR );
#endif
}
label = new TQMessageBoxLabel( this );
- Q_CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
if ( (button2 && !button1) || (button1 && !button0) ) {
#if defined(QT_CHECK_RANGE)
@@ -619,7 +619,7 @@ void TQMessageBox::init( int button0, int button1, int button2 )
button0 = button1 = button2 = 0;
}
mbd = new TQMessageBoxData(this);
- Q_CHECK_PTR( mbd );
+ TQ_CHECK_PTR( mbd );
mbd->icon = NoIcon;
mbd->iconLabel.setPixmap( TQPixmap() );
mbd->numButtons = 0;
@@ -1128,7 +1128,7 @@ int TQMessageBox::information( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_information", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1179,7 +1179,7 @@ int TQMessageBox::question( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_information", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1231,7 +1231,7 @@ int TQMessageBox::warning( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_warning", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1283,7 +1283,7 @@ int TQMessageBox::critical( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_critical", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1314,7 +1314,7 @@ void TQMessageBox::about( TQWidget *parent, const TQString &caption,
Ok + Default, 0, 0,
parent, "qt_msgbox_simple_about_box", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
#ifndef QT_NO_WIDGET_TOPEXTRA
const TQPixmap *pm = parent ? parent->icon() : 0;
if ( pm && !pm->isNull() )
@@ -1371,7 +1371,7 @@ static int textBox( TQWidget *parent, TQMessageBox::Icon severity,
b[0], b[1], b[2],
parent, "qt_msgbox_information", TRUE,
TQt::WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
if ( button0Text.isEmpty() )
mb->setButtonText( 1, TQMessageBox::tr(mb_texts[TQMessageBox::Ok]) );
else
@@ -1594,7 +1594,7 @@ int TQMessageBox::critical( TQWidget *parent, const TQString &caption,
void TQMessageBox::aboutTQt( TQWidget *parent, const TQString &caption )
{
TQMessageBox *mb = new TQMessageBox( parent, "qt_msgbox_about_qt" );
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
mb->setWFlags( WDestructiveClose );
#ifndef QT_NO_WIDGET_TOPEXTRA
diff --git a/src/dialogs/qtabdialog.cpp b/src/dialogs/qtabdialog.cpp
index 2315e4ac1..c50b748e9 100644
--- a/src/dialogs/qtabdialog.cpp
+++ b/src/dialogs/qtabdialog.cpp
@@ -187,14 +187,14 @@ TQTabDialog::TQTabDialog( TQWidget *parent, const char *name, bool modal,
: TQDialog( parent, name, modal, f )
{
d = new TQTabDialogPrivate;
- Q_CHECK_PTR( d );
+ TQ_CHECK_PTR( d );
d->tw = new TQTabWidget( this, "tab widget" );
connect ( d->tw, SIGNAL ( selected(const TQString&) ), this, SIGNAL( selected(const TQString&) ) );
connect ( d->tw, SIGNAL ( currentChanged(TQWidget*) ), this, SIGNAL( currentChanged(TQWidget*) ) );
d->ok = new TQPushButton( this, "ok" );
- Q_CHECK_PTR( d->ok );
+ TQ_CHECK_PTR( d->ok );
d->ok->setText( tr("OK") );
d->ok->setDefault( TRUE );
connect( d->ok, SIGNAL(clicked()),