summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qcolordialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/qcolordialog.cpp')
-rw-r--r--src/dialogs/qcolordialog.cpp38
1 files changed, 19 insertions, 19 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()) );
}
}