parameters: (self, mname)
return_statement: return lib
docstring: Return the name of the Qt4 library corresponding to a module.
  
          mname is the name of the module.
docstring_summary: Return the name of the Qt4 library corresponding to a module.
docstring_tokens: Return the name of the Qt4 library corresponding to a module .
function: def _qt4_module_to_lib(self, mname):
          """Return the name of the Qt4 library corresponding to a module.
  
          mname is the name of the module.
          """
          if mname == "QtAssistant":
              if self.config.qt_version >= 0x040202 and sys.platform == "darwin":
                  lib = mname
              else:
                  lib = "QtAssistantClient"
          else:
              lib = mname
  
          if self._debug:
              if sys.platform == "win32":
                  lib = lib + "d"
              elif self.config.qt_version < 0x040200 or sys.platform == "darwin":
                  lib = lib + "_debug"
  
          if sys.platform == "win32" and "shared" in self.config.qt_winconfig.split():
              if (mname in ("QtCore", "QtDeclarative", "QtDesigner", "QtGui",
                            "QtHelp", "QtMultimedia", "QtNetwork", "QtOpenGL",
                            "QtScript", "QtScriptTools", "QtSql", "QtSvg",
                            "QtTest", "QtWebKit", "QtXml", "QtXmlPatterns",
                            "phonon") or
                  (self.config.qt_version >= 0x040200 and mname == "QtAssistant")):
                  lib = lib + "4"
  
          return lib
function_tokens: def _qt4_module_to_lib ( self , mname ) : if mname == "QtAssistant" : if self . config . qt_version >= 0x040202 and sys . platform == "darwin" : lib = mname else : lib = "QtAssistantClient" else : lib = mname if self . _debug : if sys . platform == "win32" : lib = lib + "d" elif self . config . qt_version < 0x040200 or sys . platform == "darwin" : lib = lib + "_debug" if sys . platform == "win32" and "shared" in self . config . qt_winconfig . split ( ) : if ( mname in ( "QtCore" , "QtDeclarative" , "QtDesigner" , "QtGui" , "QtHelp" , "QtMultimedia" , "QtNetwork" , "QtOpenGL" , "QtScript" , "QtScriptTools" , "QtSql" , "QtSvg" , "QtTest" , "QtWebKit" , "QtXml" , "QtXmlPatterns" , "phonon" ) or ( self . config . qt_version >= 0x040200 and mname == "QtAssistant" ) ) : lib = lib + "4" return lib