diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-08 19:19:32 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-08 19:19:32 (GMT) |
commit | c08484819f37862c753a193092326cb16e1a89fa (patch) | |
tree | 120d3069adfaa3da505045185569c8c67554d055 /src/htmlhelp.cpp | |
parent | 790edce05edc348b237258995816da1708d67a73 (diff) | |
download | Doxygen-c08484819f37862c753a193092326cb16e1a89fa.zip Doxygen-c08484819f37862c753a193092326cb16e1a89fa.tar.gz Doxygen-c08484819f37862c753a193092326cb16e1a89fa.tar.bz2 |
Doxygen-1.2.6-20010408
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r-- | src/htmlhelp.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 8b320f5..f49374f 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -255,7 +255,7 @@ HtmlHelp *HtmlHelp::getInstance() void HtmlHelp::initialize() { /* open the contents file */ - QCString fName = Config::instance()->getString("HTML_OUTPUT") + "/index.hhc"; + QCString fName = Config_getString("HTML_OUTPUT") + "/index.hhc"; cf = new QFile(fName); if (!cf->open(IO_WriteOnly)) { @@ -272,7 +272,7 @@ void HtmlHelp::initialize() "<UL>\n"; /* open the contents file */ - fName = Config::instance()->getString("HTML_OUTPUT") + "/index.hhk"; + fName = Config_getString("HTML_OUTPUT") + "/index.hhk"; kf = new QFile(fName); if (!kf->open(IO_WriteOnly)) { @@ -292,13 +292,13 @@ void HtmlHelp::initialize() void HtmlHelp::createProjectFile() { /* Write the project file */ - QCString fName = Config::instance()->getString("HTML_OUTPUT") + "/index.hhp"; + QCString fName = Config_getString("HTML_OUTPUT") + "/index.hhp"; QFile f(fName); if (f.open(IO_WriteOnly)) { QTextStream t(&f); QCString indexName="index.html"; - if (Config::instance()->getBool("GENERATE_TREEVIEW")) indexName="main.html"; + if (Config_getBool("GENERATE_TREEVIEW")) indexName="main.html"; t << "[OPTIONS]\n" "Compatibility=1.1\n" "Full-text search=Yes\n" @@ -306,12 +306,12 @@ void HtmlHelp::createProjectFile() "Default Window=main\n" "Default topic=" << indexName << "\n" "Index file=index.hhk\n"; - if (Config::instance()->getBool("BINARY_TOC")) t << "Binary TOC=YES\n"; - if (Config::instance()->getBool("GENERATE_CHI")) t << "Create CHI file=YES\n"; - t << "Title=" << Config::instance()->getString("PROJECT_NAME") << endl << endl; + if (Config_getBool("BINARY_TOC")) t << "Binary TOC=YES\n"; + if (Config_getBool("GENERATE_CHI")) t << "Create CHI file=YES\n"; + t << "Title=" << Config_getString("PROJECT_NAME") << endl << endl; t << "[WINDOWS]" << endl; - t << "main=\"" << Config::instance()->getString("PROJECT_NAME") << "\",\"index.hhc\"," + t << "main=\"" << Config_getString("PROJECT_NAME") << "\",\"index.hhc\"," "\"index.hhk\",\"" << indexName << "\",\"" << indexName << "\",,,,,0x23520,,0x3006,,,,,,,,0" << endl << endl; @@ -389,7 +389,7 @@ void HtmlHelp::addContentsItem(bool isDir, const char *anchor) { // If we're using a binary toc then folders cannot have links. - if(Config::instance()->getBool("BINARY_TOC") && isDir) + if(Config_getBool("BINARY_TOC") && isDir) { ref = 0; anchor = 0; |