diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-01 22:09:14 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-08 09:01:42 +0900 |
| commit | 81ade129093a279e6537db25710583fd2bba9427 (patch) | |
| tree | a210834cbccc8aee2e9de7a8b7f41e1d31e2ced0 /qmake/meta.cpp | |
| parent | 35ced32e331ee29fda1642616c803637952f5b22 (diff) | |
| download | tqt-81ade129.tar.gz tqt-81ade129.zip | |
Replace TRUE/FALSE with boolean values true/false - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c03a4800879ab62692e017e01c825ba12a421ad0)
Diffstat (limited to 'qmake/meta.cpp')
| -rw-r--r-- | qmake/meta.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qmake/meta.cpp b/qmake/meta.cpp index 36ae25744..df584fa57 100644 --- a/qmake/meta.cpp +++ b/qmake/meta.cpp @@ -57,10 +57,10 @@ TQMakeMetaInfo::readLib(const TQString &lib) if(cache_vars.contains(meta_file)) { vars = cache_vars[meta_file]; - return TRUE; + return true; } - bool ret = FALSE; + bool ret = false; if(!meta_file.isNull()) { if(meta_file.endsWith(Option::pkgcfg_ext)) { if((ret=readPkgCfgFile(meta_file))) @@ -72,10 +72,10 @@ TQMakeMetaInfo::readLib(const TQString &lib) TQMakeProject proj; if(!proj.read(Option::fixPathToLocalOS(meta_file), TQDir::currentDirPath(), TQMakeProject::ReadProFile)) - return FALSE; + return false; meta_type = "tqmake"; vars = proj.variables(); - ret = TRUE; + ret = true; } else { warn_msg(WarnLogic, "TQMakeMetaInfo: unknown file format for %s", meta_file.latin1()); } @@ -124,7 +124,7 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f) /* I can just run the .la through the .pro parser since they are compatible.. */ TQMakeProject proj; if(!proj.read(Option::fixPathToLocalOS(f), TQDir::currentDirPath(), TQMakeProject::ReadProFile)) - return FALSE; + return false; TQString dirf = Option::fixPathToTargetOS(f).section(Option::dir_sep, 0, -2); if(dirf == f) dirf = ""; @@ -147,7 +147,7 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f) if(lst.count() == 1) lst = TQStringList::split(" ", lst.first()); for(TQStringList::Iterator lst_it = lst.begin(); lst_it != lst.end(); ++lst_it) { - bool found = FALSE; + bool found = false; TQString dirs[] = { "", dir, dirf, dirf + ".libs" + TQDir::separator(), "(term)" }; for(int i = 0; !found && dirs[i] != "(term)"; i++) { if(TQFile::exists(dirs[i] + (*lst_it))) { @@ -155,7 +155,7 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f) if(TQDir::isRelativePath(targ)) targ.prepend(TQDir::currentDirPath() + TQDir::separator()); vars["QMAKE_PRL_TARGET"] << targ; - found = TRUE; + found = true; } } if(found) @@ -184,12 +184,12 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f) vars["QMAKE_PRL_LIBS"] += lst; } } - return TRUE; + return true; } bool TQMakeMetaInfo::readPkgCfgFile(const TQString &f) { fprintf(stderr, "Must implement reading in pkg-config files (%s)!!!\n", f.latin1()); - return FALSE; + return false; } |
