My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
htmlhelp.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <qlist.h>
#include <qdict.h>
#include <qregexp.h>
#include <qfile.h>
#include "qtextcodec.h"
#include "sortdict.h"
#include "htmlhelp.h"
#include "config.h"
#include "message.h"
#include "doxygen.h"
#include "language.h"
#include "portable.h"
#include "groupdef.h"
#include "memberdef.h"
#include "filedef.h"
#include "util.h"

Go to the source code of this file.

Classes

struct  IndexField
 
class  IndexFieldSDict
 
class  HtmlHelpIndex
 

Functions

static QCString field2URL (const IndexField *f, bool checkReversed)
 

Variables

static QDict< QCString > s_languageDict
 

Function Documentation

static QCString field2URL ( const IndexField f,
bool  checkReversed 
)
static

Definition at line 132 of file htmlhelp.cpp.

References IndexField::anchor, Doxygen::htmlFileExtension, IndexField::reversed, substitute(), and IndexField::url.

Referenced by HtmlHelpIndex::writeFields().

{
QCString result = f->url + Doxygen::htmlFileExtension;
if (!f->anchor.isEmpty() && (!checkReversed || f->reversed))
{
// HTML Help needs colons in link anchors to be escaped in the .hhk file.
result+="#"+substitute(f->anchor,":","%3A");
}
return result;
}

Variable Documentation

QDict<QCString> s_languageDict
static

Definition at line 297 of file htmlhelp.cpp.