first primitive file watcher implemented

This commit is contained in:
nemu
2009-05-22 11:38:21 +00:00
parent c31c4c6c87
commit c89026c018
7 changed files with 252 additions and 3 deletions

View File

@@ -36,6 +36,7 @@
#include <qmap.h>
#include "musrgui.h"
#include "PFileWatcher.h"
class PSubTextEdit;
class PAdmin;
@@ -109,12 +110,14 @@ private slots:
void helpAbout();
void fontChanged( const QFont &f );
void textChanged();
void textChanged(const bool forced = false);
void replace();
void replaceAndClose();
void replaceAll();
void checkIfModified(QWidget*);
private:
PAdmin *fAdmin;
@@ -129,6 +132,8 @@ private:
QTabWidget *fTabWidget;
QMap<PSubTextEdit*, QString> fFilenames;
PFileWatcher *fFileWatcher;
};