|
|
@ -120,7 +120,7 @@ GlowConfigDialog::GlowConfigDialog( TDEConfig * conf, TQWidget * parent )
|
|
|
|
// create signal mapper
|
|
|
|
// create signal mapper
|
|
|
|
_titleButtonMapper = new TQSignalMapper(this);
|
|
|
|
_titleButtonMapper = new TQSignalMapper(this);
|
|
|
|
for( uint i=0; i<_titleButtonList.size(); i++ ) {
|
|
|
|
for( uint i=0; i<_titleButtonList.size(); i++ ) {
|
|
|
|
_titleButtonMapper->setMapping(TQT_TQOBJECT(_titleButtonList[i]), i);
|
|
|
|
_titleButtonMapper->setMapping(_titleButtonList[i], i);
|
|
|
|
connect(_titleButtonList[i], TQT_SIGNAL(clicked()),_titleButtonMapper, TQT_SLOT(map()));
|
|
|
|
connect(_titleButtonList[i], TQT_SIGNAL(clicked()),_titleButtonMapper, TQT_SLOT(map()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
connect(_titleButtonMapper, TQT_SIGNAL(mapped(int)),this, TQT_SLOT(slotTitleButtonClicked(int)));
|
|
|
|
connect(_titleButtonMapper, TQT_SIGNAL(mapped(int)),this, TQT_SLOT(slotTitleButtonClicked(int)));
|
|
|
|