the attached patch replaces all toggled(bool) signals with clicked(bool)
the latter is triggered on user interaction while the former is also triggered when we set checkboxes and radiobuttons ourselves.
in case of the tabular dialog this led to crashes and i think it leads to unexpected behavior
will commit unless someone points out a conceptual flaw here thanks
Index: BulletsModule.C =================================================================== --- BulletsModule.C (revision 16705) +++ BulletsModule.C (working copy) @@ -143,7 +143,7 @@ } -void BulletsModule::on_customCB_toggled(bool custom) +void BulletsModule::on_customCB_clicked(bool custom) { if (!custom) { if (current_font_ < 0) Index: BulletsModule.h =================================================================== --- BulletsModule.h (revision 16705) +++ BulletsModule.h (working copy) @@ -43,7 +43,7 @@ protected Q_SLOTS: void on_bulletsizeCO_activated(int level); - void on_customCB_toggled(bool); + void on_customCB_clicked(bool); void on_customLE_textEdited(const QString &); void bulletSelected(QListWidgetItem *, QListWidgetItem*); void showLevel(int); Index: FloatPlacement.C =================================================================== --- FloatPlacement.C (revision 16705) +++ FloatPlacement.C (working copy) @@ -32,13 +32,13 @@ connect(herepossiblyCB, SIGNAL(clicked()), this, SLOT(tbhpClicked())); connect(defaultsCB, SIGNAL(clicked()), this, SLOT(tbhpClicked())); - connect(defaultsCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); - connect(ignoreCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); - connect(pageCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); - connect(heredefinitelyCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); - connect(herepossiblyCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); - connect(bottomCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); - connect(topCB, SIGNAL(toggled(bool)), this, SLOT(changedSlot())); + connect(defaultsCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); + connect(ignoreCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); + connect(pageCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); + connect(heredefinitelyCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); + connect(herepossiblyCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); + connect(bottomCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); + connect(topCB, SIGNAL(clicked(bool)), this, SLOT(changedSlot())); spanCB->hide(); sidewaysCB->hide(); Index: QBibtexDialog.C =================================================================== --- QBibtexDialog.C (revision 16705) +++ QBibtexDialog.C (working copy) @@ -58,7 +58,7 @@ this, SLOT( change_adaptor() ) ); connect(databaseLW, SIGNAL( itemSelectionChanged() ), this, SLOT( databaseChanged() ) ); - connect(bibtocCB, SIGNAL( toggled(bool) ), + connect(bibtocCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); connect(btPrintCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); Index: QCharacterDialog.C =================================================================== --- QCharacterDialog.C (revision 16705) +++ QCharacterDialog.C (working copy) @@ -38,7 +38,7 @@ connect( shapeCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); connect( colorCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); connect( langCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); - connect( toggleallCB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect( toggleallCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); } Index: QDocumentDialog.C =================================================================== --- QDocumentDialog.C (revision 16705) +++ QDocumentDialog.C (working copy) @@ -90,14 +90,14 @@ connect(textLayoutModule->lspacingCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(textLayoutModule->lspacingCO, SIGNAL(activated(int)), this, SLOT(setLSpacing(int))); connect(textLayoutModule->lspacingLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor())); - connect(textLayoutModule->skipRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(textLayoutModule->indentRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(textLayoutModule->skipRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(textLayoutModule->indentRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); connect(textLayoutModule->skipCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(textLayoutModule->skipLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor())); connect(textLayoutModule->skipLengthCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(textLayoutModule->skipCO, SIGNAL(activated(int)), this, SLOT(setSkip(int))); - connect(textLayoutModule->skipRB, SIGNAL(toggled(bool)), this, SLOT(enableSkip(bool))); - connect(textLayoutModule->twoColumnCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(textLayoutModule->skipRB, SIGNAL(clicked(bool)), this, SLOT(enableSkip(bool))); + connect(textLayoutModule->twoColumnCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); textLayoutModule->lspacingLE->setValidator(new QDoubleValidator( textLayoutModule->lspacingLE)); textLayoutModule->skipLE->setValidator(unsignedLengthValidator( @@ -136,8 +136,8 @@ connect(fontModule->fontsizeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(fontModule->scaleSansSB, SIGNAL(valueChanged(int)), this, SLOT(change_adaptor())); connect(fontModule->scaleTypewriterSB, SIGNAL(valueChanged(int)), this, SLOT(change_adaptor())); - connect(fontModule->fontScCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(fontModule->fontOsfCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(fontModule->fontScCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(fontModule->fontOsfCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); for (int n = 0; tex_fonts_roman[n][0]; ++n) { QString font = toqstr(tex_fonts_roman_gui[n]); @@ -174,15 +174,15 @@ // page layout connect(pageLayoutModule->papersizeCO, SIGNAL(activated(int)), this, SLOT(setCustomPapersize(int))); connect(pageLayoutModule->papersizeCO, SIGNAL(activated(int)), this, SLOT(setCustomPapersize(int))); - connect(pageLayoutModule->portraitRB, SIGNAL(toggled(bool)), this, SLOT(portraitChanged())); + connect(pageLayoutModule->portraitRB, SIGNAL(clicked(bool)), this, SLOT(portraitChanged())); connect(pageLayoutModule->papersizeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(pageLayoutModule->paperheightLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor())); connect(pageLayoutModule->paperwidthLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor())); connect(pageLayoutModule->paperwidthUnitCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(pageLayoutModule->paperheightUnitCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(pageLayoutModule->portraitRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(pageLayoutModule->landscapeRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(pageLayoutModule->facingPagesCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(pageLayoutModule->portraitRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(pageLayoutModule->landscapeRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(pageLayoutModule->facingPagesCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); connect(pageLayoutModule->pagestyleCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); pageLayoutModule->pagestyleCO->addItem(qt_("default")); pageLayoutModule->pagestyleCO->addItem(qt_("empty")); @@ -220,8 +220,8 @@ marginsModule = new UiWidget<Ui::MarginsUi>; // margins - connect(marginsModule->marginCB, SIGNAL(toggled(bool)), this, SLOT(setCustomMargins(bool))); - connect(marginsModule->marginCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(marginsModule->marginCB, SIGNAL(clicked(bool)), this, SLOT(setCustomMargins(bool))); + connect(marginsModule->marginCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); connect(marginsModule->topLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor())); connect(marginsModule->topUnit, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(marginsModule->bottomLE, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor())); @@ -271,11 +271,11 @@ langModule = new UiWidget<Ui::LanguageUi>; - connect(langModule->defaultencodingCB, SIGNAL(toggled(bool)), langModule->encodingL, SLOT(setDisabled(bool))); - connect(langModule->defaultencodingCB, SIGNAL(toggled(bool)), langModule->encodingCO, SLOT(setDisabled(bool))); + connect(langModule->defaultencodingCB, SIGNAL(clicked(bool)), langModule->encodingL, SLOT(setDisabled(bool))); + connect(langModule->defaultencodingCB, SIGNAL(clicked(bool)), langModule->encodingCO, SLOT(setDisabled(bool))); // language & quote connect(langModule->languageCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(langModule->defaultencodingCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(langModule->defaultencodingCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); connect(langModule->encodingCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); connect(langModule->quoteStyleCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); // language & quotes @@ -317,14 +317,14 @@ biblioModule = new UiWidget<Ui::BiblioUi>; - connect( biblioModule->citeNatbibRB, SIGNAL( toggled(bool) ), biblioModule->citationStyleL, SLOT( setEnabled(bool) ) ); - connect( biblioModule->citeNatbibRB, SIGNAL( toggled(bool) ), biblioModule->citeStyleCO, SLOT( setEnabled(bool) ) ); + connect( biblioModule->citeNatbibRB, SIGNAL( clicked(bool) ), biblioModule->citationStyleL, SLOT( setEnabled(bool) ) ); + connect( biblioModule->citeNatbibRB, SIGNAL( clicked(bool) ), biblioModule->citeStyleCO, SLOT( setEnabled(bool) ) ); // biblio - connect(biblioModule->citeDefaultRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(biblioModule->citeNatbibRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(biblioModule->citeDefaultRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(biblioModule->citeNatbibRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); connect(biblioModule->citeStyleCO, SIGNAL(activated(int)), this, SLOT(change_adaptor())); - connect(biblioModule->citeJurabibRB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(biblioModule->bibtopicCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(biblioModule->citeJurabibRB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(biblioModule->bibtopicCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); // biblio biblioModule->citeStyleCO->addItem(qt_("Author-year")); biblioModule->citeStyleCO->addItem(qt_("Numerical")); @@ -333,13 +333,13 @@ mathsModule = new UiWidget<Ui::MathsUi>; - connect(mathsModule->amsautoCB, SIGNAL(toggled(bool)), mathsModule->amsCB, SLOT(setDisabled(bool))); - connect(mathsModule->esintautoCB, SIGNAL(toggled(bool)), mathsModule->esintCB, SLOT(setDisabled(bool))); + connect(mathsModule->amsautoCB, SIGNAL(clicked(bool)), mathsModule->amsCB, SLOT(setDisabled(bool))); + connect(mathsModule->esintautoCB, SIGNAL(clicked(bool)), mathsModule->esintCB, SLOT(setDisabled(bool))); // maths - connect(mathsModule->amsCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(mathsModule->amsautoCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(mathsModule->esintCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); - connect(mathsModule->esintautoCB, SIGNAL(toggled(bool)), this, SLOT(change_adaptor())); + connect(mathsModule->amsCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(mathsModule->amsautoCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(mathsModule->esintCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); + connect(mathsModule->esintautoCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor())); latexModule = new UiWidget<Ui::LaTeXUi>; // latex class Index: QERTDialog.C =================================================================== --- QERTDialog.C (revision 16705) +++ QERTDialog.C (working copy) @@ -13,8 +13,7 @@ #include "QERTDialog.h" #include "QERT.h" -#include <qpushbutton.h> -//Added by qt3to4: +#include <QPushButton> #include <QCloseEvent> namespace lyx { @@ -29,9 +28,9 @@ connect(closePB, SIGNAL(clicked()), form, SLOT(slotClose())); - connect( inlineRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( collapsedRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( openRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect( inlineRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( collapsedRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( openRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); } Index: QExternalDialog.C =================================================================== --- QExternalDialog.C (revision 16705) +++ QExternalDialog.C (working copy) @@ -54,8 +54,8 @@ connect(closePB, SIGNAL(clicked()), form, SLOT(slotClose())); - connect( displayCB, SIGNAL( toggled(bool) ), showCO, SLOT( setEnabled(bool) ) ); - connect( displayCB, SIGNAL( toggled(bool) ), displayscaleED, SLOT( setEnabled(bool) ) ); + connect( displayCB, SIGNAL( clicked(bool) ), showCO, SLOT( setEnabled(bool) ) ); + connect( displayCB, SIGNAL( clicked(bool) ), displayscaleED, SLOT( setEnabled(bool) ) ); connect( showCO, SIGNAL( activated(const QString&) ), this, SLOT( change_adaptor() ) ); connect( originCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); connect( aspectratioCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) ); Index: QGraphicsDialog.C =================================================================== --- QGraphicsDialog.C (revision 16705) +++ QGraphicsDialog.C (working copy) @@ -53,13 +53,13 @@ this, SLOT( change_adaptor() ) ); connect(subcaption, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); - connect(subfigure, SIGNAL( toggled(bool) ), + connect(subfigure, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); connect(latexoptions, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); connect(clip, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) ); - connect(displayGB, SIGNAL( toggled(bool) ), + connect(displayGB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); connect(showCB, SIGNAL( currentIndexChanged(int) ), this, SLOT( change_adaptor() ) ); @@ -85,7 +85,7 @@ this, SLOT( change_adaptor() ) ); connect(getPB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) ); - connect(scaleCB, SIGNAL(toggled(bool)), + connect(scaleCB, SIGNAL(clicked(bool)), this, SLOT(change_adaptor()) ); connect(Scale, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); @@ -180,7 +180,7 @@ } -void QGraphicsDialog::on_scaleCB_toggled(bool setscale) +void QGraphicsDialog::on_scaleCB_clicked(bool setscale) { Scale->setEnabled(setscale); widthL->setDisabled(setscale); Index: QGraphicsDialog.h =================================================================== --- QGraphicsDialog.h (revision 16705) +++ QGraphicsDialog.h (working copy) @@ -37,7 +37,7 @@ virtual void on_getPB_clicked(); virtual void on_editPB_clicked(); virtual void on_filename_textChanged(const QString &); - virtual void on_scaleCB_toggled(bool); + virtual void on_scaleCB_clicked(bool); protected: virtual void closeEvent(QCloseEvent * e); private: Index: QIncludeDialog.C =================================================================== --- QIncludeDialog.C (revision 16705) +++ QIncludeDialog.C (working copy) @@ -33,13 +33,13 @@ connect(closePB, SIGNAL(clicked()), form, SLOT(slotClose())); - connect( visiblespaceCB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect( visiblespaceCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); connect( filenameED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); connect( loadPB, SIGNAL( clicked() ), this, SLOT( loadClicked() ) ); connect( browsePB, SIGNAL( clicked() ), this, SLOT( browseClicked() ) ); connect( typeCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); connect( typeCO, SIGNAL( activated(int) ), this, SLOT( typeChanged(int) ) ); - connect( previewCB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect( previewCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); filenameED->setValidator(new PathValidator(true, filenameED)); } Index: QLPrintDialog.C =================================================================== --- QLPrintDialog.C (revision 16705) +++ QLPrintDialog.C (working copy) @@ -38,17 +38,17 @@ connect( printerED, SIGNAL( textChanged(const QString&) ), this, SLOT( printerChanged() ) ); connect( fileED, SIGNAL( textChanged(const QString&) ), this, SLOT( fileChanged() ) ); connect( browsePB, SIGNAL( clicked() ), this, SLOT( browseClicked() ) ); - connect( allRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( reverseCB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( collateCB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect( allRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( reverseCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( collateCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); connect( fromED, SIGNAL( textChanged(const QString&) ), this, SLOT( pagerangeChanged() ) ); connect( fromED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); connect( toED, SIGNAL( textChanged(const QString&) ), this, SLOT( pagerangeChanged() ) ); connect( toED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); - connect( fileRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( printerRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( rangeRB, SIGNAL( toggled(bool) ), fromED, SLOT( setEnabled(bool) ) ); - connect( rangeRB, SIGNAL( toggled(bool) ), toED, SLOT( setEnabled(bool) ) ); + connect( fileRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( printerRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( rangeRB, SIGNAL( clicked(bool) ), fromED, SLOT( setEnabled(bool) ) ); + connect( rangeRB, SIGNAL( clicked(bool) ), toED, SLOT( setEnabled(bool) ) ); } Index: QLToolbar.C =================================================================== --- QLToolbar.C (revision 16705) +++ QLToolbar.C (working copy) @@ -183,7 +183,7 @@ tb->setToolTip(toqstr(tooltip)); tb->setFocusPolicy(Qt::NoFocus); InsertTableWidget * iv = new InsertTableWidget(owner_, tb); - connect(tb, SIGNAL(toggled(bool)), iv, SLOT(show(bool))); + connect(tb, SIGNAL(clicked(bool)), iv, SLOT(show(bool))); connect(iv, SIGNAL(visible(bool)), tb, SLOT(setChecked(bool))); connect(this, SIGNAL(updated()), iv, SLOT(updateParent())); addWidget(tb); Index: QNoteDialog.C =================================================================== --- QNoteDialog.C (revision 16705) +++ QNoteDialog.C (working copy) @@ -30,11 +30,11 @@ connect(closePB, SIGNAL(clicked()), form, SLOT(slotClose())); - connect( noteRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( greyedoutRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( commentRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( framedRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); - connect( shadedRB, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect( noteRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( greyedoutRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( commentRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( framedRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); + connect( shadedRB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); } Index: QParagraphDialog.C =================================================================== --- QParagraphDialog.C (revision 16705) +++ QParagraphDialog.C (working copy) @@ -44,7 +44,7 @@ this, SLOT( enableLinespacingValue(int) ) ); connect(linespacingValue, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); - connect(indentCB, SIGNAL( toggled(bool) ), + connect(indentCB, SIGNAL( clicked(bool) ), this, SLOT( change_adaptor() ) ); connect(labelWidth, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); Index: QPrefsDialog.C =================================================================== --- QPrefsDialog.C (revision 16705) +++ QPrefsDialog.C (working copy) @@ -241,20 +241,20 @@ { setupUi(this); - connect(keymapCB, SIGNAL( toggled(bool) ), + connect(keymapCB, SIGNAL( clicked(bool) ), firstKeymapLA, SLOT( setEnabled(bool) ) ); - connect(keymapCB, SIGNAL( toggled(bool) ), + connect(keymapCB, SIGNAL( clicked(bool) ), secondKeymapLA, SLOT( setEnabled(bool) ) ); - connect(keymapCB, SIGNAL( toggled(bool) ), + connect(keymapCB, SIGNAL( clicked(bool) ), firstKeymapED, SLOT( setEnabled(bool) ) ); - connect(keymapCB, SIGNAL( toggled(bool) ), + connect(keymapCB, SIGNAL( clicked(bool) ), secondKeymapED, SLOT( setEnabled(bool) ) ); - connect(keymapCB, SIGNAL( toggled(bool) ), + connect(keymapCB, SIGNAL( clicked(bool) ), firstKeymapPB, SLOT( setEnabled(bool) ) ); - connect(keymapCB, SIGNAL( toggled(bool) ), + connect(keymapCB, SIGNAL( clicked(bool) ), secondKeymapPB, SLOT( setEnabled(bool) ) ); - connect(keymapCB, SIGNAL(toggled(bool)), + connect(keymapCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(firstKeymapED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); @@ -322,7 +322,7 @@ this, SIGNAL(changed())); connect(latexIndexED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); - connect(latexAutoresetCB, SIGNAL(toggled(bool)), + connect(latexAutoresetCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(latexDviPaperED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); @@ -582,7 +582,7 @@ : PrefModule(_(Outputs), _("Paths"), 0, parent) { setupUi(this); - connect(pathCB, SIGNAL(toggled(bool)), + connect(pathCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); } @@ -781,9 +781,9 @@ this, SIGNAL(changed())); connect(persDictionaryED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); - connect(compoundWordCB, SIGNAL(toggled(bool)), + connect(compoundWordCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(inputEncodingCB, SIGNAL(toggled(bool)), + connect(inputEncodingCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); spellCommandCO->addItem(qt_("ispell")); @@ -1295,9 +1295,9 @@ this, SLOT(fileformat_changed())); connect(editorED, SIGNAL(textChanged(const QString&)), this, SLOT(fileformat_changed())); - connect(documentCB, SIGNAL(toggled(bool)), + connect(documentCB, SIGNAL(clicked(bool)), this, SLOT(fileformat_changed())); - connect(vectorCB, SIGNAL(toggled(bool)), + connect(vectorCB, SIGNAL(clicked(bool)), this, SLOT(fileformat_changed())); connect(formatNewPB, SIGNAL(clicked()), this, SIGNAL(changed())); @@ -1484,17 +1484,17 @@ { setupUi(this); - connect(rtlCB, SIGNAL(toggled(bool)), + connect(rtlCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(markForeignCB, SIGNAL(toggled(bool)), + connect(markForeignCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(autoBeginCB, SIGNAL(toggled(bool)), + connect(autoBeginCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(autoEndCB, SIGNAL(toggled(bool)), + connect(autoEndCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(useBabelCB, SIGNAL(toggled(bool)), + connect(useBabelCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(globalCB, SIGNAL(toggled(bool)), + connect(globalCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(languagePackageED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); @@ -1559,7 +1559,7 @@ { setupUi(this); - connect(printerAdaptCB, SIGNAL(toggled(bool)), + connect(printerAdaptCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(printerCommandED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); @@ -1651,40 +1651,40 @@ { setupUi(this); - connect(autoSaveCB, SIGNAL( toggled(bool) ), autoSaveLA, SLOT( setEnabled(bool) ) ); - connect(autoSaveCB, SIGNAL( toggled(bool) ), autoSaveSB, SLOT( setEnabled(bool) ) ); - connect(autoSaveCB, SIGNAL( toggled(bool) ), TextLabel1, SLOT( setEnabled(bool) ) ); + connect(autoSaveCB, SIGNAL( clicked(bool) ), autoSaveLA, SLOT( setEnabled(bool) ) ); + connect(autoSaveCB, SIGNAL( clicked(bool) ), autoSaveSB, SLOT( setEnabled(bool) ) ); + connect(autoSaveCB, SIGNAL( clicked(bool) ), TextLabel1, SLOT( setEnabled(bool) ) ); connect(uiFilePB, SIGNAL(clicked()), this, SLOT(select_ui())); connect(bindFilePB, SIGNAL(clicked()), this, SLOT(select_bind())); connect(uiFileED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); connect(bindFileED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); - connect(restoreCursorCB, SIGNAL(toggled(bool)), + connect(restoreCursorCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(loadSessionCB, SIGNAL(toggled(bool)), + connect(loadSessionCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(loadWindowSizeCB, SIGNAL(toggled(bool)), + connect(loadWindowSizeCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); - connect(loadWindowSizeCB, SIGNAL(toggled(bool)), + connect(loadWindowSizeCB, SIGNAL(clicked(bool)), windowWidthLA, SLOT(setDisabled(bool))); - connect(loadWindowSizeCB, SIGNAL(toggled(bool)), + connect(loadWindowSizeCB, SIGNAL(clicked(bool)), windowHeightLA, SLOT(setDisabled(bool))); - connect(loadWindowSizeCB, SIGNAL(toggled(bool)), + connect(loadWindowSizeCB, SIGNAL(clicked(bool)), windowWidthSB, SLOT(setDisabled(bool))); - connect(loadWindowSizeCB, SIGNAL(toggled(bool)), + connect(loadWindowSizeCB, SIGNAL(clicked(bool)), windowHeightSB, SLOT(setDisabled(bool))); - connect(loadWindowLocationCB, SIGNAL(toggled(bool)), + connect(loadWindowLocationCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(windowWidthSB, SIGNAL(valueChanged(int)), this, SIGNAL(changed())); connect(windowHeightSB, SIGNAL(valueChanged(int)), this, SIGNAL(changed())); - connect(cursorFollowsCB, SIGNAL(toggled(bool)), + connect(cursorFollowsCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(autoSaveSB, SIGNAL(valueChanged(int)), this, SIGNAL(changed())); - connect(autoSaveCB, SIGNAL(toggled(bool)), + connect(autoSaveCB, SIGNAL(clicked(bool)), this, SIGNAL(changed())); connect(lastfilesSB, SIGNAL(valueChanged(int)), this, SIGNAL(changed())); Index: QRefDialog.C =================================================================== --- QRefDialog.C (revision 16705) +++ QRefDialog.C (working copy) @@ -44,7 +44,7 @@ this, SLOT( refHighlighted(QListWidgetItem *) ) ); connect( refsLW, SIGNAL( itemActivated(QListWidgetItem *) ), this, SLOT( refSelected(QListWidgetItem *) ) ); - connect( sortCB, SIGNAL( toggled(bool) ), + connect( sortCB, SIGNAL( clicked(bool) ), this, SLOT( sortToggled(bool) ) ); connect( gotoPB, SIGNAL( clicked() ), this, SLOT( gotoClicked() ) ); Index: QTabularDialog.C =================================================================== --- QTabularDialog.C (revision 16705) +++ QTabularDialog.C (working copy) @@ -61,8 +61,8 @@ connect(borderDefaultRB, SIGNAL(clicked(bool)), this, SLOT(booktabsChanged(bool))); connect(borderSetPB, SIGNAL(clicked()), this, SLOT(borderSet_clicked())); connect(borderUnsetPB, SIGNAL(clicked()), this, SLOT(borderUnset_clicked())); - connect(longTabularCB, SIGNAL(toggled(bool)), longtableGB, SLOT(setEnabled(bool))); - connect(longTabularCB, SIGNAL(toggled(bool)), newpageCB, SLOT(setEnabled(bool))); + connect(longTabularCB, SIGNAL(clicked(bool)), longtableGB, SLOT(setEnabled(bool))); + connect(longTabularCB, SIGNAL(clicked(bool)), newpageCB, SLOT(setEnabled(bool))); connect(hAlignCB, SIGNAL(activated(int)), this, SLOT(hAlign_changed(int))); connect(vAlignCB, SIGNAL(activated(int)), this, SLOT(vAlign_changed(int))); connect(multicolumnCB, SIGNAL(clicked()), this, SLOT(multicolumn_clicked())); Index: QViewSourceDialog.C =================================================================== --- QViewSourceDialog.C (revision 16705) +++ QViewSourceDialog.C (working copy) @@ -27,9 +27,9 @@ setupUi(this); connect(closePB, SIGNAL(clicked()), form, SLOT(slotClose())); - connect(viewFullSourceCB, SIGNAL(toggled(bool)), + connect(viewFullSourceCB, SIGNAL(clicked(bool)), this, SLOT(slotUpdate())); - connect(autoUpdateCB, SIGNAL(toggled(bool)), + connect(autoUpdateCB, SIGNAL(clicked(bool)), updatePB, SLOT(setDisabled(bool))); connect(updatePB, SIGNAL(clicked()), this, SLOT(slotUpdate()));