|
QtCanpool 3.3.0
|
The state behind QxWorkspaceManager: the shell it belongs to and the paths the workspaces are written to. 更多...
#include <qxapp/qxworkspacemanager_p.h>
Public 成员函数 | |
| QxWorkspaceManagerPrivate () | |
| QxCore::QxSettings * | settings () const |
| The settings object of the shell, null when there is no shell. | |
| QStringList | names () const |
| The stored names, in the order they were saved. | |
| void | setNames (const QStringList &list) |
| QString | current () const |
| The current workspace, read back from the file. | |
| void | setCurrent (const QString &name) |
| Writes name as the current workspace; an empty one clears the key. | |
静态 Public 成员函数 | |
| static QString | normalize (const QString &name) |
| The name as it is stored and looked up: without surrounding space. | |
Public 属性 | |
| QxAppShell * | m_shell = 0 |
The state behind QxWorkspaceManager: the shell it belongs to and the paths the workspaces are written to.
Nothing about the workspaces themselves is cached here. The names, the current one and the stored layouts are all read back from the settings object when they are asked for, which is what lets two shells pointed at the same file agree instead of each keeping its own idea of what is stored.
在文件 qxworkspacemanager_p.h 第 24 行定义.
|
default |
| QString QxApp::QxWorkspaceManagerPrivate::current | ( | ) | const |
The current workspace, read back from the file.
在文件 qxworkspacemanager.cpp 第 81 行定义.
| QStringList QxApp::QxWorkspaceManagerPrivate::names | ( | ) | const |
The stored names, in the order they were saved.
在文件 qxworkspacemanager.cpp 第 46 行定义.
|
static |
The name as it is stored and looked up: without surrounding space.
在文件 qxworkspacemanager.cpp 第 76 行定义.
| void QxApp::QxWorkspaceManagerPrivate::setCurrent | ( | const QString & | name | ) |
Writes name as the current workspace; an empty one clears the key.
在文件 qxworkspacemanager.cpp 第 94 行定义.
| void QxApp::QxWorkspaceManagerPrivate::setNames | ( | const QStringList & | list | ) |
在文件 qxworkspacemanager.cpp 第 59 行定义.
| QxCore::QxSettings * QxApp::QxWorkspaceManagerPrivate::settings | ( | ) | const |
The settings object of the shell, null when there is no shell.
在文件 qxworkspacemanager.cpp 第 39 行定义.
| QxAppShell* QxApp::QxWorkspaceManagerPrivate::m_shell = 0 |
在文件 qxworkspacemanager_p.h 第 41 行定义.