| 105 | } |
| 106 | |
| 107 | void AreaIndex::remove(View *view) |
| 108 | { |
| 109 | Q_D(AreaIndex); |
| 110 | |
| 111 | if (d->isSplit()) |
| 112 | return; |
| 113 | |
| 114 | d->views.removeAll(view); |
| 115 | if (d->parent && (d->views.count() == 0)) |
| 116 | d->parent->unsplit(this); |
| 117 | } |
| 118 | |
| 119 | void AreaIndex::split(Qt::Orientation orientation, bool moveViewsToSecond) |
| 120 | { |