summaryrefslogtreecommitdiffstats
path: root/tdeui/kcolordialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kcolordialog.cpp')
-rw-r--r--tdeui/kcolordialog.cpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/tdeui/kcolordialog.cpp b/tdeui/kcolordialog.cpp
index 8bfcd8084..4c05522eb 100644
--- a/tdeui/kcolordialog.cpp
+++ b/tdeui/kcolordialog.cpp
@@ -597,12 +597,12 @@ KPaletteTable::KPaletteTable( TQWidget *parent, int minWidth, int cols)
mNamedColorList->setFixedSize(minSize);
mNamedColorList->hide();
layout->addWidget(mNamedColorList);
- connect( mNamedColorList, TQT_SIGNAL(highlighted( const TQString & )),
- this, TQT_SLOT( slotColorTextSelected( const TQString & )) );
+ connect( mNamedColorList, TQ_SIGNAL(highlighted( const TQString & )),
+ this, TQ_SLOT( slotColorTextSelected( const TQString & )) );
setFixedSize( sizeHint());
- connect( combo, TQT_SIGNAL(activated(const TQString &)),
- this, TQT_SLOT(slotSetPalette( const TQString &)));
+ connect( combo, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(slotSetPalette( const TQString &)));
}
KPaletteTable::~KPaletteTable()
@@ -704,7 +704,7 @@ KPaletteTable::readNamedColor( void )
// preventing the real dialog to become visible until the
// error dialog box is removed (== bad UI).
//
- TQTimer::singleShot( 10, this, TQT_SLOT(slotShowNamedColorReadError()) );
+ TQTimer::singleShot( 10, this, TQ_SLOT(slotShowNamedColorReadError()) );
}
}
@@ -831,10 +831,10 @@ KPaletteTable::setPalette( const TQString &_paletteName )
{
cells->setColor( i, mPalette->color(i) );
}
- connect( cells, TQT_SIGNAL( colorSelected( int ) ),
- TQT_SLOT( slotColorCellSelected( int ) ) );
- connect( cells, TQT_SIGNAL( colorDoubleClicked( int ) ),
- TQT_SLOT( slotColorCellDoubleClicked( int ) ) );
+ connect( cells, TQ_SIGNAL( colorSelected( int ) ),
+ TQ_SLOT( slotColorCellSelected( int ) ) );
+ connect( cells, TQ_SIGNAL( colorDoubleClicked( int ) ),
+ TQ_SLOT( slotColorCellDoubleClicked( int ) ) );
sv->addChild( cells );
cells->show();
sv->updateScrollBars();
@@ -948,8 +948,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->oldfilter = 0;
#endif
d->cbDefaultColor = 0L;
- connect( this, TQT_SIGNAL(okClicked(void)),this,TQT_SLOT(slotWriteSettings(void)));
- connect( this, TQT_SIGNAL(closeClicked(void)),this,TQT_SLOT(slotWriteSettings(void)));
+ connect( this, TQ_SIGNAL(okClicked(void)),this,TQ_SLOT(slotWriteSettings(void)));
+ connect( this, TQ_SIGNAL(closeClicked(void)),this,TQ_SLOT(slotWriteSettings(void)));
TQLabel *label;
@@ -989,14 +989,14 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->hsSelector = new KHSSelector( page );
d->hsSelector->setMinimumSize(140, 70);
l_ltop->addWidget(d->hsSelector, 8);
- connect( d->hsSelector, TQT_SIGNAL( valueChanged( int, int ) ),
- TQT_SLOT( slotHSChanged( int, int ) ) );
+ connect( d->hsSelector, TQ_SIGNAL( valueChanged( int, int ) ),
+ TQ_SLOT( slotHSChanged( int, int ) ) );
d->valuePal = new KValueSelector( page );
d->valuePal->setMinimumSize(26, 70);
l_ltop->addWidget(d->valuePal, 1);
- connect( d->valuePal, TQT_SIGNAL( valueChanged( int ) ),
- TQT_SLOT( slotVChanged( int ) ) );
+ connect( d->valuePal, TQ_SIGNAL( valueChanged( int ) ),
+ TQ_SLOT( slotVChanged( int ) ) );
//
@@ -1008,8 +1008,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->hedit = new KColorSpinBox( 0, 359, 1, page );
d->hedit->setValidator( new TQIntValidator( d->hedit ) );
l_lbot->addWidget(d->hedit, 0, 3);
- connect( d->hedit, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT( slotHSVChanged() ) );
+ connect( d->hedit, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT( slotHSVChanged() ) );
label = new TQLabel( i18n("S:"), page );
label->setAlignment(AlignRight | AlignVCenter);
@@ -1017,8 +1017,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->sedit = new KColorSpinBox( 0, 255, 1, page );
d->sedit->setValidator( new TQIntValidator( d->sedit ) );
l_lbot->addWidget(d->sedit, 1, 3);
- connect( d->sedit, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT( slotHSVChanged() ) );
+ connect( d->sedit, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT( slotHSVChanged() ) );
label = new TQLabel( i18n("V:"), page );
label->setAlignment(AlignRight | AlignVCenter);
@@ -1026,8 +1026,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->vedit = new KColorSpinBox( 0, 255, 1, page );
d->vedit->setValidator( new TQIntValidator( d->vedit ) );
l_lbot->addWidget(d->vedit, 2, 3);
- connect( d->vedit, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT( slotHSVChanged() ) );
+ connect( d->vedit, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT( slotHSVChanged() ) );
//
// add the RGB fields
@@ -1038,8 +1038,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->redit = new KColorSpinBox( 0, 255, 1, page );
d->redit->setValidator( new TQIntValidator( d->redit ) );
l_lbot->addWidget(d->redit, 0, 5);
- connect( d->redit, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT( slotRGBChanged() ) );
+ connect( d->redit, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT( slotRGBChanged() ) );
label = new TQLabel( i18n("G:"), page );
label->setAlignment(AlignRight | AlignVCenter);
@@ -1047,8 +1047,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->gedit = new KColorSpinBox( 0, 255,1, page );
d->gedit->setValidator( new TQIntValidator( d->gedit ) );
l_lbot->addWidget(d->gedit, 1, 5);
- connect( d->gedit, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT( slotRGBChanged() ) );
+ connect( d->gedit, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT( slotRGBChanged() ) );
label = new TQLabel( i18n("B:"), page );
label->setAlignment(AlignRight | AlignVCenter);
@@ -1056,8 +1056,8 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->bedit = new KColorSpinBox( 0, 255, 1, page );
d->bedit->setValidator( new TQIntValidator( d->bedit ) );
l_lbot->addWidget(d->bedit, 2, 5);
- connect( d->bedit, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT( slotRGBChanged() ) );
+ connect( d->bedit, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT( slotRGBChanged() ) );
//
// the entry fields should be wide enough to hold 8888888
@@ -1083,13 +1083,13 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->table = new KPaletteTable( page );
d->l_right->addWidget(d->table, 10);
- connect( d->table, TQT_SIGNAL( colorSelected( const TQColor &, const TQString & ) ),
- TQT_SLOT( slotColorSelected( const TQColor &, const TQString & ) ) );
+ connect( d->table, TQ_SIGNAL( colorSelected( const TQColor &, const TQString & ) ),
+ TQ_SLOT( slotColorSelected( const TQColor &, const TQString & ) ) );
connect(
d->table,
- TQT_SIGNAL( colorDoubleClicked( const TQColor &, const TQString & ) ),
- TQT_SLOT( slotColorDoubleClicked( const TQColor &, const TQString & ) )
+ TQ_SIGNAL( colorDoubleClicked( const TQColor &, const TQString & ) ),
+ TQ_SLOT( slotColorDoubleClicked( const TQColor &, const TQString & ) )
);
// Store the default value for saving time.
d->originalPalette = d->table->palette();
@@ -1107,7 +1107,7 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
TQPushButton *button = new TQPushButton( page );
button->setText(i18n("&Add to Custom Colors"));
l_hbox->addWidget(button, 0, AlignLeft);
- connect( button, TQT_SIGNAL( clicked()), TQT_SLOT( slotAddToCustomColors()));
+ connect( button, TQ_SIGNAL( clicked()), TQ_SLOT( slotAddToCustomColors()));
//
// The color picker button
@@ -1115,7 +1115,7 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
button = new TQPushButton( page );
button->setPixmap( BarIcon("colorpicker"));
l_hbox->addWidget(button, 0, AlignHCenter );
- connect( button, TQT_SIGNAL( clicked()), TQT_SLOT( slotColorPicker()));
+ connect( button, TQ_SIGNAL( clicked()), TQ_SLOT( slotColorPicker()));
//
// a little space between
@@ -1147,14 +1147,14 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal )
d->htmlName->setFixedWidth(w);
l_grid->addWidget(d->htmlName, 1, 2, TQt::AlignLeft);
- connect( d->htmlName, TQT_SIGNAL( textChanged(const TQString &) ),
- TQT_SLOT( slotHtmlChanged() ) );
+ connect( d->htmlName, TQ_SIGNAL( textChanged(const TQString &) ),
+ TQ_SLOT( slotHtmlChanged() ) );
d->patch = new KColorPatch( page );
d->patch->setFixedSize(48, 48);
l_grid->addMultiCellWidget(d->patch, 0, 1, 0, 0, TQt::AlignHCenter | TQt::AlignVCenter);
- connect( d->patch, TQT_SIGNAL( colorChanged( const TQColor&)),
- TQT_SLOT( setColor( const TQColor&)));
+ connect( d->patch, TQ_SIGNAL( colorChanged( const TQColor&)),
+ TQ_SLOT( setColor( const TQColor&)));
tl_layout->activate();
page->setMinimumSize( page->sizeHint() );
@@ -1226,7 +1226,7 @@ KColorDialog::setDefaultColor( const TQColor& col )
mainWidget()->setMinimumSize( mainWidget()->sizeHint() );
disableResize();
- connect( d->cbDefaultColor, TQT_SIGNAL( clicked() ), TQT_SLOT( slotDefaultColorClicked() ) );
+ connect( d->cbDefaultColor, TQ_SIGNAL( clicked() ), TQ_SLOT( slotDefaultColorClicked() ) );
}
d->defaultColor = col;