make private what should be private
This commit is contained in:
parent
2be97bdcdc
commit
c9ac5ebefb
@ -514,6 +514,11 @@ DialogProxy::WindowType DialogProxy::type() const
|
|||||||
return m_type;
|
return m_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Plasma::FrameSvgItem *DialogProxy::frameSvgItem()
|
||||||
|
{
|
||||||
|
return m_frameSvgItem;
|
||||||
|
}
|
||||||
|
|
||||||
void DialogProxy::focusInEvent(QFocusEvent *ev)
|
void DialogProxy::focusInEvent(QFocusEvent *ev)
|
||||||
{
|
{
|
||||||
QQuickWindow::focusInEvent(ev);
|
QQuickWindow::focusInEvent(ev);
|
||||||
|
@ -163,15 +163,11 @@ protected:
|
|||||||
void hideEvent(QHideEvent *event);
|
void hideEvent(QHideEvent *event);
|
||||||
bool event(QEvent *event);
|
bool event(QEvent *event);
|
||||||
|
|
||||||
|
Plasma::FrameSvgItem *frameSvgItem();
|
||||||
|
|
||||||
virtual void classBegin();
|
virtual void classBegin();
|
||||||
virtual void componentComplete();
|
virtual void componentComplete();
|
||||||
|
|
||||||
QTimer *m_syncTimer;
|
|
||||||
Plasma::Types::Location m_location;
|
|
||||||
Plasma::FrameSvgItem *m_frameSvgItem;
|
|
||||||
QWeakPointer<QQuickItem> m_mainItem;
|
|
||||||
QWeakPointer<QQuickItem> m_visualParent;
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void syncBorders();
|
void syncBorders();
|
||||||
void updateContrast();
|
void updateContrast();
|
||||||
@ -183,6 +179,11 @@ private Q_SLOTS:
|
|||||||
void updateMaximumHeight();
|
void updateMaximumHeight();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
QTimer *m_syncTimer;
|
||||||
|
Plasma::Types::Location m_location;
|
||||||
|
Plasma::FrameSvgItem *m_frameSvgItem;
|
||||||
|
QWeakPointer<QQuickItem> m_mainItem;
|
||||||
|
QWeakPointer<QQuickItem> m_visualParent;
|
||||||
QScreen* screenForItem(QQuickItem *item) const;
|
QScreen* screenForItem(QQuickItem *item) const;
|
||||||
|
|
||||||
QRect m_cachedGeometry;
|
QRect m_cachedGeometry;
|
||||||
|
@ -41,7 +41,7 @@ ToolTipDialog::ToolTipDialog(QQuickItem *parent)
|
|||||||
setFlags(Qt::ToolTip);
|
setFlags(Qt::ToolTip);
|
||||||
setLocation(Plasma::Types::Floating);
|
setLocation(Plasma::Types::Floating);
|
||||||
setDirection(Plasma::Types::Up);
|
setDirection(Plasma::Types::Up);
|
||||||
m_frameSvgItem->setImagePath("widgets/tooltip");
|
frameSvgItem()->setImagePath("widgets/tooltip");
|
||||||
|
|
||||||
m_animation = new QPropertyAnimation(this);
|
m_animation = new QPropertyAnimation(this);
|
||||||
connect(m_animation, SIGNAL(valueChanged(QVariant)),
|
connect(m_animation, SIGNAL(valueChanged(QVariant)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user