Esempio n. 1
0
 Widget &currentChild() { return child(currentChildIndex()); }
Esempio n. 2
0
 const Widget &currentChild() const { return child(currentChildIndex()); }
Esempio n. 3
0
const Widget &WidgetContainer::current() const
{
    return (currentChildIndex() >= 0 ?
            child(currentChildIndex()).current() : *this);
}