Exemplo n.º 1
0
 void sortPointsForSafeMove(QVector<QPoint> *points, const QPoint &offset)
 {
     qSort(points->begin(), points->end(), LessOperator(offset));
 }
Exemplo n.º 2
0
 void sortPointsForSafeMove(QModelIndexList *points, const QPoint &offset)
 {
     qSort(points->begin(), points->end(), LessOperator(offset));
 }