aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2008-12-05 16:39:33 +0100
committerhjk <qtc-committer@nokia.com>2008-12-05 16:39:33 +0100
commit0e8d02aab400f4cec14c29026350248d346874c1 (patch)
tree936856fe0d557adc41afaa7b2342dfd03e521b01 /src/plugins/debugger/debuggerplugin.h
parent45c4d73ee587f7c08f2fd6d46bdfe4ecd1368870 (diff)
populate texteditor margin context menu
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.h')
-rw-r--r--src/plugins/debugger/debuggerplugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerplugin.h b/src/plugins/debugger/debuggerplugin.h
index 7dfcae1ffe..91ffe4dbf7 100644
--- a/src/plugins/debugger/debuggerplugin.h
+++ b/src/plugins/debugger/debuggerplugin.h
@@ -84,10 +84,14 @@ private slots:
void setSessionValue(const QString &name, const QVariant &value);
void queryConfigValue(const QString &name, QVariant *value);
void setConfigValue(const QString &name, const QVariant &value);
+ void requestContextMenu(TextEditor::ITextEditor *editor,
+ int lineNumber, QMenu *menu);
void resetLocation();
void gotoLocation(const QString &fileName, int line, bool setMarker);
+ void breakpointMarginActionTriggered();
+
private:
friend class DebuggerManager;
friend class DebugMode; // FIXME: Just a hack now so that it can access the views
@@ -104,6 +108,10 @@ private:
QString m_previousMode;
LocationMark *m_locationMark;
int m_gdbRunningContext;
+
+ QAction *m_breakpointMarginAction;
+ int m_breakpointMarginActionLineNumber;
+ QString m_breakpointMarginActionFileName;
};
} // namespace Internal