|
virtual void | reloadSettings () |
| Used to reload the settings. More...
|
|
void | error (const QString &message) |
|
void | warning (const QString &message) |
|
void | information (const QString &message) |
|
void | reloadEnableActions () |
| Request reloading of enabled actions in EMainWindow. More...
|
|
void | addMenu (QMenu *newMenu, const QString &parent, QString before=QString()) |
|
void | addAction (QAction *newAction, const QString &parent, QString before=QString()) |
|
void | addToolBar (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
|
void | addNewDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area) |
|
void | setCentralWidget (QWidget *centralWidget) |
|
void | showSettings () |
|
void | showHelp (const QString &page) |
|
void | showStatusWidget (QWidget *widget) |
|
void | reloadSettingsRequest () |
| Indicates, that a reload of the settings is needed. More...
|
|
void | doReloadSettings () |
| Emitted to bring the reload request back to the farest child. More...
|
|
virtual void | errorByPass (const QString &message) |
|
virtual void | warningByPass (const QString &message) |
|
virtual void | informationByPass (const QString &message) |
|
virtual void | reloadEnableActionsByPass () |
|
virtual void | addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString()) |
|
virtual void | addActionByPass (QAction *newAction, const QString &parent, QString before=QString()) |
|
virtual void | addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
|
virtual void | addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area) |
|
virtual void | setCentralWidgetByPass (QWidget *centralWidget) |
|
virtual void | showSettingsByPass () |
|
virtual void | showHelpByPass (const QString &page) |
|
virtual void | showStatusWidgetByPass (QWidget *widget) |
|
virtual void | reloadSettingsRequestByPass () |
|
void | addManagedDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area, QString actionLabel=QString(), QString actionParent=QString()) |
| Adds an dock widget via addNewDockWidget() and adds widget to the list of managed dock widgets. More...
|
|
Service which uses EFileServicePlugin's to handle files.
If you want to provide file handling in your application, use this class. To let the user choose, which file service plugin he wants to use, append the ESettingsModelItem from settings() to your list of settings. After the user has chosen a service, just use this class to act on a file. Normally you walk through these steps:
- Get an EFileInfo of a file with add(). Further on, everything you want to do with that file, use the returned EFileInfo.
- To remember the added file, just store the unique identifier of the file, which can be accessed with EFileInfo::id(). To get a new EFileInfo object for that file, call info() with that unique id.
EFileInfo EFileService::add |
( |
QFileInfo |
info, |
|
|
bool |
create = false |
|
) |
| const |
Adds file described by info
to the handled files.
If create
is set to true, the file should be created, if it does not exists already.
Adding as is can mean, add a local file to an repository or to a remote file system or something else. In the case of the EFileSystemPlugin, this functions only converts the QFileInfo into an EFileInfo, because the files are the physically the same.