#include <AbstractWorkspaceManager.h>
Workspace location which consists of a workspace title, file path and location type
◆ Type
Enum determining the type of workspace location
| Enumerator |
|---|
| BuiltIn | |
| Path | Built-in workspaces (located in /workspaces in the application dir)
|
| Recent | Workspaces on the global workspaces path
|
| All | Recent workspaces
|
◆ WorkspaceLocation()
| hdps::WorkspaceLocation::WorkspaceLocation |
( |
const QString & |
title, |
|
|
const QString & |
filePath, |
|
|
const Type & |
type |
|
) |
| |
|
inlineexplicit |
Construct workspace location with filePath and type
- Parameters
-
| title | Title of the workspace |
| filePath | Location of the workspace on disk |
| type | Location type of the workspace |
◆ getFilePath()
| QString hdps::WorkspaceLocation::getFilePath |
( |
| ) |
const |
|
inline |
Get file path of the workspace
- Returns
- File path of the workspace
◆ getTitle()
| QString hdps::WorkspaceLocation::getTitle |
( |
| ) |
const |
|
inline |
Get file path of the workspace
- Returns
- File path of the workspace
◆ getType()
| Type hdps::WorkspaceLocation::getType |
( |
| ) |
const |
|
inline |
Get type of workspace location
- Returns
- Type
◆ getTypeName() [1/2]
| QString hdps::WorkspaceLocation::getTypeName |
( |
| ) |
const |
|
inline |
Get type name of workspace location
- Returns
- Type name
◆ getTypeName() [2/2]
| static QString hdps::WorkspaceLocation::getTypeName |
( |
const Type & |
type | ) |
|
|
inlinestatic |
Get name of type
- Returns
- Type name
◆ typeNames
| QMap<Type, QString> hdps::WorkspaceLocation::typeNames |
|
inlinestatic |
Initial value:{
}
@ All
Definition AbstractWorkspaceManager.h:31
@ Recent
Definition AbstractWorkspaceManager.h:29
@ Path
Definition AbstractWorkspaceManager.h:28
@ BuiltIn
Definition AbstractWorkspaceManager.h:27
Map enum type to name
The documentation for this class was generated from the following file: