diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-18 16:23:15 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-18 16:41:44 (GMT) |
commit | 9a0f7a1ef387a20f91a9b651b92d8eb345952f5f (patch) | |
tree | 53000f8dfb4d39dcbea691b283e5d54bf3cfcb50 /demos/spreadsheet | |
parent | 6afb136b0462a5049c497831203a35173f64b9ae (diff) | |
download | Qt-9a0f7a1ef387a20f91a9b651b92d8eb345952f5f.zip Qt-9a0f7a1ef387a20f91a9b651b92d8eb345952f5f.tar.gz Qt-9a0f7a1ef387a20f91a9b651b92d8eb345952f5f.tar.bz2 |
Ran the script utils/normalize
Over src/ tools/ examples/ and demos/
Diffstat (limited to 'demos/spreadsheet')
-rw-r--r-- | demos/spreadsheet/spreadsheet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/spreadsheet/spreadsheet.cpp b/demos/spreadsheet/spreadsheet.cpp index 00045c6..73c8037 100644 --- a/demos/spreadsheet/spreadsheet.cpp +++ b/demos/spreadsheet/spreadsheet.cpp @@ -73,9 +73,9 @@ SpreadSheet::SpreadSheet(int rows, int cols, QWidget *parent) setCentralWidget(table); statusBar(); - connect(table, SIGNAL(currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)), + connect(table, SIGNAL(currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)), this, SLOT(updateStatus(QTableWidgetItem*))); - connect(table, SIGNAL(currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)), + connect(table, SIGNAL(currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)), this, SLOT(updateColor(QTableWidgetItem*))); connect(table, SIGNAL(currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)), this, SLOT(updateLineEdit(QTableWidgetItem*))); @@ -624,8 +624,8 @@ void SpreadSheet::print() QPrintPreviewDialog dlg(&printer); PrintView view; view.setModel(table->model()); - connect(&dlg, SIGNAL(paintRequested(QPrinter *)), - &view, SLOT(print(QPrinter *))); + connect(&dlg, SIGNAL(paintRequested(QPrinter*)), + &view, SLOT(print(QPrinter*))); dlg.exec(); #endif } |