diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /src/dialogs/qprintdialog.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-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/qprintdialog.cpp')
-rw-r--r-- | src/dialogs/qprintdialog.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
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; } |