diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-08 12:22:52 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-08 12:22:52 (GMT) |
commit | 352ac919116aa49cdae48daa5d6861089ddd6055 (patch) | |
tree | 0de8bdc99b2136babd8a69eb15a127c59ef0f792 /src/dot.cpp | |
parent | 7d4f5205482b0f0212707d573c8c668a0125cc9f (diff) | |
download | Doxygen-352ac919116aa49cdae48daa5d6861089ddd6055.zip Doxygen-352ac919116aa49cdae48daa5d6861089ddd6055.tar.gz Doxygen-352ac919116aa49cdae48daa5d6861089ddd6055.tar.bz2 |
Renamed Portables to Portable
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 124870c..4e4c4bc 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -38,12 +38,12 @@ static QCString g_dotFontPath; static void setDotFontPath(const char *path) { ASSERT(g_dotFontPath.isEmpty()); - g_dotFontPath = Portables::getenv("DOTFONTPATH"); + g_dotFontPath = Portable::getenv("DOTFONTPATH"); QCString newFontPath = Config_getString(DOT_FONTPATH); QCString spath = path; if (!newFontPath.isEmpty() && !spath.isEmpty()) { - newFontPath.prepend(spath+Portables::pathListSeparator()); + newFontPath.prepend(spath+Portable::pathListSeparator()); } else if (newFontPath.isEmpty() && !spath.isEmpty()) { @@ -51,21 +51,21 @@ static void setDotFontPath(const char *path) } else { - Portables::unsetenv("DOTFONTPATH"); + Portable::unsetenv("DOTFONTPATH"); return; } - Portables::setenv("DOTFONTPATH",newFontPath); + Portable::setenv("DOTFONTPATH",newFontPath); } static void unsetDotFontPath() { if (g_dotFontPath.isEmpty()) { - Portables::unsetenv("DOTFONTPATH"); + Portable::unsetenv("DOTFONTPATH"); } else { - Portables::setenv("DOTFONTPATH",g_dotFontPath); + Portable::setenv("DOTFONTPATH",g_dotFontPath); } g_dotFontPath=""; } @@ -183,7 +183,7 @@ bool DotManager::run() const setDotFontPath(Config_getString(DOCBOOK_OUTPUT)); setPath=TRUE; } - Portables::sysTimerStart(); + Portable::sysTimerStart(); // fill work queue with dot operations DotRunner *dr; int prev=1; @@ -211,7 +211,7 @@ bool DotManager::run() const msg("Running dot for graph %d/%d\n",prev,numDotRuns); prev++; } - Portables::sleep(100); + Portable::sleep(100); } while ((int)numDotRuns>=prev) { @@ -229,7 +229,7 @@ bool DotManager::run() const m_workers.at(i)->wait(); } } - Portables::sysTimerStop(); + Portable::sysTimerStop(); if (setPath) { unsetDotFontPath(); |