mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace and coding style updates
Another futile attempt to cleanup the code and make coding style and whitespace consistent. I tried to add a file that describes the key points of our coding style. I have no illusions that this will help the least bit... This commit should ONLY change whitespace Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3387ccc6f6
commit
a27f67c026
28 changed files with 387 additions and 323 deletions
|
|
@ -45,7 +45,8 @@ void TableView::setTitle(const QString& title)
|
|||
ui.groupBox->setTitle(title);
|
||||
}
|
||||
|
||||
void TableView::setModel(QAbstractItemModel *model){
|
||||
void TableView::setModel(QAbstractItemModel *model)
|
||||
{
|
||||
ui.tableView->setModel(model);
|
||||
connect(ui.tableView, SIGNAL(clicked(QModelIndex)), model, SLOT(remove(QModelIndex)));
|
||||
|
||||
|
|
@ -80,10 +81,12 @@ void TableView::showEvent(QShowEvent* event)
|
|||
fixPlusPosition();
|
||||
}
|
||||
|
||||
void TableView::edit(const QModelIndex& index){
|
||||
void TableView::edit(const QModelIndex& index)
|
||||
{
|
||||
ui.tableView->edit(index);
|
||||
}
|
||||
|
||||
QTableView *TableView::view(){
|
||||
QTableView *TableView::view()
|
||||
{
|
||||
return ui.tableView;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue