#include <HelpBrowser_Application.h>
|
| HelpBrowser_Application (const QString &id, int &argc, char **argv) |
| Constructor. More...
|
|
QFileSystemWatcher * | fileSysWatcher () const |
| Returns the file system watcher for monitoring files for modifications. More...
|
|
void | addWatchPath (const QString &thePath) |
|
void | removeWatchPath (const QString &thePath) |
|
void | clearWatcher (bool isDeleteFile=true) |
| Removes the specified paths from the file system watcher and corresponding files if isDeleteFile flag is set. By default, this flag is true . More...
|
|
| QtSingleApplication (int &argc, char **argv, bool GUIenabled=true) |
|
| QtSingleApplication (const QString &id, int &argc, char **argv) |
|
| QtSingleApplication (int &argc, char **argv, Type type) |
|
bool | isRunning () |
|
QString | id () const |
|
void | setActivationWindow (QWidget *aw, bool activateOnMessage=true) |
|
QWidget * | activationWindow () const |
|
void | initialize (bool dummy=true) |
|
HelpBrowser_Application::HelpBrowser_Application |
( |
const QString & |
id, |
|
|
int & |
argc, |
|
|
char ** |
argv |
|
) |
| |
void HelpBrowser_Application::addWatchPath |
( |
const QString & |
thePath | ) |
|
Adds the path to the file system watcher if the file exists.
References watcher.
void HelpBrowser_Application::clearWatcher |
( |
bool |
isDeleteFile = true | ) |
|
QFileSystemWatcher * HelpBrowser_Application::fileSysWatcher |
( |
| ) |
const |
void HelpBrowser_Application::removeWatchPath |
( |
const QString & |
thePath | ) |
|
Removes the path to the file system watcher.
References watcher.
void HelpBrowser_Application::updateWatchStatement |
( |
const QString & |
thePath | ) |
|
|
slot |
Updates the statement of watcher. If file becomes empty it is removed and calls quit() function for application.
References removeWatchPath(), and watcher.
QFileSystemWatcher* HelpBrowser_Application::watcher |
|
private |
The documentation for this class was generated from the following files: