aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/advanceddockingsystem/dockmanager.h
diff options
context:
space:
mode:
authorThe Qt Project <[email protected]>2024-07-10 16:13:44 +0000
committerThe Qt Project <[email protected]>2024-07-10 16:13:44 +0000
commitdd44168ad59b141912d18d49659921388db607a1 (patch)
tree768e1e5386e9e695a3fb2f3a9d91c683436ca470 /src/libs/advanceddockingsystem/dockmanager.h
parent4046f4717477ba6429bc39d21b59ca5b20833c11 (diff)
parent93588dbee2b949ec075b47190e73d740b5ceefbc (diff)
Merge "Merge remote-tracking branch 'origin/14.0' into qds/dev" into qds/dev
Diffstat (limited to 'src/libs/advanceddockingsystem/dockmanager.h')
-rw-r--r--src/libs/advanceddockingsystem/dockmanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/advanceddockingsystem/dockmanager.h b/src/libs/advanceddockingsystem/dockmanager.h
index 7cff32085a4..1dcad1d4511 100644
--- a/src/libs/advanceddockingsystem/dockmanager.h
+++ b/src/libs/advanceddockingsystem/dockmanager.h
@@ -460,7 +460,7 @@ public:
/**
* This function sets the tool button style for the given dock widget state. It is possible to
- * switch the tool button style depending on the state. If a dock widget is floating, then here
+ * switch the tool button style depending on the state. If a dock widget is floating, then here
* are more space and it is possible to select a style that requires more space like
* Qt::ToolButtonTextUnderIcon. For the docked state Qt::ToolButtonIconOnly might be better.
*/
@@ -788,6 +788,9 @@ signals:
void lockWorkspaceChanged();
private:
+ static QString readAttribute(const Utils::FilePath &filePath, QStringView key);
+ static bool writeAttribute(const Utils::FilePath &filePath, QStringView key,
+ const QString &value);
static Utils::expected_str<void> write(const Utils::FilePath &filePath, const QByteArray &data);
Utils::expected_str<QByteArray> loadWorkspace(const Workspace &workspace) const;