mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
Final MapConnection testing fixes
This commit is contained in:
@@ -99,9 +99,8 @@ public:
|
||||
void addEvent(Event *);
|
||||
void deleteConnections();
|
||||
QList<MapConnection*> getConnections() const;
|
||||
bool takeConnection(MapConnection *);
|
||||
bool removeConnection(MapConnection *);
|
||||
bool addConnection(MapConnection *);
|
||||
void removeConnection(MapConnection *);
|
||||
void addConnection(MapConnection *);
|
||||
void loadConnection(MapConnection *);
|
||||
QRect getConnectionRect(const QString &direction, MapLayout *fromLayout = nullptr);
|
||||
QPixmap renderConnection(const QString &direction, MapLayout *fromLayout = nullptr);
|
||||
@@ -133,6 +132,7 @@ public:
|
||||
private:
|
||||
void setNewDimensionsBlockdata(int newWidth, int newHeight);
|
||||
void setNewBorderDimensionsBlockdata(int newWidth, int newHeight);
|
||||
void trackConnection(MapConnection*);
|
||||
|
||||
// MapConnections in 'ownedConnections' but not 'connections' persist in the edit history.
|
||||
QList<MapConnection*> connections;
|
||||
|
||||
@@ -55,8 +55,8 @@ private:
|
||||
|
||||
signals:
|
||||
void parentMapChanged(Map* before, Map* after);
|
||||
void targetMapNameChanged(const QString &before, const QString &after);
|
||||
void directionChanged(const QString &before, const QString &after);
|
||||
void targetMapNameChanged(QString before, QString after);
|
||||
void directionChanged(QString before, QString after);
|
||||
void offsetChanged(int before, int after);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user