Browse Source

AUTOGEN: Generators: Rename ParseForUic method

Sebastian Holtermann 8 years ago
parent
commit
cf1d5a9cdb
2 changed files with 5 additions and 5 deletions
  1. 4 4
      Source/cmQtAutoGenerators.cxx
  2. 1 1
      Source/cmQtAutoGenerators.h

+ 4 - 4
Source/cmQtAutoGenerators.cxx

@@ -597,7 +597,7 @@ bool cmQtAutoGenerators::ParseSourceFile(
   }
 
   // Parse source contents for UIC
-  this->ParseForUic(absFilename, contentsString, includedUis);
+  this->ParseContentForUic(absFilename, contentsString, includedUis);
 
   // Continue with moc parsing on demand
   if (this->MocExecutable.empty()) {
@@ -816,10 +816,10 @@ void cmQtAutoGenerators::ParseForUic(
     this->LogWarning(err.str());
     return;
   }
-  this->ParseForUic(absFilename, contentsString, includedUis);
+  this->ParseContentForUic(absFilename, contentsString, includedUis);
 }
 
-void cmQtAutoGenerators::ParseForUic(
+void cmQtAutoGenerators::ParseContentForUic(
   const std::string& absFilename, const std::string& contentsString,
   std::map<std::string, std::vector<std::string> >& includedUis)
 {
@@ -898,7 +898,7 @@ void cmQtAutoGenerators::ParseHeaders(
           ".cpp";
       }
     }
-    this->ParseForUic(headerName, contents, includedUis);
+    this->ParseContentForUic(headerName, contents, includedUis);
   }
 }
 

+ 1 - 1
Source/cmQtAutoGenerators.h

@@ -68,7 +68,7 @@ private:
 
   bool requiresMocing(const std::string& text, std::string& macroName);
 
-  void ParseForUic(
+  void ParseContentForUic(
     const std::string& fileName, const std::string& contentsString,
     std::map<std::string, std::vector<std::string> >& includedUis);