tools/qdoc3/generator.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
  1066 {
  1066 {
  1067     if (!node->since().isEmpty()) {
  1067     if (!node->since().isEmpty()) {
  1068         Text text;
  1068         Text text;
  1069         text << Atom::ParaLeft
  1069         text << Atom::ParaLeft
  1070              << "This "
  1070              << "This "
  1071              << typeString(node)
  1071              << typeString(node);
  1072              << " was introduced in ";
  1072         if (node->type() == Node::Enum)
       
  1073             text << " was introduced or modified in ";
       
  1074         else
       
  1075             text << " was introduced in ";
  1073         if (project.isEmpty())
  1076         if (project.isEmpty())
  1074              text << "version";
  1077              text << "version";
  1075         else
  1078         else
  1076              text << project;
  1079              text << project;
  1077         text << " " << node->since() << "." << Atom::ParaRight;
  1080         text << " " << node->since() << "." << Atom::ParaRight;