4.29. umbra.managers.fileSystemEventsManager

fileSystemEventsManager.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the FileSystemEventsManager class.

Others:

4.29.1. Module Attributes

umbra.managers.fileSystemEventsManager.LOGGER

4.29.2. Classes

class umbra.managers.fileSystemEventsManager.FileSystemEventsManager(parent)[source]

Bases: PyQt4.QtCore.QThread

This class defines the file system events manager.

fileChanged

This signal is emited by the FileSystemEventsManager class when a file is changed. ( pyqtSignal )

Returns:Current changed file. ( String )
fileInvalidated

This signal is emited by the FileSystemEventsManager class when a file is invalidated. ( pyqtSignal )

Returns:Current invalidated file. ( String )
directoryChanged

This signal is emited by the FileSystemEventsManager class when a directory is changed. ( pyqtSignal )

Returns:Current changed directory. ( String )
directoryInvalidated

This signal is emited by the FileSystemEventsManager class when a directory is invalidated. ( pyqtSignal )

Returns:Current invalidated directory. ( String )
container[source]

This method is the property for self.__container attribute.

Returns:self.__container. ( QObject )
paths[source]

This method is the property for self.__paths attribute.

Returns:self.__paths. ( Dictionary )
timer[source]

This method is the property for self.__timer attribute.

Returns:self.__timer. ( QTimer )
timerCycleMultiplier[source]

This method is the property for self.__timerCycleMultiplier attribute.

Returns:self.__timerCycleMultiplier. ( Float )
run()[source]

This method reimplements the QThread.run() method.

listPaths()[source]

This method returns the registered paths.

Returns:Registered paths. ( List )
isPathRegistered(path)[source]

This method returns if the given path is registered.

Parameters:path – Path name. ( String )
Returns:Is path registered. ( Boolean )
registerPath(path, modifiedTime=None)[source]

This method registers given path.

Parameters:
  • path – Path name. ( String )
  • modifiedTime – Custom modified time. ( Integer / Float )
Returns:

Method success. ( Boolean )

unregisterPath(path)[source]

This method unregisters given path.

Parameters:path – Path name. ( String )
Returns:Method success. ( Boolean )

Table Of Contents

Previous topic

4.28. umbra.managers.actionsManager

Next topic

4.30. umbra.managers.layoutsManager

This Page