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

Method moveRowsUp

kdevplatform/project/projectbuildsetmodel.cpp:402–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void ProjectBuildSetModel::moveRowsUp(int row, int count)
403{
404 Q_D(ProjectBuildSetModel);
405
406 QList<BuildItem> items = d->items.mid(row, count);
407 removeRows( row, count );
408 insertItemsOverrideCache( row - 1, items );
409}
410
411void ProjectBuildSetModel::moveRowsToTop(int row, int count)
412{

Callers 1

moveUpMethod · 0.80

Calls 1

midMethod · 0.80

Tested by

no test coverage detected