From ed73dc21ad6b1f8cfa7cbb55c77bbd1ce0481e08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Sun, 12 Aug 2007 12:44:42 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19452 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/QMathMatrixDialog.cpp | 32 +++++++++++++++---------- src/frontends/qt4/QSearch.cpp | 8 +++---- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/frontends/qt4/QMathMatrixDialog.cpp b/src/frontends/qt4/QMathMatrixDialog.cpp index ca3b3d97cc..2f26ef00f7 100644 --- a/src/frontends/qt4/QMathMatrixDialog.cpp +++ b/src/frontends/qt4/QMathMatrixDialog.cpp @@ -65,19 +65,25 @@ QMathMatrixDialog::QMathMatrixDialog(QMathMatrix * form) columnsSB->setValue(5); valignCO->setCurrentIndex(1); - connect(okPB, SIGNAL(clicked()), - this, SLOT(slotOK())); - connect(closePB, SIGNAL(clicked()), - this, SLOT(slotClose())); - - connect( table, SIGNAL( rowsChanged(int) ), rowsSB, SLOT( setValue(int) ) ); - connect( table, SIGNAL( colsChanged(int) ), columnsSB, SLOT( setValue(int) ) ); - connect( rowsSB, SIGNAL( valueChanged(int) ), table, SLOT( setNumberRows(int) ) ); - connect( columnsSB, SIGNAL( valueChanged(int) ), table, SLOT( setNumberColumns(int) ) ); - connect( rowsSB, SIGNAL( valueChanged(int) ), this, SLOT( rowsChanged(int) ) ); - connect( columnsSB, SIGNAL( valueChanged(int) ), this, SLOT( columnsChanged(int) ) ); - connect( valignCO, SIGNAL( highlighted(const QString&) ), this, SLOT( change_adaptor() ) ); - connect( halignED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); + connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK())); + connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose())); + + connect(table, SIGNAL(rowsChanged(int)), + rowsSB, SLOT(setValue(int))); + connect(table, SIGNAL(colsChanged(int)), + columnsSB, SLOT(setValue(int))); + connect(rowsSB, SIGNAL(valueChanged(int)), + table, SLOT(setNumberRows(int))); + connect(columnsSB, SIGNAL(valueChanged(int)), + table, SLOT(setNumberColumns(int))); + connect(rowsSB, SIGNAL(valueChanged(int)), + this, SLOT(rowsChanged(int))); + connect(columnsSB, SIGNAL(valueChanged(int)), + this, SLOT(columnsChanged(int)) ); + connect(valignCO, SIGNAL(highlighted(const QString&)), + this, SLOT(change_adaptor())); + connect(halignED, SIGNAL(textChanged(const QString&)), + this, SLOT(change_adaptor())); } diff --git a/src/frontends/qt4/QSearch.cpp b/src/frontends/qt4/QSearch.cpp index e06b0b325e..1e496ec0d6 100644 --- a/src/frontends/qt4/QSearch.cpp +++ b/src/frontends/qt4/QSearch.cpp @@ -50,10 +50,10 @@ QSearchDialog::QSearchDialog(QSearch * form) setupUi(this); connect(closePB, SIGNAL(clicked()), form_, SLOT(slotClose())); - connect(findPB, SIGNAL(clicked()), this, SLOT(findClicked())); - connect(replacePB, SIGNAL(clicked()), this, SLOT(replaceClicked())); - connect(replaceallPB, SIGNAL(clicked()), this, SLOT(replaceallClicked())); - connect(findCO, SIGNAL(editTextChanged(const QString &)), + connect(findPB, SIGNAL(clicked()), this, SLOT(findClicked())); + connect(replacePB, SIGNAL(clicked()), this, SLOT(replaceClicked())); + connect(replaceallPB, SIGNAL(clicked()), this, SLOT(replaceallClicked())); + connect(findCO, SIGNAL(editTextChanged(const QString &)), this, SLOT(findChanged())); setFocusProxy(findCO); -- 2.39.2