#include <workspacemanager.h>
Inheritance diagram for YWorkSpaceManager:
Public Slots | |
int | NewWorkSpace () |
void | OpenWorkSpace () |
void | CloseWorkSpace () |
void | SaveWorkSpace () |
void | SaveWorkSpaceAs () |
Signals | |
void | WorkSpaceDestroyed (YWorkSpace *) |
void | NewWorkSpaceCreated (YWorkSpace *) |
Workspace will be destroyed after emitting signal. | |
Public Member Functions | |
YWorkSpaceManager (YApplication &app) | |
~YWorkSpaceManager () | |
int | InitInstance (YActionHandler *ah) |
YWorkSpace * | GetWorkSpace () |
virtual int | SetConfig (YInputParser &parser) |
virtual int | GetConfig (YOutputParser &parser) |
int | ReadWorkSpace (const QString &filename) |
int | WriteWorkSpace (const QString &newfilename) |
YApplication & | GetApplication () const |
Private Member Functions | |
int | CreateNewWorkSpace () |
filedialog is used to choose work space | |
Private Attributes | |
Q_OBJECT YApplication & | application |
YWorkSpace * | workspace |
YActionHandler * | actionhandler |
YFileDialog | filedialog |
|
|
|
|
|
|
|
filedialog is used to choose work space
|
|
|
|
Reimplemented from YObject. |
|
|
|
|
|
|
|
Workspace will be destroyed after emitting signal.
|
|
Open a already saved project |
|
|
|
Save workspace under a new name |
|
|
|
Reimplemented from YObject. |
|
|
|
|
|
|
|
|
|
|
|
|