MCPcopy Create free account
hub / github.com/KDE/kdevelop / moveViewPosition

Method moveViewPosition

kdevplatform/sublime/areaindex.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void AreaIndex::moveViewPosition(View* view, int newPos)
189{
190 Q_D(AreaIndex);
191
192 const auto oldPos = d->views.indexOf(view);
193
194 d->views.move(oldPos, newPos);
195}
196
197const QList<View*>& AreaIndex::views() const
198{

Callers 1

positionChangedMethod · 0.80

Calls 2

indexOfMethod · 0.45
moveMethod · 0.45

Tested by

no test coverage detected