diff options
author | hjk <[email protected]> | 2008-12-02 15:08:31 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2008-12-02 15:08:31 +0100 |
commit | df7aacd637057300dd20abd06950fc4795c55bf6 (patch) | |
tree | 243adce5bc97bf855cdf32c141d5da8cd766a9e1 /src/plugins/git/commitdata.h | |
parent | 2ef79dca1cd017ecada24430e15a0b8be6b27cb0 (diff) |
more file cosmetics
Diffstat (limited to 'src/plugins/git/commitdata.h')
-rw-r--r-- | src/plugins/git/commitdata.h | 60 |
1 files changed, 32 insertions, 28 deletions
diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h index 1a6d4c04f20..9cd5a83eb16 100644 --- a/src/plugins/git/commitdata.h +++ b/src/plugins/git/commitdata.h @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #ifndef COMMITDATA_H #define COMMITDATA_H @@ -42,40 +43,43 @@ QT_END_NAMESPACE namespace Git { namespace Internal { - // Read-only - struct GitSubmitEditorPanelInfo { - void clear(); - QString repository; - QString description; - QString branch; - }; +// Read-only +struct GitSubmitEditorPanelInfo +{ + void clear(); + QString repository; + QString description; + QString branch; +}; - QDebug operator<<(QDebug d, const GitSubmitEditorPanelInfo &); +QDebug operator<<(QDebug d, const GitSubmitEditorPanelInfo &); - struct GitSubmitEditorPanelData { - void clear(); - // Format as "John Doe <[email protected]>" - QString authorString() const; +struct GitSubmitEditorPanelData +{ + void clear(); + // Format as "John Doe <[email protected]>" + QString authorString() const; - QString author; - QString email; - }; + QString author; + QString email; +}; - QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &); +QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &); - struct CommitData { - void clear(); - GitSubmitEditorPanelInfo panelInfo; - GitSubmitEditorPanelData panelData; - QStringList commitFiles; - QStringList notUpdatedFiles; - QStringList untrackedFiles; - }; +struct CommitData +{ + void clear(); + GitSubmitEditorPanelInfo panelInfo; + GitSubmitEditorPanelData panelData; + QStringList commitFiles; + QStringList notUpdatedFiles; + QStringList untrackedFiles; +}; - QDebug operator<<(QDebug d, const CommitData &); +QDebug operator<<(QDebug d, const CommitData &); -} -} +} // namespace Internal +} // namespace Git -#endif +#endif // COMMITDATA_H |