24 setModel( mProxyModel );
26 connect(
this, SIGNAL( activated(
int ) ),
this, SLOT(
indexChanged(
int ) ) );
39 QModelIndex proxyIdx = mProxyModel->mapFromSource( idx );
40 if ( proxyIdx.isValid() )
42 setCurrentIndex( proxyIdx.row() );
47 setCurrentIndex( -1 );
53 int i = currentIndex();
55 const QModelIndex proxyIndex = mProxyModel->index( i, 0 );
56 if ( !proxyIndex.isValid() )
61 const QModelIndex
index = mProxyModel->mapToSource( proxyIndex );
62 if ( !index.isValid() )