Files
KDDockWidgets/src/private/quick/MainWindowQuick_p.h
Sergio Martins f6837ee4e5 qml: Fix compile for layoutlinter
Doesn't link yet though
2020-07-26 21:33:10 +01:00

38 lines
1.0 KiB
C++

/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
#ifndef KD_MAIN_WINDOW_QUICK_P_H
#define KD_MAIN_WINDOW_QUICK_P_H
#include "MainWindowBase.h"
namespace KDDockWidgets {
class DOCKS_EXPORT MainWindowQuick : public MainWindowBase
{
Q_OBJECT
Q_PROPERTY(QString uniqueName READ uniqueName WRITE setUniqueName NOTIFY uniqueNameChanged)
Q_PROPERTY(KDDockWidgets::DropAreaWithCentralFrame* dropArea READ dropArea WRITE setDropArea NOTIFY dropAreaChanged)
public:
explicit MainWindowQuick(const QString &uniqueName = {});
protected:
DropAreaWithCentralFrame *dropArea() const override;
void setDropArea(DropAreaWithCentralFrame*);
Q_SIGNALS:
void dropAreaChanged();
private:
DropAreaWithCentralFrame *m_dropArea = nullptr;
};
}
#endif