KDevelop API Documentation

DocIndexDialog Class Reference

#include <docindexdlg.h>

Inheritance diagram for DocIndexDialog:

Inheritance graph
[legend]
Collaboration diagram for DocIndexDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DocIndexDialog (DocTreeViewPart *part, QWidget *parent=0, const char *name=0)
 ~DocIndexDialog ()
void lookup (const QString &str)
void projectChanged ()

Protected Member Functions

virtual void accept ()

Private Slots

void choiceChanged ()

Private Member Functions

void readConfig ()
void storeConfig ()
void readKDocIndex ()
void readKDocEntryList (FILE *f, QStringList *nameList, QStringList *urlList)
void readIndexFromFile (const QString &fileName)
void readEntryList (const QDomElement &el, QStringList *nameList, QStringList *urlList)

Private Attributes

KComboBox * term_combo
QPtrList< QCheckBox > books_boxes
QCheckBox * concept_box
QCheckBox * ident_box
QCheckBox * file_box
QPtrList< DocIndex > indices
DocTreeViewPart * m_part

Constructor & Destructor Documentation

DocIndexDialog::DocIndexDialog (  DocTreeViewPart *  part,
QWidget *  parent = 0,
const char *  name = 0
) 
 

Definition at line 45 of file docindexdlg.cpp.

References accept(), KButtonBox::addButton(), KButtonBox::addStretch(), books_boxes, choiceChanged(), concept_box, file_box, KStandardDirs::findAllResources(), ident_box, indices, KButtonBox::layout(), m_part, KDevPlugin::project(), readConfig(), readIndexFromFile(), readKDocIndex(), and term_combo.

DocIndexDialog::~DocIndexDialog (   ) 
 

Definition at line 132 of file docindexdlg.cpp.


Member Function Documentation

void DocIndexDialog::accept (   )  [protected, virtual]
 

Definition at line 348 of file docindexdlg.cpp.

References books_boxes, concept_box, file_box, ident_box, indices, kdDebug(), m_part, KDevPlugin::partController(), KDevPlugin::project(), KDevPartController::showDocument(), KMessageBox::sorry(), storeConfig(), and term_combo.

Referenced by DocIndexDialog().

void DocIndexDialog::choiceChanged (   )  [private, slot]
 

Definition at line 395 of file docindexdlg.cpp.

References books_boxes, KCompletionBase::completionObject(), concept_box, file_box, ident_box, indices, KCompletion::setItems(), and term_combo.

Referenced by DocIndexDialog().

void DocIndexDialog::lookup (  const QString &  str  ) 
 

Definition at line 143 of file docindexdlg.cpp.

References term_combo.

void DocIndexDialog::projectChanged (   ) 
 

Definition at line 136 of file docindexdlg.cpp.

References m_part, KDevPlugin::project(), and readConfig().

void DocIndexDialog::readConfig (   )  [private]
 

Definition at line 149 of file docindexdlg.cpp.

References books_boxes, concept_box, file_box, ident_box, indices, m_part, and KDevPlugin::projectDom().

Referenced by DocIndexDialog(), and projectChanged().

void DocIndexDialog::readEntryList (  const QDomElement &  el,
QStringList *  nameList,
QStringList *  urlList
)  [private]
 

Definition at line 333 of file docindexdlg.cpp.

Referenced by readIndexFromFile().

void DocIndexDialog::readIndexFromFile (  const QString &  fileName  )  [private]
 

Definition at line 292 of file docindexdlg.cpp.

References DocIndex::base, DocIndex::conceptNames, DocIndex::conceptUrls, DocIndex::fileNames, DocIndex::fileUrls, DocIndex::identNames, DocIndex::identUrls, DocIndex::indexName, indices, kdDebug(), readEntryList(), and DocIndex::title.

Referenced by DocIndexDialog().

void DocIndexDialog::readKDocEntryList (  FILE *  f,
QStringList *  nameList,
QStringList *  urlList
)  [private]
 

Definition at line 245 of file docindexdlg.cpp.

Referenced by readKDocIndex().

void DocIndexDialog::readKDocIndex (   )  [private]
 

Definition at line 207 of file docindexdlg.cpp.

References DocTreeViewTool::getAllLibraries(), DocTreeViewTool::getHiddenLibraries(), DocIndex::identNames, DocIndex::identUrls, DocIndex::indexName, indices, KShellProcess::quote(), KProcess::quote(), readKDocEntryList(), and DocIndex::title.

Referenced by DocIndexDialog().

void DocIndexDialog::storeConfig (   )  [private]
 

Definition at line 175 of file docindexdlg.cpp.

References books_boxes, concept_box, file_box, ident_box, indices, kdDebug(), m_part, KDevPlugin::projectDom(), and DomUtil::writeBoolEntry().

Referenced by accept().


Member Data Documentation

QPtrList<QCheckBox> DocIndexDialog::books_boxes [private]
 

Definition at line 67 of file docindexdlg.h.

Referenced by accept(), choiceChanged(), DocIndexDialog(), readConfig(), and storeConfig().

QCheckBox* DocIndexDialog::concept_box [private]
 

Definition at line 68 of file docindexdlg.h.

Referenced by accept(), choiceChanged(), DocIndexDialog(), readConfig(), and storeConfig().

QCheckBox* DocIndexDialog::file_box [private]
 

Definition at line 70 of file docindexdlg.h.

Referenced by accept(), choiceChanged(), DocIndexDialog(), readConfig(), and storeConfig().

QCheckBox* DocIndexDialog::ident_box [private]
 

Definition at line 69 of file docindexdlg.h.

Referenced by accept(), choiceChanged(), DocIndexDialog(), readConfig(), and storeConfig().

QPtrList<DocIndex> DocIndexDialog::indices [private]
 

Definition at line 71 of file docindexdlg.h.

Referenced by accept(), choiceChanged(), DocIndexDialog(), readConfig(), readIndexFromFile(), readKDocIndex(), and storeConfig().

DocTreeViewPart* DocIndexDialog::m_part [private]
 

Definition at line 72 of file docindexdlg.h.

Referenced by accept(), DocIndexDialog(), projectChanged(), readConfig(), and storeConfig().

KComboBox* DocIndexDialog::term_combo [private]
 

Definition at line 66 of file docindexdlg.h.

Referenced by accept(), choiceChanged(), DocIndexDialog(), and lookup().


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:41:00 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003