All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <DirectoryMonitor.h>
Public Member Functions | |
DirectoryMonitor (QWidget *parent=0) | |
void | removeAllFiles () |
void | removeFile (QString path) |
~DirectoryMonitor () |
Brief description of class still missing.
Full description of class still missing
GeopsyGui::DirectoryMonitor::DirectoryMonitor | ( | QWidget * | parent = 0 | ) |
Description of constructor still missing
References QGpCoreTools::tr(), and TRACE.
Called when the user closes the current database
Referenced by GeopsyMainWindow::clearAll().
{ _fileMap.clear(); _loadedCount=0; showStatus(); }
void GeopsyGui::DirectoryMonitor::removeFile | ( | QString | path | ) |
Called when the user remove a file from database
Referenced by GeopsyMainWindow::filesRemoved().
{
if(_fileMap.contains(path)) {
_fileMap.remove(path);
_loadedCount--;
showStatus();
}
}