diff options
author | hjk <[email protected]> | 2009-03-19 09:32:09 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2009-03-19 09:32:47 +0100 |
commit | 0b58f1f5279e0d8f973f705bf1481a752e641e15 (patch) | |
tree | e2ca0749962ec13de9111dd103df187f36a89297 /src/plugins/debugger/watchhandler.cpp | |
parent | 5f139b490adc84789bdf7511b4913a43f09e3aac (diff) |
debugger: reorganizing settings and actions in progress
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index b369bb63aa4..053ae00e5f2 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -28,6 +28,7 @@ **************************************************************************/ #include "watchhandler.h" +#include "debuggeractions.h" #if USE_MODEL_TEST #include "modeltest.h" @@ -38,6 +39,7 @@ #include <QtCore/QDebug> #include <QtCore/QEvent> +#include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QLabel> #include <QtGui/QToolTip> @@ -365,6 +367,14 @@ WatchHandler::WatchHandler() m_completeSet = initialSet(); m_incompleteSet.clear(); m_displaySet = m_completeSet; + + QtcSettings *s = theDebuggerSettings(); + + connect(s->item(WatchExpression), SIGNAL(stringValueChanged(QString)), + this, SLOT(watchExpression(QString))); + + connect(s->item(RemoveWatchExpression), SIGNAL(stringValueChanged(QString)), + this, SLOT(removeWatchExpression(QString))); } bool WatchHandler::setData(const QModelIndex &idx, |