mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
AbstractButtonInterface: Add call methods to ClickController
Workaround for Python bindings
This commit is contained in:
parent
190635db1b
commit
32a31142a6
@ -36,6 +36,14 @@ public:
|
||||
std::function<QPoint(QSize)> popupPosition;
|
||||
bool popupOpened = false;
|
||||
std::function<void()> popupClosed;
|
||||
|
||||
QPoint callPopupPosition(const QSize &size) const {
|
||||
return popupPosition(size);
|
||||
}
|
||||
|
||||
void callPopupClosed() const {
|
||||
popupClosed();
|
||||
}
|
||||
};
|
||||
|
||||
explicit AbstractButtonInterface(QObject *parent = nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user