Index: debugger/QT/SkDebuggerGUI.h |
diff --git a/debugger/QT/SkDebuggerGUI.h b/debugger/QT/SkDebuggerGUI.h |
index 2ef4b0eb358a6c3c197dfa09d4d45b6abd8a41c8..823bfd674c501bf88a18e36e18bd9eb3aae4e546 100644 |
--- a/debugger/QT/SkDebuggerGUI.h |
+++ b/debugger/QT/SkDebuggerGUI.h |
@@ -19,6 +19,7 @@ |
#include "SkRasterWidget.h" |
#include "SkDrawCommandGeometryWidget.h" |
#include "SkSettingsWidget.h" |
+#include <QtCore/QFileSystemWatcher> |
#include <QtCore/QSignalMapper> |
#include <QtCore/QVariant> |
#include <QtGui/QAction> |
@@ -218,6 +219,12 @@ private slots: |
void toggleDirectory(); |
/** |
+ Populates the contents of the directory widget with the skp files in the |
+ current directory pointed to by fFile. |
+ */ |
+ void populateDirectoryWidget(); |
+ |
+ /** |
Filters the list widgets command visibility based on the currently |
active selection. |
*/ |
@@ -267,6 +274,8 @@ private: |
QListWidget fListWidget; |
QListWidget fDirectoryWidget; |
+ QFileSystemWatcher fDirectoryWatcher; |
+ |
SkDebugger fDebugger; |
SkCanvasWidget fCanvasWidget; |
@@ -285,7 +294,6 @@ private: |
QString fPath; |
SkString fFileName; |
SkTDArray<bool> fSkipCommands; // has a specific command been deleted? |
- bool fDirectoryWidgetActive; |
QMenuBar fMenuBar; |
QMenu fMenuFile; |