Changeset View
Changeset View
Standalone View
Standalone View
debugjob.h
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 73 | { | |||
---|---|---|---|---|---|
74 | Q_OBJECT | 74 | Q_OBJECT | ||
75 | 75 | | |||
76 | public: | 76 | public: | ||
77 | XDebugBrowserJob(DebugSession* session, KDevelop::ILaunchConfiguration*, QObject* parent = nullptr); | 77 | XDebugBrowserJob(DebugSession* session, KDevelop::ILaunchConfiguration*, QObject* parent = nullptr); | ||
78 | void start() override; | 78 | void start() override; | ||
79 | 79 | | |||
80 | protected: | 80 | protected: | ||
81 | bool doKill() override; | 81 | bool doKill() override; | ||
82 | void launchBrowser(QUrl &url); | ||||
82 | 83 | | |||
83 | private slots: | 84 | private slots: | ||
84 | void sessionFinished(); | 85 | void sessionFinished(); | ||
85 | 86 | | |||
86 | private: | 87 | private: | ||
87 | void processFailedToStart(); | 88 | void processFailedToStart(); | ||
88 | QUrl m_url; | 89 | QUrl m_url; | ||
89 | QString m_browser; | 90 | QString m_browser; | ||
90 | DebugSession* m_session; | 91 | DebugSession* m_session; | ||
91 | }; | 92 | }; | ||
92 | } | 93 | } | ||
93 | 94 | | |||
94 | #endif | 95 | #endif |