CppCheck: Tr::tr and code cosmetics

Change-Id: I5e6583984f7dc94e998df3c20840f2ba2e801ab8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-01-09 18:08:30 +01:00
parent 677fd6ba9a
commit 0a0dd9ea31
29 changed files with 163 additions and 286 deletions

View File

@@ -17,8 +17,7 @@ QT_END_NAMESPACE
namespace Utils { class PathChooser; }
namespace Cppcheck {
namespace Internal {
namespace Cppcheck::Internal {
class CppcheckTool;
class CppcheckTrigger;
@@ -48,7 +47,6 @@ public:
class OptionsWidget final : public QWidget
{
Q_DECLARE_TR_FUNCTIONS(CppcheckOptionsPage)
public:
explicit OptionsWidget(QWidget *parent = nullptr);
void load(const CppcheckOptions &options);
@@ -74,7 +72,6 @@ private:
class CppcheckOptionsPage final : public Core::IOptionsPage
{
Q_OBJECT
public:
explicit CppcheckOptionsPage(CppcheckTool &tool, CppcheckTrigger &trigger);
@@ -91,5 +88,4 @@ private:
QPointer<OptionsWidget> m_widget;
};
} // namespace Internal
} // namespace Cppcheck
} // Cppcheck::Internal