diff --git a/limereport/lrbanddesignintf.h b/limereport/lrbanddesignintf.h index 59bec04..3ee6e42 100644 --- a/limereport/lrbanddesignintf.h +++ b/limereport/lrbanddesignintf.h @@ -274,8 +274,8 @@ public: bool isNeedUpdateSize(RenderPass) const; void copyBandAttributes(BandDesignIntf* source); signals: - void bandRendered(BandDesignIntf* band); - void bandReRendered(BandDesignIntf* oldBand, BandDesignIntf* newBand); + void bandRendered(LimeReport::BandDesignIntf* band); + void bandReRendered(LimeReport::BandDesignIntf* oldBand, LimeReport::BandDesignIntf* newBand); void preparedForRender(); void bandRegistred(); protected: diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index 1f05f32..9d25dbf 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -401,9 +401,9 @@ void BaseDesignIntf::mousePressEvent(QGraphicsSceneMouseEvent *event) m_startPos = pos(); m_oldGeometry = geometry(); QGraphicsItem::mousePressEvent(event); - emit(itemSelected(this)); + emit itemSelected(this); m_isMoveable = false; - m_timer.singleShot(200, this, SLOT(onChangeGeometryTimeOut())); + QTimer::singleShot(200, this, SLOT(onChangeGeometryTimeOut())); } else QGraphicsItem::mousePressEvent(event); } @@ -523,7 +523,7 @@ void BaseDesignIntf::hoverLeaveEvent(QGraphicsSceneHoverEvent *) update(); } -void BaseDesignIntf::hoverEnterEvent(QGraphicsSceneHoverEvent /**event*/) +void BaseDesignIntf::hoverEnterEvent(QGraphicsSceneHoverEvent * /*event*/) { m_hovered = true; update(); diff --git a/limereport/lrbasedesignintf.h b/limereport/lrbasedesignintf.h index 08ab8ed..1b419a4 100644 --- a/limereport/lrbasedesignintf.h +++ b/limereport/lrbasedesignintf.h @@ -344,7 +344,7 @@ protected: void mousePressEvent(QGraphicsSceneMouseEvent* event); void hoverMoveEvent(QGraphicsSceneHoverEvent* event); void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); - void hoverEnterEvent(QGraphicsSceneHoverEvent); + void hoverEnterEvent(QGraphicsSceneHoverEvent* ); void mouseMoveEvent(QGraphicsSceneMouseEvent* event); void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); @@ -467,22 +467,21 @@ private: bool m_itemGeometryLocked; bool m_isChangingPos; bool m_isMoveable; - QTimer m_timer; signals: void geometryChanged(QObject* object, QRectF newGeometry, QRectF oldGeometry); void posChanging(QObject* object, QPointF newPos, QPointF oldPos); void posChanged(QObject* object, QPointF newPos, QPointF oldPos); void itemSelected(LimeReport::BaseDesignIntf *item); - void itemSelectedHasBeenChanged(BaseDesignIntf *item, bool value); + void itemSelectedHasBeenChanged(LimeReport::BaseDesignIntf *item, bool value); void loadCollectionFinished(const QString& collectionName); void objectLoaded(QObject* object); void objectChanged(QObject* object); void propertyChanged(const QString& propertName, const QVariant& oldValue,const QVariant& newValue); void propertyObjectNameChanged(const QString& oldValue, const QString& newValue); void propertyesChanged(QVector propertyNames); - void itemAlignChanged(BaseDesignIntf* item, const ItemAlign& oldValue, const ItemAlign& newValue); - void itemVisibleHasChanged(BaseDesignIntf* item); + void itemAlignChanged(LimeReport::BaseDesignIntf* item, const LimeReport::BaseDesignIntf::ItemAlign& oldValue, const LimeReport::BaseDesignIntf::ItemAlign& newValue); + void itemVisibleHasChanged(LimeReport::BaseDesignIntf* item); void beforeRender(); void afterData(); void afterRender();