KDevelop API Documentation

DocIndexDialog Class Reference

#include <docindexdlg.h>

Inheritance diagram for DocIndexDialog:

QDialog 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

KComboBoxterm_combo
QPtrList< QCheckBoxbooks_boxes
QCheckBoxconcept_box
QCheckBoxident_box
QCheckBoxfile_box
QPtrList< DocIndexindices
DocTreeViewPartm_part

Constructor & Destructor Documentation

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

Definition at line 44 of file docindexdlg.cpp.

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

Referenced by DocIndexDialog().

DocIndexDialog::~DocIndexDialog  ) 
 

Definition at line 125 of file docindexdlg.cpp.


Member Function Documentation

void DocIndexDialog::accept  )  [protected, virtual]
 

Definition at line 341 of file docindexdlg.cpp.

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

Referenced by DocIndexDialog().

void DocIndexDialog::choiceChanged  )  [private, slot]
 

Definition at line 388 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 136 of file docindexdlg.cpp.

References lookup(), and term_combo.

Referenced by lookup().

void DocIndexDialog::projectChanged  ) 
 

Definition at line 129 of file docindexdlg.cpp.

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

void DocIndexDialog::readConfig  )  [private]
 

Definition at line 142 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 326 of file docindexdlg.cpp.

References readEntryList().

Referenced by readEntryList(), and readIndexFromFile().

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

Definition at line 285 of file docindexdlg.cpp.

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

Referenced by DocIndexDialog(), and readIndexFromFile().

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

Definition at line 238 of file docindexdlg.cpp.

References readKDocEntryList().

Referenced by readKDocEntryList(), and readKDocIndex().

void DocIndexDialog::readKDocIndex  )  [private]
 

Definition at line 200 of file docindexdlg.cpp.

References DocIndex::identNames, DocIndex::identUrls, DocIndex::indexName, indices, readKDocEntryList(), and DocIndex::title.

Referenced by DocIndexDialog().

void DocIndexDialog::storeConfig  )  [private]
 

Definition at line 168 of file docindexdlg.cpp.

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

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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:02 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003