KDevelop API Documentation

IndexView Class Reference

#include <indexview.h>

Inheritance diagram for IndexView:

Inheritance graph
[legend]
Collaboration diagram for IndexView:

Collaboration graph
[legend]
List of all members.

Public Slots

void searchInIndex ()
void setSearchTerm (const QString &term)
void askSearchTerm ()

Public Member Functions

 IndexView (DocumentationWidget *parent=0, const char *name=0)
 ~IndexView ()
virtual bool eventFilter (QObject *watched, QEvent *e)
IndexBox * indexBox () const

Protected Slots

void searchInIndex (QListBoxItem *item)
void showIndex (const QString &term)
void itemMouseButtonPressed (int button, QListBoxItem *item, const QPoint &pos)

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e)

Private Attributes

DocumentationWidget * m_widget
IndexBox * m_index
KLineEdit * m_edit

Friends

class FindDocumentation

Constructor & Destructor Documentation

IndexView::IndexView (  DocumentationWidget *  parent = 0,
const char *  name = 0
) 
 

Definition at line 41 of file indexview.cpp.

References itemMouseButtonPressed(), m_edit, m_index, searchInIndex(), and showIndex().

IndexView::~IndexView (   ) 
 

Definition at line 64 of file indexview.cpp.


Member Function Documentation

void IndexView::askSearchTerm (   )  [slot]
 

Definition at line 180 of file indexview.cpp.

References m_edit.

Referenced by DocumentationWidget::lookInDocumentationIndex().

bool IndexView::eventFilter (  QObject *  watched,
QEvent *  e
)  [virtual]
 

Definition at line 121 of file indexview.cpp.

References m_edit, m_index, and KLineEdit::setText().

void IndexView::focusInEvent (  QFocusEvent *  e  )  [protected, virtual]
 

Definition at line 185 of file indexview.cpp.

References m_edit.

IndexBox* IndexView::indexBox (   )  const [inline]
 

Definition at line 39 of file indexview.h.

Referenced by DocumentationWidget::index(), FindDocumentation::searchInIndex(), and DocumentationWidget::tabChanged().

void IndexView::itemMouseButtonPressed (  int  button,
QListBoxItem *  item,
const QPoint &  pos
)  [protected, slot]
 

Definition at line 163 of file indexview.cpp.

References DocUtils::docItemPopup(), m_widget, and DocumentationWidget::part().

Referenced by IndexView().

void IndexView::searchInIndex (  QListBoxItem *  item  )  [protected, slot]
 

Definition at line 74 of file indexview.cpp.

References kdDebug(), IndexItem::List, m_widget, DocumentationWidget::part(), KDevPlugin::partController(), SelectTopic::selectedURL(), KDevPartController::showDocument(), SelectTopicBase::topicLabel, and IndexItem::urls().

void IndexView::searchInIndex (   )  [slot]
 

Definition at line 68 of file indexview.cpp.

References m_index.

Referenced by IndexView().

void IndexView::setSearchTerm (  const QString &  term  )  [slot]
 

Definition at line 174 of file indexview.cpp.

References m_edit, and KLineEdit::setText().

Referenced by DocumentationWidget::lookInDocumentationIndex(), and FindDocumentation::searchInIndex().

void IndexView::showIndex (  const QString &  term  )  [protected, slot]
 

Definition at line 95 of file indexview.cpp.

References m_index.

Referenced by IndexView(), and FindDocumentation::searchInIndex().


Friends And Related Function Documentation

friend class FindDocumentation [friend]
 

Definition at line 61 of file indexview.h.


Member Data Documentation

KLineEdit* IndexView::m_edit [private]
 

Definition at line 59 of file indexview.h.

Referenced by askSearchTerm(), eventFilter(), focusInEvent(), IndexView(), and setSearchTerm().

IndexBox* IndexView::m_index [private]
 

Definition at line 58 of file indexview.h.

Referenced by eventFilter(), IndexView(), searchInIndex(), FindDocumentation::searchInIndex(), and showIndex().

DocumentationWidget* IndexView::m_widget [private]
 

Definition at line 56 of file indexview.h.

Referenced by itemMouseButtonPressed(), and searchInIndex().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:43:37 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003