summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/dialogs
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/qcolordialog.cpp38
-rw-r--r--src/dialogs/qdialog.cpp2
-rw-r--r--src/dialogs/qerrormessage.cpp2
-rw-r--r--src/dialogs/qfiledialog.cpp204
-rw-r--r--src/dialogs/qfontdialog.cpp34
-rw-r--r--src/dialogs/qinputdialog.cpp12
-rw-r--r--src/dialogs/qmessagebox.cpp2
-rw-r--r--src/dialogs/qprintdialog.cpp48
-rw-r--r--src/dialogs/qprogressdialog.cpp14
-rw-r--r--src/dialogs/qtabdialog.cpp36
-rw-r--r--src/dialogs/qwizard.cpp24
11 files changed, 208 insertions, 208 deletions
diff --git a/src/dialogs/qcolordialog.cpp b/src/dialogs/qcolordialog.cpp
index 12efeb3f9..addbd1bf8 100644
--- a/src/dialogs/qcolordialog.cpp
+++ b/src/dialogs/qcolordialog.cpp
@@ -1085,10 +1085,10 @@ TQColorShower::TQColorShower( TQWidget *parent, const char *name )
lab = new TQColorShowLabel( this );
lab->setMinimumWidth( 60 ); //###
gl->addMultiCellWidget(lab, 0,-1,0,0);
- connect( lab, SIGNAL( colorDropped(TQRgb) ),
- this, SIGNAL( newCol(TQRgb) ) );
- connect( lab, SIGNAL( colorDropped(TQRgb) ),
- this, SLOT( setRgb(TQRgb) ) );
+ connect( lab, TQ_SIGNAL( colorDropped(TQRgb) ),
+ this, TQ_SIGNAL( newCol(TQRgb) ) );
+ connect( lab, TQ_SIGNAL( colorDropped(TQRgb) ),
+ this, TQ_SLOT( setRgb(TQRgb) ) );
hEd = new TQColNumLineEdit( this, "qt_hue_edit" );
hEd->setValidator( val360 );
@@ -1141,14 +1141,14 @@ TQColorShower::TQColorShower( TQWidget *parent, const char *name )
alphaEd->hide();
alphaLab->hide();
- connect( hEd, SIGNAL(textChanged(const TQString&)), this, SLOT(hsvEd()) );
- connect( sEd, SIGNAL(textChanged(const TQString&)), this, SLOT(hsvEd()) );
- connect( vEd, SIGNAL(textChanged(const TQString&)), this, SLOT(hsvEd()) );
+ connect( hEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(hsvEd()) );
+ connect( sEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(hsvEd()) );
+ connect( vEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(hsvEd()) );
- connect( rEd, SIGNAL(textChanged(const TQString&)), this, SLOT(rgbEd()) );
- connect( gEd, SIGNAL(textChanged(const TQString&)), this, SLOT(rgbEd()) );
- connect( bEd, SIGNAL(textChanged(const TQString&)), this, SLOT(rgbEd()) );
- connect( alphaEd, SIGNAL(textChanged(const TQString&)), this, SLOT(rgbEd()) );
+ connect( rEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(rgbEd()) );
+ connect( gEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(rgbEd()) );
+ connect( bEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(rgbEd()) );
+ connect( alphaEd, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(rgbEd()) );
}
void TQColorShower::showCurrentColor()
@@ -1325,7 +1325,7 @@ TQColorDialogPrivate::TQColorDialogPrivate( TQColorDialog *dialog ) :
standard->setCellHeight( 24 );
TQLabel * lab = new TQLabel( standard,
TQColorDialog::tr( "&Basic colors"), dialog, "qt_basiccolors_lbl" );
- connect( standard, SIGNAL(selected(int,int)), SLOT(newStandard(int,int)));
+ connect( standard, TQ_SIGNAL(selected(int,int)), TQ_SLOT(newStandard(int,int)));
leftLay->addWidget( lab );
leftLay->addWidget( standard );
@@ -1337,7 +1337,7 @@ TQColorDialogPrivate::TQColorDialogPrivate( TQColorDialog *dialog ) :
custom->setCellHeight( 24 );
custom->setAcceptDrops( TRUE );
- connect( custom, SIGNAL(selected(int,int)), SLOT(newCustom(int,int)));
+ connect( custom, TQ_SIGNAL(selected(int,int)), TQ_SLOT(newCustom(int,int)));
lab = new TQLabel( custom, TQColorDialog::tr( "&Custom colors") , dialog, "qt_custcolors_lbl" );
leftLay->addWidget( lab );
leftLay->addWidget( custom );
@@ -1372,13 +1372,13 @@ TQColorDialogPrivate::TQColorDialogPrivate( TQColorDialog *dialog ) :
lp->setFixedWidth( 20 ); //###
pickLay->addWidget( lp );
- connect( cp, SIGNAL(newCol(int,int)), lp, SLOT(setCol(int,int)) );
- connect( lp, SIGNAL(newHsv(int,int,int)), this, SLOT(newHsv(int,int,int)) );
+ connect( cp, TQ_SIGNAL(newCol(int,int)), lp, TQ_SLOT(setCol(int,int)) );
+ connect( lp, TQ_SIGNAL(newHsv(int,int,int)), this, TQ_SLOT(newHsv(int,int,int)) );
rightLay->addStretch();
cs = new TQColorShower( dialog, "qt_colorshower" );
- connect( cs, SIGNAL(newCol(TQRgb)), this, SLOT(newColorTypedIn(TQRgb)));
+ connect( cs, TQ_SIGNAL(newCol(TQRgb)), this, TQ_SLOT(newColorTypedIn(TQRgb)));
rightLay->addWidget( cs );
TQHBoxLayout *buttons;
@@ -1389,10 +1389,10 @@ TQColorDialogPrivate::TQColorDialogPrivate( TQColorDialog *dialog ) :
TQPushButton *ok, *cancel;
ok = new TQPushButton( TQColorDialog::tr("OK"), dialog, "qt_ok_btn" );
- connect( ok, SIGNAL(clicked()), dialog, SLOT(accept()) );
+ connect( ok, TQ_SIGNAL(clicked()), dialog, TQ_SLOT(accept()) );
ok->setDefault(TRUE);
cancel = new TQPushButton( TQColorDialog::tr("Cancel"), dialog, "qt_cancel_btn" );
- connect( cancel, SIGNAL(clicked()), dialog, SLOT(reject()) );
+ connect( cancel, TQ_SIGNAL(clicked()), dialog, TQ_SLOT(reject()) );
buttons->addWidget( ok );
buttons->addWidget( cancel );
buttons->addStretch();
@@ -1402,7 +1402,7 @@ TQColorDialogPrivate::TQColorDialogPrivate( TQColorDialog *dialog ) :
TQColorDialog::tr("&Add to Custom Colors"),
dialog, "qt_add_btn" );
rightLay->addWidget( addCusBt );
- connect( addCusBt, SIGNAL(clicked()), this, SLOT(addCustom()) );
+ connect( addCusBt, TQ_SIGNAL(clicked()), this, TQ_SLOT(addCustom()) );
}
}
diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp
index 3e3d77c3e..7df3bbea9 100644
--- a/src/dialogs/qdialog.cpp
+++ b/src/dialogs/qdialog.cpp
@@ -468,7 +468,7 @@ void TQDialog::done( int r )
bool isMain = tqApp->mainWidget() == this;
bool checkLastWindowClosed = isTopLevel() && !isPopup();
if ( checkLastWindowClosed
- && tqApp->receivers(SIGNAL(lastWindowClosed())) ) {
+ && tqApp->receivers(TQ_SIGNAL(lastWindowClosed())) ) {
/* if there is no non-withdrawn top level window left (except
the desktop, popups, or dialogs with parents), we emit the
lastWindowClosed signal */
diff --git a/src/dialogs/qerrormessage.cpp b/src/dialogs/qerrormessage.cpp
index 13b55a1e1..5fe1b9bf6 100644
--- a/src/dialogs/qerrormessage.cpp
+++ b/src/dialogs/qerrormessage.cpp
@@ -172,7 +172,7 @@ TQErrorMessage::TQErrorMessage( TQWidget * parent, const char * name )
again->setChecked( TRUE );
grid->addWidget( again, 1, 1, AlignTop + AlignAuto );
ok = new TQPushButton( tr( "&OK" ), this, "ok" );
- connect( ok, SIGNAL(clicked()), this, SLOT(accept()) );
+ connect( ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
ok->setFocus();
grid->addMultiCellWidget( ok, 2, 2, 0, 1, AlignCenter );
grid->setColStretch( 1, 42 );
diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp
index 835742d2a..e323f1110 100644
--- a/src/dialogs/qfiledialog.cpp
+++ b/src/dialogs/qfiledialog.cpp
@@ -634,7 +634,7 @@ public:
TQRenameEdit( TQWidget *parent )
: TQLineEdit( parent, "qt_rename_edit" ), doRenameAlreadyEmitted(FALSE)
{
- connect( this, SIGNAL(returnPressed()), SLOT(slotReturnPressed()) );
+ connect( this, TQ_SIGNAL(returnPressed()), TQ_SLOT(slotReturnPressed()) );
}
protected:
@@ -792,8 +792,8 @@ TQFDProgressAnimation::TQFDProgressAnimation( TQWidget *parent )
step = -1;
next();
timer = new TQTimer( this );
- connect( timer, SIGNAL( timeout() ),
- this, SLOT( next() ) );
+ connect( timer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( next() ) );
}
void TQFDProgressAnimation::start()
@@ -892,8 +892,8 @@ TQFDProgressDialog::TQFDProgressDialog( TQWidget *parent, const TQString &fn, in
"qt_cancel_btn" );
b->setFixedSize( b->sizeHint() );
layout->addWidget( b );
- connect( b, SIGNAL( clicked() ),
- this, SIGNAL( cancelled() ) );
+ connect( b, TQ_SIGNAL( clicked() ),
+ this, TQ_SIGNAL( cancelled() ) );
animation->start();
}
@@ -1182,16 +1182,16 @@ TQFileListBox::TQFileListBox( TQWidget *parent, TQFileDialog *dlg )
box->hide();
box->setBackgroundMode( PaletteBase );
renameTimer = new TQTimer( this );
- connect( lined, SIGNAL( doRename() ),
- this, SLOT (rename() ) );
- connect( lined, SIGNAL( cancelRename() ),
- this, SLOT( cancelRename() ) );
- connect( renameTimer, SIGNAL( timeout() ),
- this, SLOT( doubleClickTimeout() ) );
- connect( changeDirTimer, SIGNAL( timeout() ),
- this, SLOT( changeDirDuringDrag() ) );
- connect( this, SIGNAL( contentsMoving(int,int) ),
- this, SLOT( contentsMoved(int,int) ) );
+ connect( lined, TQ_SIGNAL( doRename() ),
+ this, TQ_SLOT (rename() ) );
+ connect( lined, TQ_SIGNAL( cancelRename() ),
+ this, TQ_SLOT( cancelRename() ) );
+ connect( renameTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( doubleClickTimeout() ) );
+ connect( changeDirTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( changeDirDuringDrag() ) );
+ connect( this, TQ_SIGNAL( contentsMoving(int,int) ),
+ this, TQ_SLOT( contentsMoved(int,int) ) );
viewport()->setAcceptDrops( TRUE );
dragItem = 0;
}
@@ -1322,8 +1322,8 @@ void TQFileListBox::viewportMouseMoveEvent( TQMouseEvent *e )
if ( lined->parentWidget()->isVisible() )
cancelRename();
- connect( drag, SIGNAL( destroyed() ),
- this, SLOT( dragObjDestroyed() ) );
+ connect( drag, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( dragObjDestroyed() ) );
drag->drag();
mousePressed = FALSE;
@@ -1583,21 +1583,21 @@ TQFileDialogTQFileListView::TQFileDialogTQFileListView( TQWidget *parent, TQFile
box->hide();
box->setBackgroundMode( PaletteBase );
renameTimer = new TQTimer( this );
- connect( lined, SIGNAL( doRename() ),
- this, SLOT (rename() ) );
- connect( lined, SIGNAL( cancelRename() ),
- this, SLOT( cancelRename() ) );
+ connect( lined, TQ_SIGNAL( doRename() ),
+ this, TQ_SLOT (rename() ) );
+ connect( lined, TQ_SIGNAL( cancelRename() ),
+ this, TQ_SLOT( cancelRename() ) );
header()->setMovingEnabled( FALSE );
- connect( renameTimer, SIGNAL( timeout() ),
- this, SLOT( doubleClickTimeout() ) );
- connect( changeDirTimer, SIGNAL( timeout() ),
- this, SLOT( changeDirDuringDrag() ) );
- disconnect( header(), SIGNAL( sectionClicked(int) ),
- this, SLOT( changeSortColumn(int) ) );
- connect( header(), SIGNAL( sectionClicked(int) ),
- this, SLOT( changeSortColumn2(int) ) );
- connect( this, SIGNAL( contentsMoving(int,int) ),
- this, SLOT( contentsMoved(int,int) ) );
+ connect( renameTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( doubleClickTimeout() ) );
+ connect( changeDirTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( changeDirDuringDrag() ) );
+ disconnect( header(), TQ_SIGNAL( sectionClicked(int) ),
+ this, TQ_SLOT( changeSortColumn(int) ) );
+ connect( header(), TQ_SIGNAL( sectionClicked(int) ),
+ this, TQ_SLOT( changeSortColumn2(int) ) );
+ connect( this, TQ_SIGNAL( contentsMoving(int,int) ),
+ this, TQ_SLOT( contentsMoved(int,int) ) );
viewport()->setAcceptDrops( TRUE );
sortcolumn = 0;
@@ -1750,8 +1750,8 @@ void TQFileDialogTQFileListView::viewportMouseMoveEvent( TQMouseEvent *e )
if ( lined->isVisible() )
cancelRename();
- connect( drag, SIGNAL( destroyed() ),
- this, SLOT( dragObjDestroyed() ) );
+ connect( drag, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( dragObjDestroyed() ) );
drag->drag();
mousePressed = FALSE;
@@ -2475,32 +2475,32 @@ void TQFileDialog::init()
#if defined(Q_WS_WIN)
d->oldPermissionLookup = qt_ntfs_permission_lookup;
#endif
- connect( d->mimeTypeTimer, SIGNAL( timeout() ),
- this, SLOT( doMimeTypeLookup() ) );
+ connect( d->mimeTypeTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( doMimeTypeLookup() ) );
d->url = TQUrlOperator( ::toRootIfNotExists( TQDir::currentDirPath() ) );
d->oldUrl = d->url;
d->currListChildren = 0;
- connect( &d->url, SIGNAL( start(TQNetworkOperation*) ),
- this, SLOT( urlStart(TQNetworkOperation*) ) );
- connect( &d->url, SIGNAL( finished(TQNetworkOperation*) ),
- this, SLOT( urlFinished(TQNetworkOperation*) ) );
- connect( &d->url, SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
- this, SLOT( insertEntry(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
- connect( &d->url, SIGNAL( removed(TQNetworkOperation*) ),
- this, SLOT( removeEntry(TQNetworkOperation*) ) );
- connect( &d->url, SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
- this, SLOT( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
- connect( &d->url, SIGNAL( itemChanged(TQNetworkOperation*) ),
- this, SLOT( itemChanged(TQNetworkOperation*) ) );
- connect( &d->url, SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
- this, SLOT( dataTransferProgress(int,int,TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( start(TQNetworkOperation*) ),
+ this, TQ_SLOT( urlStart(TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( finished(TQNetworkOperation*) ),
+ this, TQ_SLOT( urlFinished(TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( newChildren(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ),
+ this, TQ_SLOT( insertEntry(const TQValueList<TQUrlInfo>&,TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( removed(TQNetworkOperation*) ),
+ this, TQ_SLOT( removeEntry(TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ),
+ this, TQ_SLOT( createdDirectory(const TQUrlInfo&,TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( itemChanged(TQNetworkOperation*) ),
+ this, TQ_SLOT( itemChanged(TQNetworkOperation*) ) );
+ connect( &d->url, TQ_SIGNAL( dataTransferProgress(int,int,TQNetworkOperation*) ),
+ this, TQ_SLOT( dataTransferProgress(int,int,TQNetworkOperation*) ) );
nameEdit = new TQLineEdit( this, "name/filter editor" );
nameEdit->setMaxLength( 255 ); //_POSIX_MAX_PATH
- connect( nameEdit, SIGNAL(textChanged(const TQString&)),
- this, SLOT(fileNameEditDone()) );
+ connect( nameEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(fileNameEditDone()) );
nameEdit->installEventFilter( this );
d->splitter = new TQSplitter( this, "qt_splitter" );
@@ -2521,16 +2521,16 @@ void TQFileDialog::init()
files->setMinimumSize( 50, 25 + 2*fm.lineSpacing() );
- connect( files, SIGNAL( selectionChanged() ),
- this, SLOT( detailViewSelectionChanged() ) );
- connect( files, SIGNAL(currentChanged(TQListViewItem*)),
- this, SLOT(updateFileNameEdit(TQListViewItem*)) );
- connect( files, SIGNAL(doubleClicked(TQListViewItem*)),
- this, SLOT(selectDirectoryOrFile(TQListViewItem*)) );
- connect( files, SIGNAL(returnPressed(TQListViewItem*)),
- this, SLOT(selectDirectoryOrFile(TQListViewItem*)) );
- connect( files, SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint&,int)),
- this, SLOT(popupContextMenu(TQListViewItem*,const TQPoint&,int)) );
+ connect( files, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( detailViewSelectionChanged() ) );
+ connect( files, TQ_SIGNAL(currentChanged(TQListViewItem*)),
+ this, TQ_SLOT(updateFileNameEdit(TQListViewItem*)) );
+ connect( files, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ this, TQ_SLOT(selectDirectoryOrFile(TQListViewItem*)) );
+ connect( files, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ this, TQ_SLOT(selectDirectoryOrFile(TQListViewItem*)) );
+ connect( files, TQ_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint&,int)),
+ this, TQ_SLOT(popupContextMenu(TQListViewItem*,const TQPoint&,int)) );
files->installEventFilter( this );
files->viewport()->installEventFilter( this );
@@ -2539,14 +2539,14 @@ void TQFileDialog::init()
d->moreFiles->setRowMode( TQListBox::FitToHeight );
d->moreFiles->setVariableWidth( TRUE );
- connect( d->moreFiles, SIGNAL(selected(TQListBoxItem*)),
- this, SLOT(selectDirectoryOrFile(TQListBoxItem*)) );
- connect( d->moreFiles, SIGNAL( selectionChanged() ),
- this, SLOT( listBoxSelectionChanged() ) );
- connect( d->moreFiles, SIGNAL(highlighted(TQListBoxItem*)),
- this, SLOT(updateFileNameEdit(TQListBoxItem*)) );
- connect( d->moreFiles, SIGNAL( rightButtonPressed(TQListBoxItem*,const TQPoint&) ),
- this, SLOT( popupContextMenu(TQListBoxItem*,const TQPoint&) ) );
+ connect( d->moreFiles, TQ_SIGNAL(selected(TQListBoxItem*)),
+ this, TQ_SLOT(selectDirectoryOrFile(TQListBoxItem*)) );
+ connect( d->moreFiles, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( listBoxSelectionChanged() ) );
+ connect( d->moreFiles, TQ_SIGNAL(highlighted(TQListBoxItem*)),
+ this, TQ_SLOT(updateFileNameEdit(TQListBoxItem*)) );
+ connect( d->moreFiles, TQ_SIGNAL( rightButtonPressed(TQListBoxItem*,const TQPoint&) ),
+ this, TQ_SLOT( popupContextMenu(TQListBoxItem*,const TQPoint&) ) );
d->moreFiles->installEventFilter( this );
d->moreFiles->viewport()->installEventFilter( this );
@@ -2554,9 +2554,9 @@ void TQFileDialog::init()
okB = new TQPushButton( tr("&OK"), this, "OK" ); //### Or "Save (see other "OK")
okB->setDefault( TRUE );
okB->setEnabled( FALSE );
- connect( okB, SIGNAL(clicked()), this, SLOT(okClicked()) );
+ connect( okB, TQ_SIGNAL(clicked()), this, TQ_SLOT(okClicked()) );
cancelB = new TQPushButton( tr("Cancel") , this, "Cancel" );
- connect( cancelB, SIGNAL(clicked()), this, SLOT(cancelClicked()) );
+ connect( cancelB, TQ_SIGNAL(clicked()), this, TQ_SLOT(cancelClicked()) );
d->paths = new TQComboBox( TRUE, this, "directory history/editor" );
d->paths->setDuplicatesEnabled( FALSE );
@@ -2576,8 +2576,8 @@ void TQFileDialog::init()
d->paths->insertItem( *openFolderIcon, TQDir::homeDirPath() );
}
- connect( d->paths, SIGNAL(activated(const TQString&)),
- this, SLOT(setDir(const TQString&)) );
+ connect( d->paths, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(setDir(const TQString&)) );
d->paths->installEventFilter( this );
TQObjectList *ol = d->paths->queryList( "TQLineEdit" );
@@ -2589,10 +2589,10 @@ void TQFileDialog::init()
d->types = new TQComboBox( TRUE, this, "file types" );
d->types->setDuplicatesEnabled( FALSE );
d->types->setEditable( FALSE );
- connect( d->types, SIGNAL(activated(const TQString&)),
- this, SLOT(setFilter(const TQString&)) );
- connect( d->types, SIGNAL(activated(const TQString&)),
- this, SIGNAL(filterSelected(const TQString&)) );
+ connect( d->types, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(setFilter(const TQString&)) );
+ connect( d->types, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SIGNAL(filterSelected(const TQString&)) );
d->pathL = new TQLabel( d->paths, tr("Look &in:"), this, "qt_looin_lbl" );
d->fileL = new TQLabel( nameEdit, tr("File &name:"), this, "qt_filename_lbl" );
@@ -2601,7 +2601,7 @@ void TQFileDialog::init()
d->goBack = new TQToolButton( this, "go back" );
d->goBack->setEnabled( FALSE );
d->goBack->setFocusPolicy( TabFocus );
- connect( d->goBack, SIGNAL( clicked() ), this, SLOT( goBack() ) );
+ connect( d->goBack, TQ_SIGNAL( clicked() ), this, TQ_SLOT( goBack() ) );
#ifndef TQT_NO_TOOLTIP
TQToolTip::add( d->goBack, tr( "Back" ) );
#endif
@@ -2613,8 +2613,8 @@ void TQFileDialog::init()
TQToolTip::add( d->cdToParent, tr( "One directory up" ) );
#endif
d->cdToParent->setIconSet( *cdToParentIcon );
- connect( d->cdToParent, SIGNAL(clicked()),
- this, SLOT(cdUpClicked()) );
+ connect( d->cdToParent, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(cdUpClicked()) );
d->newFolder = new TQToolButton( this, "new folder" );
d->newFolder->setFocusPolicy( TabFocus );
@@ -2622,17 +2622,17 @@ void TQFileDialog::init()
TQToolTip::add( d->newFolder, tr( "Create New Folder" ) );
#endif
d->newFolder->setIconSet( *newFolderIcon );
- connect( d->newFolder, SIGNAL(clicked()),
- this, SLOT(newFolderClicked()) );
+ connect( d->newFolder, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(newFolderClicked()) );
d->modeButtons = new TQButtonGroup( 0, "invisible group" );
- connect( d->modeButtons, SIGNAL(destroyed()),
- this, SLOT(modeButtonsDestroyed()) );
+ connect( d->modeButtons, TQ_SIGNAL(destroyed()),
+ this, TQ_SLOT(modeButtonsDestroyed()) );
d->modeButtons->setExclusive( TRUE );
- connect( d->modeButtons, SIGNAL(clicked(int)),
- d->stack, SLOT(raiseWidget(int)) );
- connect( d->modeButtons, SIGNAL(clicked(int)),
- this, SLOT(changeMode(int)) );
+ connect( d->modeButtons, TQ_SIGNAL(clicked(int)),
+ d->stack, TQ_SLOT(raiseWidget(int)) );
+ connect( d->modeButtons, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(changeMode(int)) );
d->mcView = new TQToolButton( this, "mclistbox view" );
d->mcView->setFocusPolicy( TabFocus );
@@ -2683,14 +2683,14 @@ void TQFileDialog::init()
d->previewContents->setToggleButton( TRUE );
d->modeButtons->insert( d->previewContents );
- connect( d->detailView, SIGNAL( clicked() ),
- d->moreFiles, SLOT( cancelRename() ) );
- connect( d->detailView, SIGNAL( clicked() ),
- files, SLOT( cancelRename() ) );
- connect( d->mcView, SIGNAL( clicked() ),
- d->moreFiles, SLOT( cancelRename() ) );
- connect( d->mcView, SIGNAL( clicked() ),
- files, SLOT( cancelRename() ) );
+ connect( d->detailView, TQ_SIGNAL( clicked() ),
+ d->moreFiles, TQ_SLOT( cancelRename() ) );
+ connect( d->detailView, TQ_SIGNAL( clicked() ),
+ files, TQ_SLOT( cancelRename() ) );
+ connect( d->mcView, TQ_SIGNAL( clicked() ),
+ d->moreFiles, TQ_SLOT( cancelRename() ) );
+ connect( d->mcView, TQ_SIGNAL( clicked() ),
+ files, TQ_SLOT( cancelRename() ) );
d->stack->raiseWidget( d->moreFiles );
d->mcView->setOn( TRUE );
@@ -2814,8 +2814,8 @@ void TQFileDialog::init()
d->preview->hide();
nameEdit->setFocus();
- connect( nameEdit, SIGNAL( returnPressed() ),
- this, SLOT( fileNameEditReturnPressed() ) );
+ connect( nameEdit, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( fileNameEditReturnPressed() ) );
}
/*!
@@ -5438,7 +5438,7 @@ bool TQFileDialog::eventFilter( TQObject * o, TQEvent * e )
return TRUE;
} else if ( o == files && e->type() == TQEvent::FocusOut && files->currentItem() ) {
} else if ( o == files && e->type() == TQEvent::KeyPress ) {
- TQTimer::singleShot( 0, this, SLOT(fixupNameEdit()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(fixupNameEdit()) );
} else if ( o == nameEdit && e->type() == TQEvent::KeyPress && d->mode != AnyFile ) {
if ( ( nameEdit->cursorPosition() == (int)nameEdit->text().length() || nameEdit->hasSelectedText() ) &&
isprint(((TQKeyEvent *)e)->ascii()) ) {
@@ -5931,8 +5931,8 @@ void TQFileDialog::dataTransferProgress( int bytesDone, int bytesTotal, TQNetwor
if ( bytesDone < bytesTotal) {
d->ignoreStop = FALSE;
d->progressDia = new TQFDProgressDialog( this, label, bytesTotal );
- connect( d->progressDia, SIGNAL( cancelled() ),
- this, SLOT( stopCopy() ) );
+ connect( d->progressDia, TQ_SIGNAL( cancelled() ),
+ this, TQ_SLOT( stopCopy() ) );
d->progressDia->show();
} else
return;
@@ -6319,7 +6319,7 @@ void TQFileDialog::stopCopy()
d->url.stop();
if ( d->progressDia ) {
d->ignoreStop = TRUE;
- TQTimer::singleShot( 100, this, SLOT( removeProgressDia() ) );
+ TQTimer::singleShot( 100, this, TQ_SLOT( removeProgressDia() ) );
}
d->url.blockSignals( FALSE );
}
diff --git a/src/dialogs/qfontdialog.cpp b/src/dialogs/qfontdialog.cpp
index 9e1094aa5..3f713d9e0 100644
--- a/src/dialogs/qfontdialog.cpp
+++ b/src/dialogs/qfontdialog.cpp
@@ -215,21 +215,21 @@ TQFontDialog::TQFontDialog( TQWidget *parent, const char *name,
d->size = 0;
d->smoothScalable = FALSE;
- connect( d->scriptCombo, SIGNAL(activated(int)),
- SLOT(scriptHighlighted(int)) );
- connect( d->familyList, SIGNAL(highlighted(int)),
- SLOT(familyHighlighted(int)) );
- connect( d->styleList, SIGNAL(highlighted(int)),
- SLOT(styleHighlighted(int)) );
- connect( d->sizeList, SIGNAL(highlighted(const TQString&)),
- SLOT(sizeHighlighted(const TQString&)) );
- connect( d->sizeEdit, SIGNAL(textChanged(const TQString&)),
- SLOT(sizeChanged(const TQString&)) );
-
- connect( d->strikeout, SIGNAL(clicked()),
- SLOT(updateSample()) );
- connect( d->underline, SIGNAL(clicked()),
- SLOT(updateSample()) );
+ connect( d->scriptCombo, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(scriptHighlighted(int)) );
+ connect( d->familyList, TQ_SIGNAL(highlighted(int)),
+ TQ_SLOT(familyHighlighted(int)) );
+ connect( d->styleList, TQ_SIGNAL(highlighted(int)),
+ TQ_SLOT(styleHighlighted(int)) );
+ connect( d->sizeList, TQ_SIGNAL(highlighted(const TQString&)),
+ TQ_SLOT(sizeHighlighted(const TQString&)) );
+ connect( d->sizeEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ TQ_SLOT(sizeChanged(const TQString&)) );
+
+ connect( d->strikeout, TQ_SIGNAL(clicked()),
+ TQ_SLOT(updateSample()) );
+ connect( d->underline, TQ_SIGNAL(clicked()),
+ TQ_SLOT(updateSample()) );
(void)d->familyList->sizeHint();
(void)d->styleList->sizeHint();
@@ -288,7 +288,7 @@ TQFontDialog::TQFontDialog( TQWidget *parent, const char *name,
d->ok = new TQPushButton( okt, this, "accept font selection" );
buttonBox->addWidget( d->ok );
if ( modal )
- connect( d->ok, SIGNAL(clicked()), SLOT(accept()) );
+ connect( d->ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) );
d->ok->setDefault( TRUE );
buttonBox->addSpacing( 12 );
@@ -296,7 +296,7 @@ TQFontDialog::TQFontDialog( TQWidget *parent, const char *name,
TQString cancelt = modal ? tr("Cancel") : tr("Close");
d->cancel = new TQPushButton( cancelt, this, "cancel/close" );
buttonBox->addWidget( d->cancel );
- connect( d->cancel, SIGNAL(clicked()), SLOT(reject()) );
+ connect( d->cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
resize( 500, 360 );
diff --git a/src/dialogs/qinputdialog.cpp b/src/dialogs/qinputdialog.cpp
index 1569d7e73..ee6c15e75 100644
--- a/src/dialogs/qinputdialog.cpp
+++ b/src/dialogs/qinputdialog.cpp
@@ -160,13 +160,13 @@ TQInputDialog::TQInputDialog( const TQString &label, TQWidget* parent,
hbox->addWidget( d->ok );
hbox->addWidget( cancel );
- connect( d->lineEdit, SIGNAL( returnPressed() ),
- this, SLOT( tryAccept() ) );
- connect( d->lineEdit, SIGNAL( textChanged(const TQString&) ),
- this, SLOT( textChanged(const TQString&) ) );
+ connect( d->lineEdit, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( tryAccept() ) );
+ connect( d->lineEdit, TQ_SIGNAL( textChanged(const TQString&) ),
+ this, TQ_SLOT( textChanged(const TQString&) ) );
- connect( d->ok, SIGNAL( clicked() ), this, SLOT( accept() ) );
- connect( cancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
+ connect( d->ok, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( cancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
TQSize sh = sizeHint().expandedTo( TQSize(400, 10) );
setType( type );
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index d4c410b4b..a17fad136 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -681,7 +681,7 @@ void TQMessageBox::init( int button0, int button1, int button2 )
}
mbd->pb[i]->setAutoDefault( TRUE );
mbd->pb[i]->setFocusPolicy( TQWidget::StrongFocus );
- connect( mbd->pb[i], SIGNAL(clicked()), SLOT(buttonClicked()) );
+ connect( mbd->pb[i], TQ_SIGNAL(clicked()), TQ_SLOT(buttonClicked()) );
}
}
resizeButtons();
diff --git a/src/dialogs/qprintdialog.cpp b/src/dialogs/qprintdialog.cpp
index 48b180cdc..105862173 100644
--- a/src/dialogs/qprintdialog.cpp
+++ b/src/dialogs/qprintdialog.cpp
@@ -932,8 +932,8 @@ TQPrintDialog::TQPrintDialog( TQPrinter *prn, TQWidget *parent, const char *name
tll->activate();
- connect( d->ok, SIGNAL(clicked()), SLOT(okClicked()) );
- connect( cancel, SIGNAL(clicked()), SLOT(reject()) );
+ connect( d->ok, TQ_SIGNAL(clicked()), TQ_SLOT(okClicked()) );
+ connect( cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
TQSize ms( minimumSize() );
TQSize ss( TQApplication::desktop()->screenGeometry( pos() ).size() );
@@ -988,8 +988,8 @@ TQGroupBox * TQPrintDialog::setupPrinterSettings()
d->colorMode = new TQButtonGroup( this );
d->colorMode->hide();
- connect( d->colorMode, SIGNAL(clicked(int)),
- this, SLOT(colorModeSelected(int)) );
+ connect( d->colorMode, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(colorModeSelected(int)) );
TQRadioButton *rb;
rb = new TQRadioButton( tr( "Print in color if available" ),
@@ -1013,8 +1013,8 @@ TQGroupBox * TQPrintDialog::setupDestination()
d->printerOrFile = new TQButtonGroup( this );
d->printerOrFile->hide();
- connect( d->printerOrFile, SIGNAL(clicked(int)),
- this, SLOT(printerOrFileSelected(int)) );
+ connect( d->printerOrFile, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(printerOrFileSelected(int)) );
// printer radio button, list
TQRadioButton * rb = new TQRadioButton( tr( "Print to printer:" ), g,
@@ -1156,8 +1156,8 @@ TQGroupBox * TQPrintDialog::setupDestination()
horiz->addSpacing( 19 );
d->fileName = new TQLineEdit( g, "file name" );
- connect( d->fileName, SIGNAL( textChanged(const TQString&) ),
- this, SLOT( fileNameEditChanged(const TQString&) ) );
+ connect( d->fileName, TQ_SIGNAL( textChanged(const TQString&) ),
+ this, TQ_SLOT( fileNameEditChanged(const TQString&) ) );
horiz->addWidget( d->fileName, 1 );
horiz->addSpacing( 6 );
d->browse = new TQPushButton( tr("Browse..."), g, "browse files" );
@@ -1165,8 +1165,8 @@ TQGroupBox * TQPrintDialog::setupDestination()
#ifdef TQT_NO_FILEDIALOG
d->browse->setEnabled( FALSE );
#endif
- connect( d->browse, SIGNAL(clicked()),
- this, SLOT(browseClicked()) );
+ connect( d->browse, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(browseClicked()) );
horiz->addWidget( d->browse );
d->fileName->setEnabled( FALSE );
@@ -1192,13 +1192,13 @@ TQGroupBox * TQPrintDialog::setupOptions()
d->printRange = new TQButtonGroup( this );
d->printRange->hide();
- connect( d->printRange, SIGNAL(clicked(int)),
- this, SLOT(printRangeSelected(int)) );
+ connect( d->printRange, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(printRangeSelected(int)) );
d->pageOrder = new TQButtonGroup( this );
d->pageOrder->hide();
- connect( d->pageOrder, SIGNAL(clicked(int)),
- this, SLOT(pageOrderSelected(int)) );
+ connect( d->pageOrder, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(pageOrderSelected(int)) );
d->printAllButton = new TQRadioButton( tr("Print all"), g, "print all" );
d->printRange->insert( d->printAllButton, 0 );
@@ -1224,8 +1224,8 @@ TQGroupBox * TQPrintDialog::setupOptions()
d->firstPage = new TQPrintDialogSpinBox( 1, 9999, 1, g, "first page" );
d->firstPage->setValue( 1 );
horiz->addWidget( d->firstPage, 1 );
- connect( d->firstPage, SIGNAL(valueChanged(int)),
- this, SLOT(setFirstPage(int)) );
+ connect( d->firstPage, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(setFirstPage(int)) );
horiz = new TQBoxLayout( TQBoxLayout::LeftToRight );
tll->addLayout( horiz );
@@ -1237,8 +1237,8 @@ TQGroupBox * TQPrintDialog::setupOptions()
d->lastPage = new TQPrintDialogSpinBox( 1, 9999, 1, g, "last page" );
d->lastPage->setValue( 9999 );
horiz->addWidget( d->lastPage, 1 );
- connect( d->lastPage, SIGNAL(valueChanged(int)),
- this, SLOT(setLastPage(int)) );
+ connect( d->lastPage, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(setLastPage(int)) );
lay->addSpacing( 25 );
tll = new TQBoxLayout( lay, TQBoxLayout::Down );
@@ -1268,8 +1268,8 @@ TQGroupBox * TQPrintDialog::setupOptions()
d->copies = new TQPrintDialogSpinBox( 1, 99, 1, g, "copies" );
d->copies->setValue( 1 );
horiz->addWidget( d->copies, 1 );
- connect( d->copies, SIGNAL(valueChanged(int)),
- this, SLOT(setNumCopies(int)) );
+ connect( d->copies, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(setNumCopies(int)) );
TQSize s = d->firstPageLabel->sizeHint()
.expandedTo( d->lastPageLabel->sizeHint() )
@@ -1311,8 +1311,8 @@ TQGroupBox * TQPrintDialog::setupPaper()
g->addSpace( 8 );
- connect( d->orientationCombo, SIGNAL( activated(int) ),
- this, SLOT( orientSelected(int) ) );
+ connect( d->orientationCombo, TQ_SIGNAL( activated(int) ),
+ this, TQ_SLOT( orientSelected(int) ) );
// paper size
d->sizeCombo = new TQComboBox( FALSE, g );
@@ -1352,8 +1352,8 @@ TQGroupBox * TQPrintDialog::setupPaper()
isc( d, tr( "Tabloid (279 x 432 mm)" ), TQPrinter::Tabloid );
isc( d, tr( "US Common #10 Envelope (105 x 241 mm)" ), TQPrinter::Comm10E );
- connect( d->sizeCombo, SIGNAL( activated(int) ),
- this, SLOT( paperSizeSelected(int) ) );
+ connect( d->sizeCombo, TQ_SIGNAL( activated(int) ),
+ this, TQ_SLOT( paperSizeSelected(int) ) );
return g;
}
diff --git a/src/dialogs/qprogressdialog.cpp b/src/dialogs/qprogressdialog.cpp
index f7d1e1c5a..6e18f2d7f 100644
--- a/src/dialogs/qprogressdialog.cpp
+++ b/src/dialogs/qprogressdialog.cpp
@@ -167,9 +167,9 @@ Operation::Operation( TQObject *parent = 0 )
: TQObject( parent ), steps( 0 )
{
pd = new TQProgressDialog( "Operation in progress.", "Cancel", 100 );
- connect( pd, SIGNAL(canceled()), this, SLOT(cancel()) );
+ connect( pd, TQ_SIGNAL(canceled()), this, TQ_SLOT(cancel()) );
t = new TQTimer( this );
- connect( t, SIGNAL(timeout()), this, SLOT(perform()) );
+ connect( t, TQ_SIGNAL(timeout()), this, TQ_SLOT(perform()) );
t->start( 0 );
}
@@ -314,10 +314,10 @@ void TQProgressDialog::init( TQWidget *creator,
d->autoReset = TRUE;
d->forceHide = FALSE;
setCancelButtonText( canc );
- connect( this, SIGNAL(canceled()), this, SIGNAL(cancelled()) );
- connect( this, SIGNAL(canceled()), this, SLOT(cancel()) );
+ connect( this, TQ_SIGNAL(canceled()), this, TQ_SIGNAL(cancelled()) );
+ connect( this, TQ_SIGNAL(canceled()), this, TQ_SLOT(cancel()) );
forceTimer = new TQTimer( this );
- connect( forceTimer, SIGNAL(timeout()), this, SLOT(forceShow()) );
+ connect( forceTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(forceShow()) );
layout();
}
@@ -410,11 +410,11 @@ void TQProgressDialog::setCancelButton( TQPushButton *cancelButton )
} else {
cancelButton->reparent( this, 0, TQPoint(0,0), FALSE );
}
- connect( d->cancel, SIGNAL(clicked()), this, SIGNAL(canceled()) );
+ connect( d->cancel, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(canceled()) );
#ifndef TQT_NO_ACCEL
TQAccel *accel = new TQAccel( this );
accel->connectItem( accel->insertItem(Key_Escape),
- d->cancel, SIGNAL(clicked()) );
+ d->cancel, TQ_SIGNAL(clicked()) );
#endif
}
int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() );
diff --git a/src/dialogs/qtabdialog.cpp b/src/dialogs/qtabdialog.cpp
index c577bdc63..e6641dbc6 100644
--- a/src/dialogs/qtabdialog.cpp
+++ b/src/dialogs/qtabdialog.cpp
@@ -190,17 +190,17 @@ TQTabDialog::TQTabDialog( TQWidget *parent, const char *name, bool modal,
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*) ) );
+ connect ( d->tw, TQ_SIGNAL ( selected(const TQString&) ), this, TQ_SIGNAL( selected(const TQString&) ) );
+ connect ( d->tw, TQ_SIGNAL ( currentChanged(TQWidget*) ), this, TQ_SIGNAL( currentChanged(TQWidget*) ) );
d->ok = new TQPushButton( this, "ok" );
TQ_CHECK_PTR( d->ok );
d->ok->setText( tr("OK") );
d->ok->setDefault( TRUE );
- connect( d->ok, SIGNAL(clicked()),
- this, SIGNAL(applyButtonPressed()) );
- connect( d->ok, SIGNAL(clicked()),
- this, SLOT(accept()) );
+ connect( d->ok, TQ_SIGNAL(clicked()),
+ this, TQ_SIGNAL(applyButtonPressed()) );
+ connect( d->ok, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(accept()) );
}
@@ -686,8 +686,8 @@ void TQTabDialog::setApplyButton( const TQString &text )
} else {
if ( !d->ab ) {
d->ab = new TQPushButton( this, "apply settings" );
- connect( d->ab, SIGNAL(clicked()),
- this, SIGNAL(applyButtonPressed()) );
+ connect( d->ab, TQ_SIGNAL(clicked()),
+ this, TQ_SIGNAL(applyButtonPressed()) );
setUpLayout();
}
d->ab->setText( text );
@@ -730,8 +730,8 @@ void TQTabDialog::setHelpButton( const TQString &text )
} else {
if ( !d->hb ) {
d->hb = new TQPushButton( this, "give help" );
- connect( d->hb, SIGNAL(clicked()),
- this, SIGNAL(helpButtonPressed()) );
+ connect( d->hb, TQ_SIGNAL(clicked()),
+ this, TQ_SIGNAL(helpButtonPressed()) );
setUpLayout();
}
d->hb->setText( text );
@@ -777,8 +777,8 @@ void TQTabDialog::setDefaultButton( const TQString &text )
} else {
if ( !d->db ) {
d->db = new TQPushButton( this, "back to default" );
- connect( d->db, SIGNAL(clicked()),
- this, SIGNAL(defaultButtonPressed()) );
+ connect( d->db, TQ_SIGNAL(clicked()),
+ this, TQ_SIGNAL(defaultButtonPressed()) );
setUpLayout();
}
d->db->setText( text );
@@ -826,10 +826,10 @@ void TQTabDialog::setCancelButton( const TQString &text )
} else {
if ( !d->cb ) {
d->cb = new TQPushButton( this, "cancel dialog" );
- connect( d->cb, SIGNAL(clicked()),
- this, SIGNAL(cancelButtonPressed()) );
- connect( d->cb, SIGNAL(clicked()),
- this, SLOT(reject()) );
+ connect( d->cb, TQ_SIGNAL(clicked()),
+ this, TQ_SIGNAL(cancelButtonPressed()) );
+ connect( d->cb, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(reject()) );
setUpLayout();
}
d->cb->setText( text );
@@ -1051,8 +1051,8 @@ void TQTabDialog::setOkButton( const TQString &text )
} else {
if ( !d->ok ) {
d->ok = new TQPushButton( this, "ok" );
- connect( d->ok, SIGNAL(clicked()),
- this, SIGNAL(applyButtonPressed()) );
+ connect( d->ok, TQ_SIGNAL(clicked()),
+ this, TQ_SIGNAL(applyButtonPressed()) );
setUpLayout();
}
d->ok->setText( text );
diff --git a/src/dialogs/qwizard.cpp b/src/dialogs/qwizard.cpp
index a8bba3129..e8a7eeffe 100644
--- a/src/dialogs/qwizard.cpp
+++ b/src/dialogs/qwizard.cpp
@@ -192,23 +192,23 @@ TQWizard::TQWizard( TQWidget *parent, const char *name, bool modal,
d->nextButton->setDefault( TRUE );
- connect( d->backButton, SIGNAL(clicked()),
- this, SLOT(back()) );
- connect( d->nextButton, SIGNAL(clicked()),
- this, SLOT(next()) );
- connect( d->finishButton, SIGNAL(clicked()),
- this, SLOT(accept()) );
- connect( d->cancelButton, SIGNAL(clicked()),
- this, SLOT(reject()) );
- connect( d->helpButton, SIGNAL(clicked()),
- this, SLOT(help()) );
+ connect( d->backButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(back()) );
+ connect( d->nextButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(next()) );
+ connect( d->finishButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(accept()) );
+ connect( d->cancelButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(reject()) );
+ connect( d->helpButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(help()) );
#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()) );
+ d->accel->connectItem( d->backAccel, this, TQ_SLOT(back()) );
d->nextAccel = d->accel->insertItem( TQt::ALT + TQt::Key_Right );
- d->accel->connectItem( d->nextAccel, this, SLOT(next()) );
+ d->accel->connectItem( d->nextAccel, this, TQ_SLOT(next()) );
#endif
}