Remove unneeded private moc include
Doesn't play nice with unity builds
This commit is contained in:
@@ -20,20 +20,6 @@
|
||||
|
||||
using namespace Layouting;
|
||||
|
||||
namespace Layouting {
|
||||
class RubberBand : public QRubberBand
|
||||
, public Layouting::Widget_qwidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
RubberBand(Layouting::Widget *parent)
|
||||
: QRubberBand(QRubberBand::Line, parent ? parent->asQWidget() : nullptr)
|
||||
, Layouting::Widget_qwidget(this) {
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
SeparatorWidget::SeparatorWidget(Layouting::Widget *parent)
|
||||
: QWidget(parent->asQWidget())
|
||||
, Separator(parent)
|
||||
@@ -108,4 +94,8 @@ Widget *SeparatorWidget::asWidget()
|
||||
return this;
|
||||
}
|
||||
|
||||
#include <Separator_qwidget.moc>
|
||||
Layouting::RubberBand::RubberBand(Widget *parent)
|
||||
: QRubberBand(QRubberBand::Line, parent ? parent->asQWidget() : nullptr)
|
||||
, Layouting::Widget_qwidget(this)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "Widget_qwidget.h"
|
||||
#include "kddockwidgets/Qt5Qt6Compat_p.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QRubberBand>
|
||||
|
||||
namespace Layouting {
|
||||
|
||||
@@ -41,6 +41,14 @@ protected:
|
||||
Widget *asWidget() override;
|
||||
};
|
||||
|
||||
class RubberBand : public QRubberBand
|
||||
, public Layouting::Widget_qwidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit RubberBand(Layouting::Widget *parent);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user