#include <ftvhelp.h>
Public Member Functions | |
FTVHelp (bool LTI) | |
~FTVHelp () | |
void | initialize () |
void | finalize () |
void | incContentsDepth () |
void | decContentsDepth () |
void | addContentsItem (bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def) |
void | addIndexItem (Definition *, MemberDef *, const char *, const char *) |
void | addIndexFile (const char *) |
void | addImageFile (const char *) |
void | addStyleSheetFile (const char *) |
void | generateTreeView () |
void | generateTreeViewInline (FTextStream &t) |
void | generateTreeViewScripts () |
Public Member Functions inherited from IndexIntf | |
virtual | ~IndexIntf () |
Static Public Member Functions | |
static void | generateTreeViewImages () |
Private Member Functions | |
void | generateTree (FTextStream &t, const QList< FTVNode > &nl, int level, int maxLevel, int &index) |
QCString | generateIndentLabel (FTVNode *n, int level) |
void | generateIndent (FTextStream &t, FTVNode *n, bool opened) |
void | generateLink (FTextStream &t, FTVNode *n) |
Private Attributes | |
QList< FTVNode > * | m_indentNodes |
int | m_indent |
bool | m_topLevelIndex |
FTVHelp::FTVHelp | ( | bool | TLI | ) |
Constructs an ftv help object. The object has to be initialized before it can be used.
Definition at line 106 of file ftvhelp.cpp.
FTVHelp::~FTVHelp | ( | ) |
|
virtual |
Add a list item to the contents file.
isDir | TRUE if the item is a directory, FALSE if it is a text |
name | The name of the item. |
ref | the URL of to the item. |
file | the file containing the definition of the item |
anchor | the anchor within the file. |
name | the name of the item. |
separateIndex | put the entries in a separate index file |
addToNavIndex | add this entry to the quick navigation index |
def | Definition corresponding to this entry |
Implements IndexIntf.
Definition at line 183 of file ftvhelp.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Decrease the level of the contents hierarchy. This will end the current sublist.
Implements IndexIntf.
Definition at line 152 of file ftvhelp.cpp.
|
virtual |
Finalizes the FTV help. This will finish and close the contents file (index.js).
Implements IndexIntf.
Definition at line 132 of file ftvhelp.cpp.
|
private |
Definition at line 253 of file ftvhelp.cpp.
Definition at line 242 of file ftvhelp.cpp.
|
private |
Definition at line 273 of file ftvhelp.cpp.
|
private |
Definition at line 325 of file ftvhelp.cpp.
void FTVHelp::generateTreeView | ( | ) |
Definition at line 779 of file ftvhelp.cpp.
|
static |
Definition at line 690 of file ftvhelp.cpp.
void FTVHelp::generateTreeViewInline | ( | FTextStream & | t | ) |
Definition at line 716 of file ftvhelp.cpp.
void FTVHelp::generateTreeViewScripts | ( | ) |
Definition at line 703 of file ftvhelp.cpp.
|
virtual |
Increase the level of the contents hierarchy. This will start a new sublist in contents file.
Implements IndexIntf.
Definition at line 141 of file ftvhelp.cpp.
|
virtual |
This will create a folder tree view table of contents file (tree.js).
Implements IndexIntf.
Definition at line 124 of file ftvhelp.cpp.