mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
006265d7a0
commit
76e6420f6b
114 changed files with 4370 additions and 3717 deletions
|
|
@ -15,23 +15,24 @@ class QModelIndex;
|
|||
class QTableView;
|
||||
|
||||
class TableView : public QWidget {
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
public:
|
||||
TableView(QWidget *parent = 0);
|
||||
virtual ~TableView();
|
||||
void setTitle(const QString& title);
|
||||
void setTitle(const QString &title);
|
||||
/* The model is expected to have a 'remove' slot, that takes a QModelIndex as parameter.
|
||||
* It's also expected to have the column '1' as a trash icon. I most probably should create a
|
||||
* proxy model and add that column, will mark that as TODO. see? marked.
|
||||
*/
|
||||
void setModel(QAbstractItemModel* model);
|
||||
void setBtnToolTip(const QString& tooltip);
|
||||
void setModel(QAbstractItemModel *model);
|
||||
void setBtnToolTip(const QString &tooltip);
|
||||
void fixPlusPosition();
|
||||
void edit(const QModelIndex& index);
|
||||
void edit(const QModelIndex &index);
|
||||
QTableView *view();
|
||||
|
||||
protected:
|
||||
virtual void showEvent(QShowEvent* );
|
||||
virtual void resizeEvent(QResizeEvent* );
|
||||
virtual void showEvent(QShowEvent *);
|
||||
virtual void resizeEvent(QResizeEvent *);
|
||||
|
||||
signals:
|
||||
void addButtonClicked();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue