mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Print: mark some functions in PrintLayout as 'const'
It might be a good practice to declare certain class 'helper' functions as constant members. But I don't think there are performance benefits to that other than the readability ones. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
a4982c93cd
commit
3aae3ff547
2 changed files with 14 additions and 14 deletions
|
@ -27,13 +27,13 @@ private:
|
|||
QStringList tableColumnWidths;
|
||||
|
||||
void setup();
|
||||
void printSixDives();
|
||||
void printTwoDives();
|
||||
void printTable();
|
||||
QString insertTableHeadingRow();
|
||||
QString insertTableHeadingCol(int);
|
||||
QString insertTableDataRow(struct dive *);
|
||||
QString insertTableDataCol(QString);
|
||||
void printSixDives() const;
|
||||
void printTwoDives() const;
|
||||
void printTable() const;
|
||||
QString insertTableHeadingRow() const;
|
||||
QString insertTableHeadingCol(int) const;
|
||||
QString insertTableDataRow(struct dive *) const;
|
||||
QString insertTableDataCol(QString) const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue