Added Window::property()
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <QWindow>
|
||||
#include <QScreen>
|
||||
#include <QVariant>
|
||||
|
||||
using namespace KDDockWidgets;
|
||||
|
||||
@@ -122,3 +123,8 @@ void Window_qt::destroy()
|
||||
{
|
||||
delete m_window;
|
||||
}
|
||||
|
||||
QVariant Window_qt::property(const char *name) const
|
||||
{
|
||||
return m_window->property(name);
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ public:
|
||||
|
||||
// TODOv2: Remoove
|
||||
void setProperty(const char *name, const QVariant &value) override;
|
||||
QVariant property(const char *name) const override;
|
||||
bool equals(std::shared_ptr<Window> other) const override;
|
||||
void setFramePosition(QPoint targetPos) override;
|
||||
void setPosition(QPoint targetPos) override;
|
||||
|
||||
Reference in New Issue
Block a user