13 typedef QList
<DocEntry
*> List
;
17 explicit DocEntry( const QString
&name
, const QString
&url
= QString(),
18 const QString
&icon
= QString() );
20 void setName( const QString
& );
23 void setSearch( const QString
& );
24 QString
search() const;
26 void setIcon( const QString
& );
29 void setUrl( const QString
& );
32 void setInfo( const QString
& );
35 void setLang( const QString
& );
38 void setIdentifier( const QString
& );
39 QString
identifier() const;
41 void setIndexer( const QString
& );
42 QString
indexer() const;
44 void setIndexTestFile( const QString
& );
45 QString
indexTestFile() const;
47 void setWeight( int );
50 void setSearchMethod( const QString
& );
51 QString
searchMethod() const;
53 void enableSearch( bool enabled
);
54 bool searchEnabled() const;
56 void setSearchEnabledDefault( bool enabled
);
57 bool searchEnabledDefault() const;
59 void setDocumentType( const QString
& );
60 QString
documentType() const;
62 void setDirectory( bool );
63 bool isDirectory() const;
65 bool readFromFile( const QString
&fileName
);
67 bool indexExists( const QString
&indexDir
);
69 bool docExists() const;
71 void addChild( DocEntry
* );
73 DocEntry
*firstChild();
76 void setParent( DocEntry
* );
79 void setNextSibling( DocEntry
* );
80 DocEntry
*nextSibling();
82 QString
khelpcenterSpecial() const;
98 mutable QString mIdentifier
;
100 QString mIndexTestFile
;
102 QString mSearchMethod
;
104 bool mSearchEnabledDefault
;
105 QString mDocumentType
;
108 QString mKhelpcenterSpecial
;
112 DocEntry
*mNextSibling
;