QtCanpool 3.3.0
载入中...
搜索中...
未找到
QxApp::QxWorkspaceManagerPrivate类 参考

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 行定义.

构造及析构函数说明

◆ QxWorkspaceManagerPrivate()

QxApp::QxWorkspaceManagerPrivate::QxWorkspaceManagerPrivate ( )
default

成员函数说明

◆ current()

QString QxApp::QxWorkspaceManagerPrivate::current ( ) const

The current workspace, read back from the file.

在文件 qxworkspacemanager.cpp 第 81 行定义.

◆ names()

QStringList QxApp::QxWorkspaceManagerPrivate::names ( ) const

The stored names, in the order they were saved.

在文件 qxworkspacemanager.cpp 第 46 行定义.

◆ normalize()

QString QxApp::QxWorkspaceManagerPrivate::normalize ( const QString &  name)
static

The name as it is stored and looked up: without surrounding space.

在文件 qxworkspacemanager.cpp 第 76 行定义.

◆ setCurrent()

void QxApp::QxWorkspaceManagerPrivate::setCurrent ( const QString &  name)

Writes name as the current workspace; an empty one clears the key.

在文件 qxworkspacemanager.cpp 第 94 行定义.

◆ setNames()

void QxApp::QxWorkspaceManagerPrivate::setNames ( const QStringList &  list)

在文件 qxworkspacemanager.cpp 第 59 行定义.

◆ settings()

QxCore::QxSettings * QxApp::QxWorkspaceManagerPrivate::settings ( ) const

The settings object of the shell, null when there is no shell.

在文件 qxworkspacemanager.cpp 第 39 行定义.

类成员变量说明

◆ m_shell

QxAppShell* QxApp::QxWorkspaceManagerPrivate::m_shell = 0

在文件 qxworkspacemanager_p.h 第 41 行定义.


该类的文档由以下文件生成: