qml: decouple ClassicIndicator from QRubberBand
the rubber band is now returned from the factory, meaning it can be a QQuickItem when QtQuick is being used Still need to remove the QtWidget'isms from IndicatorWindow though
This commit is contained in:
@@ -14,10 +14,6 @@
|
||||
|
||||
#include "DropIndicatorOverlayInterface_p.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QRubberBand;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace KDDockWidgets {
|
||||
|
||||
class IndicatorWindow;
|
||||
@@ -45,7 +41,7 @@ private:
|
||||
QRect geometryForRubberband(QRect localRect) const;
|
||||
bool rubberBandIsTopLevel() const;
|
||||
|
||||
QRubberBand *const m_rubberBand;
|
||||
QWidgetOrQuick *const m_rubberBand;
|
||||
IndicatorWindow *const m_indicatorWindow;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user