177 if ( leftmost == z ) {
183 if (rightmost == z) {
192 if (x == x_parent->
left) {
204 x_parent = x_parent->
parent;
232 x_parent = x_parent->
parent;
void rotateLeft(QMapNodeBase *x, QMapNodeBase *&root)
QMapNodeBase * removeAndRebalance(QMapNodeBase *z, QMapNodeBase *&root, QMapNodeBase *&leftmost, QMapNodeBase *&rightmost)
void rotateRight(QMapNodeBase *x, QMapNodeBase *&root)
void rebalance(QMapNodeBase *x, QMapNodeBase *&root)