Qt6 migration

This commit is contained in:
eelke 2021-03-06 13:13:31 +01:00
parent 87553b2554
commit 423043d431
19 changed files with 64 additions and 87 deletions

View file

@ -109,21 +109,21 @@ public Q_SLOTS:
public:
/// Reimplemented for internal reasons
virtual void hidePopup();
virtual void hidePopup() override;
protected:
virtual void leaveEvent(QEvent* event);
virtual void enterEvent(QEvent* event);
virtual bool eventFilter(QObject* obj, QEvent* event);
virtual void leaveEvent(QEvent* event) override;
virtual void enterEvent(QEnterEvent* event) override;
virtual bool eventFilter(QObject* obj, QEvent* event) override;
/// Widget the popup is attached to. It opens right under \a baseWidget
/// and if the ctkPopupWidget sizepolicy contains the growFlag/shrinkFlag,
/// it tries to resize itself to fit the same width of \a baseWidget.
virtual void setBaseWidget(QWidget* baseWidget);
virtual void setBaseWidget(QWidget* baseWidget) override;
protected Q_SLOTS:
void updatePopup();
virtual void onEffectFinished();
virtual void onEffectFinished() override;
private:
Q_DECLARE_PRIVATE(ctkPopupWidget);