more removal of unnecessary stuff

This commit is contained in:
Sebastian Kügler 2013-04-09 03:52:59 +02:00
parent 3bd1d939e8
commit e7887ee199

View File

@ -22,9 +22,7 @@
#ifndef TOOLTIPOBJECT_H #ifndef TOOLTIPOBJECT_H
#define TOOLTIPOBJECT_H #define TOOLTIPOBJECT_H
#include <QTimer> #include <QQuickItem>
#include <QQuickWindow>
#include <QQmlComponent>
#include <QWeakPointer> #include <QWeakPointer>
#include <QtCore/QVariant> #include <QtCore/QVariant>
@ -72,13 +70,11 @@ public:
QPoint popupPosition(QQuickItem *item = 0, Qt::AlignmentFlag alignment=Qt::AlignCenter) ; QPoint popupPosition(QQuickItem *item = 0, Qt::AlignmentFlag alignment=Qt::AlignCenter) ;
Q_SIGNALS: Q_SIGNALS:
void targetChanged();
void mainItemChanged(); void mainItemChanged();
void visualParentChanged(); void visualParentChanged();
void visibleChanged(); void visibleChanged();
private: private:
QTimer *m_syncTimer;
QWeakPointer<QQuickItem> m_mainItem; QWeakPointer<QQuickItem> m_mainItem;
QWeakPointer<QQuickItem> m_visualParent; QWeakPointer<QQuickItem> m_visualParent;
}; };