Rename LastPosition to Position

so we can have a list of them, the dock widget might have been
in several main windows
This commit is contained in:
Sergio Martins
2020-05-21 14:45:07 +01:00
parent ba740a4934
commit f260a76f8b
12 changed files with 52 additions and 43 deletions

View File

@@ -49,7 +49,7 @@ namespace KDDockWidgets {
class Frame;
class FloatingWindow;
class DragController;
class LastPosition;
class Position;
class DockRegistry;
class LayoutSaver;
class TabWidget;
@@ -370,7 +370,7 @@ private:
void addPlaceholderItem(Layouting::Item*);
///@brief returns the last position, just for tests. TODO Make tests just use the d-pointer.
LastPosition *lastPosition() const;
Position *lastPosition() const;
class Private;
Private *const d;