コード例 #1
0
 Widget &currentChild() { return child(currentChildIndex()); }
コード例 #2
0
 const Widget &currentChild() const { return child(currentChildIndex()); }
コード例 #3
0
const Widget &WidgetContainer::current() const
{
    return (currentChildIndex() >= 0 ?
            child(currentChildIndex()).current() : *this);
}