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)
 
static QCString getLanguageString ()
 

Variables

static QDict< QCStrings_languageDict
 

Function Documentation

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

Definition at line 132 of file htmlhelp.cpp.

133 {
135  if (!f->anchor.isEmpty() && (!checkReversed || f->reversed))
136  {
137  result+="#"+f->anchor;
138  }
139  return result;
140 }
bool reversed
Definition: htmlhelp.cpp:49
static QCString result
bool isEmpty() const
Definition: qcstring.h:189
QCString url
Definition: htmlhelp.cpp:46
static QCString htmlFileExtension
Definition: doxygen.h:130
QCString anchor
Definition: htmlhelp.cpp:47
static QCString getLanguageString ( )
static

Definition at line 449 of file htmlhelp.cpp.

450 {
451  if (!theTranslator->idLanguage().isEmpty())
452  {
454  if (s)
455  {
456  return *s;
457  }
458  }
459  // default language
460  return "0x409 English (United States)";
461 }
bool isEmpty() const
Definition: qcstring.h:189
static QDict< QCString > s_languageDict
Definition: htmlhelp.cpp:296
virtual QCString idLanguage()=0
Translator * theTranslator
Definition: language.cpp:157
static QCString * s
Definition: config.cpp:1042

Variable Documentation

QDict<QCString> s_languageDict
static

Definition at line 296 of file htmlhelp.cpp.