Lines 1-28
Link Here
|
1 |
--- src/mymodel.h.orig 2012-07-11 19:01:59.919235618 -0500 |
|
|
2 |
+++ src/mymodel.h 2012-07-11 19:03:41.246365243 -0500 |
3 |
@@ -84,10 +84,8 @@ public: |
4 |
bool realMimeTypes; |
5 |
|
6 |
public slots: |
7 |
- void notifyChange(); |
8 |
- void notifyProcess(int eventID); |
9 |
- void eventTimeout(); |
10 |
- void addWatcher(myModelItem* path); |
11 |
+ void notifyChange(QString const& path); |
12 |
+ void addToWatcher(myModelItem* path); |
13 |
|
14 |
signals: |
15 |
void dragDropPaste(const QMimeData * data, QString newPath, QStringList cutList); |
16 |
@@ -116,11 +114,7 @@ private: |
17 |
QString currentRootPath; |
18 |
QFileIconProvider* iconFactory; |
19 |
|
20 |
- int inotifyFD; |
21 |
- QSocketNotifier *notifier; |
22 |
- QHash<int, QString> watchers; |
23 |
- QTimer eventTimer; |
24 |
- int lastEventID; |
25 |
+ QFileSystemWatcher *watcher; |
26 |
}; |
27 |
|
28 |
#endif // MYMODEL_H |