{
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)));
}
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)));
}