diff options
author | hjk <hjk@qt.io> | 2022-07-05 15:37:08 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-07-08 12:32:38 +0000 |
commit | 9894c6eaf079fd1e768271c3b6a0af8cc11de735 (patch) | |
tree | a9c7404ffaabad97cf303a54ff0ca5d256f9fe18 /src/plugins/debugger/breakhandler.h | |
parent | bb3549a7210ce599ea353af52807144e455dc206 (diff) |
Debugger: Convert to Tr::tr
Change-Id: I5d2475c790851c68f9997ac6af72b5eaca58482d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r-- | src/plugins/debugger/breakhandler.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index 3354b382dd..e3949264b5 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -28,16 +28,14 @@ #include "breakpoint.h" #include "debuggerprotocol.h" -#include <utils/fileutils.h> +#include <utils/filepath.h> #include <utils/treemodel.h> -#include <QCoreApplication> #include <QPointer> namespace Utils { class ItemViewEvent; } -namespace Debugger { -namespace Internal { +namespace Debugger::Internal { class BreakHandler; class BreakpointItem; @@ -64,8 +62,6 @@ using SubBreakpoint = QPointer<SubBreakpointItem>; class GlobalBreakpointItem : public QObject, public Utils::TreeItem { - Q_DECLARE_TR_FUNCTIONS(Debugger::Internal::BreakHandler) - public: explicit GlobalBreakpointItem(); ~GlobalBreakpointItem() override; @@ -115,8 +111,6 @@ using GlobalBreakpoints = QList<GlobalBreakpoint>; class BreakpointItem final : public QObject, public Utils::TypedTreeItem<SubBreakpointItem> { - Q_DECLARE_TR_FUNCTIONS(Debugger::Internal::BreakHandler) - public: explicit BreakpointItem(const GlobalBreakpoint &gbp); ~BreakpointItem() final; @@ -229,8 +223,6 @@ inline auto qHash(const Debugger::Internal::GlobalBreakpoint &b) { return qHash( class BreakHandler : public BreakHandlerModel { - Q_OBJECT - public: explicit BreakHandler(DebuggerEngine *engine); @@ -291,8 +283,6 @@ private: class BreakpointManager : public BreakpointManagerModel { - Q_OBJECT - public: BreakpointManager(); @@ -328,6 +318,4 @@ private: void editBreakpoints(const GlobalBreakpoints &gbps, QWidget *parent); }; -} // namespace Internal -} // namespace Debugger - +} // Debugger::Internal |