From: André Pönitz Date: Sun, 12 Aug 2007 12:51:00 +0000 (+0000) Subject: whitespace X-Git-Tag: 1.6.10~8946 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e2a5dd2fc62cc4d41da05e67710c4571572aebca;p=features.git whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19453 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/QLPrintDialog.cpp b/src/frontends/qt4/QLPrintDialog.cpp index 85d8126752..8c8cefe99b 100644 --- a/src/frontends/qt4/QLPrintDialog.cpp +++ b/src/frontends/qt4/QLPrintDialog.cpp @@ -29,26 +29,30 @@ QLPrintDialog::QLPrintDialog(QPrint * f) { setupUi(this); - connect(printPB, SIGNAL(clicked()), - form_, SLOT(slotOK())); - connect(closePB, SIGNAL(clicked()), - form_, SLOT(slotClose())); - - connect( copiesSB, SIGNAL( valueChanged(int) ), this, SLOT( copiesChanged(int) ) ); - 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( clicked() ), this, SLOT( change_adaptor() ) ); - connect( reverseCB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) ); - connect( collateCB, SIGNAL( clicked() ), 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( clicked() ), this, SLOT( change_adaptor() ) ); - connect( printerRB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) ); - connect( rangeRB, SIGNAL( toggled(bool) ), fromED, SLOT( setEnabled(bool) ) ); - connect( rangeRB, SIGNAL( toggled(bool) ), toED, SLOT( setEnabled(bool) ) ); + connect(printPB, SIGNAL(clicked()), form_, SLOT(slotOK())); + connect(closePB, SIGNAL(clicked()), form_, SLOT(slotClose())); + + connect(copiesSB, SIGNAL(valueChanged(int)), this, SLOT(copiesChanged(int))); + 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(clicked()), this, SLOT(change_adaptor())); + connect(reverseCB, SIGNAL(clicked()), this, SLOT(change_adaptor())); + connect(collateCB, SIGNAL(clicked()), 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(clicked()), this, SLOT(change_adaptor())); + connect(printerRB, SIGNAL(clicked()), this, SLOT(change_adaptor())); + connect(rangeRB, SIGNAL(toggled(bool)), fromED, SLOT(setEnabled(bool))); + connect(rangeRB, SIGNAL(toggled(bool)), toED, SLOT(setEnabled(bool))); } diff --git a/src/frontends/qt4/QTabularCreate.cpp b/src/frontends/qt4/QTabularCreate.cpp index 7baee2c760..b888dd6677 100644 --- a/src/frontends/qt4/QTabularCreate.cpp +++ b/src/frontends/qt4/QTabularCreate.cpp @@ -36,13 +36,12 @@ QTabularCreateDialog::QTabularCreateDialog(QTabularCreate * form) rowsSB->setValue(5); columnsSB->setValue(5); - connect(okPB, SIGNAL(clicked()), - form_, SLOT(slotOK())); - connect(closePB, SIGNAL(clicked()), - form_, SLOT(slotClose())); - connect(rowsSB, SIGNAL(valueChanged(int)), - this, SLOT( rowsChanged(int))); - connect(columnsSB, SIGNAL(valueChanged(int)), + connect(okPB, SIGNAL(clicked()), form_, SLOT(slotOK())); + connect(closePB, SIGNAL(clicked()), form_, SLOT(slotClose())); + + connect(rowsSB, SIGNAL(valueChanged(int)), + this, SLOT(rowsChanged(int))); + connect(columnsSB, SIGNAL(valueChanged(int)), this, SLOT(columnsChanged(int))); }