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
|
@ -29,16 +29,33 @@ class MainTab;
|
|||
class ProfileGraphicsView;
|
||||
class QWebView;
|
||||
|
||||
enum MainWindowTitleFormat { MWTF_DEFAULT, MWTF_FILENAME };
|
||||
enum MainWindowTitleFormat {
|
||||
MWTF_DEFAULT,
|
||||
MWTF_FILENAME
|
||||
};
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum {COLLAPSED, EXPANDED};
|
||||
enum StackWidgetIndexes{ PROFILE, PLANNERPROFILE};
|
||||
enum InfoWidgetIndexes{ MAINTAB, PLANNERWIDGET};
|
||||
enum CurrentState{ VIEWALL, GLOBE_MAXIMIZED, INFO_MAXIMIZED, PROFILE_MAXIMIZED, LIST_MAXIMIZED};
|
||||
enum {
|
||||
COLLAPSED,
|
||||
EXPANDED
|
||||
};
|
||||
enum StackWidgetIndexes {
|
||||
PROFILE,
|
||||
PLANNERPROFILE
|
||||
};
|
||||
enum InfoWidgetIndexes {
|
||||
MAINTAB,
|
||||
PLANNERWIDGET
|
||||
};
|
||||
enum CurrentState {
|
||||
VIEWALL,
|
||||
GLOBE_MAXIMIZED,
|
||||
INFO_MAXIMIZED,
|
||||
PROFILE_MAXIMIZED,
|
||||
LIST_MAXIMIZED
|
||||
};
|
||||
|
||||
MainWindow();
|
||||
virtual ~MainWindow();
|
||||
|
@ -60,7 +77,8 @@ public:
|
|||
void importFiles(const QStringList importFiles);
|
||||
void cleanUpEmpty();
|
||||
QTabWidget *tabWidget();
|
||||
private slots:
|
||||
private
|
||||
slots:
|
||||
/* file menu action */
|
||||
void recentFileTriggered(bool checked);
|
||||
void on_actionNew_triggered();
|
||||
|
@ -127,7 +145,8 @@ private slots:
|
|||
protected:
|
||||
void closeEvent(QCloseEvent *);
|
||||
|
||||
public slots:
|
||||
public
|
||||
slots:
|
||||
void readSettings();
|
||||
void refreshDisplay(bool recreateDiveList = true);
|
||||
void showProfile();
|
||||
|
@ -149,7 +168,7 @@ private:
|
|||
void beginChangeState(CurrentState s);
|
||||
void saveSplitterSizes();
|
||||
QString lastUsedDir();
|
||||
void updateLastUsedDir(const QString& s);
|
||||
void updateLastUsedDir(const QString &s);
|
||||
};
|
||||
|
||||
MainWindow *mainWindow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue