mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-19 02:59:59 +02:00
Element editor : improve code
Better use of signal partsAdded and partsRemoved
This commit is contained in:
@@ -42,8 +42,12 @@ class QGIManager {
|
||||
public:
|
||||
void manage(QGraphicsItem *);
|
||||
void release(QGraphicsItem *);
|
||||
void manage(const QList<QGraphicsItem *> &);
|
||||
void release(const QList<QGraphicsItem *> &);
|
||||
QT_DEPRECATED_X("Use QGIManager::manage(const QVector<QGraphicsItem *> &) instead")
|
||||
void manage(const QList<QGraphicsItem *> &);
|
||||
QT_DEPRECATED_X("Use QGIManager::release(const QVector<QGraphicsItem *> &) instead")
|
||||
void release(const QList<QGraphicsItem *> &);
|
||||
void manage(const QVector<QGraphicsItem *> &items);
|
||||
void release(const QVector<QGraphicsItem *> &items);
|
||||
void setDestroyQGIOnDelete(bool);
|
||||
bool manages(QGraphicsItem *) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user