]> git.lyx.org Git - features.git/commitdiff
cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Sun, 12 Aug 2007 12:44:42 +0000 (12:44 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sun, 12 Aug 2007 12:44:42 +0000 (12:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19452 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QMathMatrixDialog.cpp
src/frontends/qt4/QSearch.cpp

index ca3b3d97cc09a2037aafdc9c9e2b11890e8ef4cb..2f26ef00f71db53e4db6921913e1144980724903 100644 (file)
@@ -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()));
 }
 
 
index e06b0b325ebd0f9c1fb0c71bb581b98a6d4f2483..1e496ec0d6762f48ae6acb2e4abeb652f48e7c8e 100644 (file)
@@ -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);