tools/assistant/lib/qhelpcontentwidget.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   516 QHelpContentWidget::QHelpContentWidget()
   516 QHelpContentWidget::QHelpContentWidget()
   517     : QTreeView(0)
   517     : QTreeView(0)
   518 {
   518 {
   519     header()->hide();
   519     header()->hide();
   520     setUniformRowHeights(true);
   520     setUniformRowHeights(true);
   521     connect(this, SIGNAL(activated(const QModelIndex&)),
   521     connect(this, SIGNAL(activated(QModelIndex)),
   522         this, SLOT(showLink(const QModelIndex&)));
   522         this, SLOT(showLink(QModelIndex)));
   523 }
   523 }
   524 
   524 
   525 /*!
   525 /*!
   526     Returns the index of the content item with the \a link.
   526     Returns the index of the content item with the \a link.
   527     An invalid index is returned if no such an item exists.
   527     An invalid index is returned if no such an item exists.