From cf11b696431d26920f54598c8f03f0a5cf822ffa Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 2 Dec 2008 16:19:05 +0100 Subject: more code cosmetics --- src/plugins/regexp/regexpplugin.cpp | 1 + src/plugins/regexp/regexpplugin.h | 7 ++++--- src/plugins/regexp/regexpwindow.cpp | 1 + src/plugins/regexp/regexpwindow.h | 7 ++++--- src/plugins/regexp/settings.cpp | 6 ++++-- src/plugins/regexp/settings.h | 1 + 6 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src/plugins/regexp') diff --git a/src/plugins/regexp/regexpplugin.cpp b/src/plugins/regexp/regexpplugin.cpp index 275e39b98b..42a8601821 100644 --- a/src/plugins/regexp/regexpplugin.cpp +++ b/src/plugins/regexp/regexpplugin.cpp @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #include "regexpplugin.h" #include "settings.h" #include "regexpwindow.h" diff --git a/src/plugins/regexp/regexpplugin.h b/src/plugins/regexp/regexpplugin.h index 5d1f0eaa08..4a81ce347e 100644 --- a/src/plugins/regexp/regexpplugin.h +++ b/src/plugins/regexp/regexpplugin.h @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #ifndef REGEXPPLUGIN_H #define REGEXPPLUGIN_H @@ -63,7 +64,7 @@ private: QPointer m_regexpWindow; }; -} //namespace Internal -} //namespace RegExp +} // namespace Internal +} // namespace RegExp -#endif +#endif // REGEXPPLUGIN_H diff --git a/src/plugins/regexp/regexpwindow.cpp b/src/plugins/regexp/regexpwindow.cpp index 57d4345a83..cfa245a1c4 100644 --- a/src/plugins/regexp/regexpwindow.cpp +++ b/src/plugins/regexp/regexpwindow.cpp @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #include "regexpwindow.h" #include "settings.h" diff --git a/src/plugins/regexp/regexpwindow.h b/src/plugins/regexp/regexpwindow.h index c14217c6a4..73ae07e3ab 100644 --- a/src/plugins/regexp/regexpwindow.h +++ b/src/plugins/regexp/regexpwindow.h @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #ifndef REGEXPWINDOW_H #define REGEXPWINDOW_H @@ -86,7 +87,7 @@ private: QLineEdit *captureEdits[MaxCaptures]; }; -} //namespace Internal -} //namespace RegExp +} // namespace Internal +} // namespace RegExp -#endif +#endif // REGEXPWINDOW_H diff --git a/src/plugins/regexp/settings.cpp b/src/plugins/regexp/settings.cpp index 92d9304360..d98795c375 100644 --- a/src/plugins/regexp/settings.cpp +++ b/src/plugins/regexp/settings.cpp @@ -30,7 +30,9 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #include "settings.h" + #include static const char *syntaxKey = "Syntax"; @@ -90,5 +92,5 @@ void Settings::toQSettings(QSettings *s) const s->endGroup(); } -} -} +} // namespace Internal +} // namespace Settings; diff --git a/src/plugins/regexp/settings.h b/src/plugins/regexp/settings.h index 1b6bb292a1..1c1a8a6ce7 100644 --- a/src/plugins/regexp/settings.h +++ b/src/plugins/regexp/settings.h @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #ifndef REGEXP_SETTINGS_H #define REGEXP_SETTINGS_H -- cgit v1.2.1