KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
LayoutSaver_c.h
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5 Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9 Contact KDAB at <info@kdab.com> for commercial licensing options.
10*/
11#include "kddockwidgets_export.h"
12#include <LayoutSaver.h>
13#include <string_p.h>
14
17{
18public:
21 bool restoreFromFile(const QString &jsonFilename);
22 static bool restoreInProgress();
23 bool saveToFile(const QString &jsonFilename);
24};
25}
26extern "C" {
27// KDDockWidgets::LayoutSaver::LayoutSaver()
29// KDDockWidgets::LayoutSaver::restoreFromFile(const QString & jsonFilename)
30DOCKS_EXPORT bool c_KDDockWidgets__LayoutSaver__restoreFromFile_QString(void *thisObj, const char *jsonFilename_);
31// KDDockWidgets::LayoutSaver::restoreInProgress()
33// KDDockWidgets::LayoutSaver::saveToFile(const QString & jsonFilename)
34DOCKS_EXPORT bool c_KDDockWidgets__LayoutSaver__saveToFile_QString(void *thisObj, const char *jsonFilename_);
35DOCKS_EXPORT void c_KDDockWidgets__LayoutSaver__destructor(void *thisObj);
36DOCKS_EXPORT void c_KDDockWidgets__LayoutSaver_Finalizer(void *cppObj);
37}
Class to save and restore dockwidget layouts.
DOCKS_EXPORT bool c_KDDockWidgets__LayoutSaver__restoreFromFile_QString(void *thisObj, const char *jsonFilename_)
DOCKS_EXPORT void c_KDDockWidgets__LayoutSaver_Finalizer(void *cppObj)
DOCKS_EXPORT void c_KDDockWidgets__LayoutSaver__destructor(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__LayoutSaver__constructor()
DOCKS_EXPORT bool c_KDDockWidgets__LayoutSaver__saveToFile_QString(void *thisObj, const char *jsonFilename_)
DOCKS_EXPORT bool c_static_KDDockWidgets__LayoutSaver__restoreInProgress()
bool restoreFromFile(const QString &jsonFilename)
LayoutSaver allows to save or restore layouts.
Definition LayoutSaver.h:56

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8