diff --git a/sources/aboutqet.cpp b/sources/aboutqet.cpp index cf8857960..925348543 100644 --- a/sources/aboutqet.cpp +++ b/sources/aboutqet.cpp @@ -23,7 +23,7 @@ /** Constructeur - @param parent Le QWidget parent de la boite de dialogue + @param parent The parent of the dialog QWidget */ AboutQET::AboutQET(QWidget *parent) : QDialog(parent) { // Titre, taille, comportement... @@ -60,7 +60,7 @@ AboutQET::~AboutQET() { } /** - @return Le titre QElectroTech avec son icone + @return The title QElectroTech with its icon */ QWidget *AboutQET::title() const { QWidget *icon_and_title = new QWidget(); @@ -87,7 +87,7 @@ QWidget *AboutQET::title() const { } /** - @return Le widget contenu par l'onglet "A propos" + @return The widget content tab "About" */ QWidget *AboutQET::aboutTab() const { QLabel *about = new QLabel( @@ -106,7 +106,7 @@ QWidget *AboutQET::aboutTab() const { } /** - @return Le widget contenu par l'onglet "Auteurs" + @return The widget content by "Authors" tab */ QWidget *AboutQET::authorsTab() const { QLabel *authors = new QLabel(); @@ -122,7 +122,7 @@ QWidget *AboutQET::authorsTab() const { } /** - @return Le widget contenu par l'onglet "Traducteurs" + @return The widget content via the "Translators" tab */ QWidget *AboutQET::translatorsTab() const { QLabel *translators = new QLabel(); @@ -158,7 +158,7 @@ QWidget *AboutQET::translatorsTab() const { } /** - @return Le widget contenu par l'onglet "Contributeurs" + @return The widget content via the "Contributors" tab */ QWidget *AboutQET::contributorsTab() const { QLabel *contributors = new QLabel(); @@ -184,7 +184,7 @@ QWidget *AboutQET::contributorsTab() const { } /** - @return Le widget contenu par l'onglet "Accord de Licence" + @return The widget content via the "License Agreement" tab */ QWidget *AboutQET::licenseTab() const { QWidget *license = new QWidget(); @@ -205,11 +205,11 @@ QWidget *AboutQET::licenseTab() const { } /** - Ajoute une personne a la liste des auteurs - @param label QLabel auquel sera ajoute la personne - @param name Nom de la personne - @param email Adresse e-mail de la personne - @param work Fonction / travail effectue par la personne + Adds a person to the list of authors + @param label QLabel which will add the person + @param name Name of person + @param email E-mail address of the person + @param work Function / work done by the person */ void AboutQET::addAuthor(QLabel *label, const QString &name, const QString &email, const QString &work) const { QString new_text = label -> text(); diff --git a/sources/basicmoveelementshandler.cpp b/sources/basicmoveelementshandler.cpp index 73f6473e4..1c5785ff2 100644 --- a/sources/basicmoveelementshandler.cpp +++ b/sources/basicmoveelementshandler.cpp @@ -38,105 +38,105 @@ BasicMoveElementsHandler::~BasicMoveElementsHandler() { } /** - @param action Action a renvoyer si un item existe deja + @param action Action return if an item already exists */ void BasicMoveElementsHandler::setActionIfItemAlreadyExists(QET::Action action) { already_exists_ = action; } /** - @param action Action a renvoyer si un item n'est pas lisible + @param action Action return if an item is not readable */ void BasicMoveElementsHandler::setActionIfItemIsNotReadable(QET::Action action) { not_readable_ = action; } /** - @param action Action a renvoyer si un item n'est pas accessible en ecriture + @param action Action return if an item is not writable */ void BasicMoveElementsHandler::setActionIfItemIsNotWritable(QET::Action action) { not_writable_ = action; } /** - @param action Action a renvoyer si un item provoque une erreur + @param action Action if a return item causes an error */ void BasicMoveElementsHandler::setActionIfItemTriggersAnError(QET::Action action) { error_ = action; } /** - @param name Nom a renvoyer pour une eventuelle operation de renommage - Il est toutefois deconseille de proceder a un renommage systematique, vu que - cette propriete est invariable. + @param name Name refer to a possible renaming operation + However, it is not recommended to proceed to a systematic renaming, as + this property is invariable. */ void BasicMoveElementsHandler::setNameForRenamingOperation(const QString &name) { rename_ = name; } /** - @return l'action a effectuer si la categorie cible existe deja + @return the action to be performed if the target category already exists */ QET::Action BasicMoveElementsHandler::categoryAlreadyExists(ElementsCategory *, ElementsCategory *) { return(already_exists_); } /** - @return l'action a effectuer si l'element cible existe deja + @return the action performed if the target element already exists */ QET::Action BasicMoveElementsHandler::elementAlreadyExists(ElementDefinition *, ElementDefinition *) { return(already_exists_); } /** - @return l'action a effectuer si la categorie existe deja + @return the action to take if the category already exists */ QET::Action BasicMoveElementsHandler::categoryIsNotReadable(ElementsCategory *) { return(not_readable_); } /** - @return l'action a effectuer si l'element existe deja + @return the action to take if the element already exists */ QET::Action BasicMoveElementsHandler::elementIsNotReadable(ElementDefinition *) { return(not_readable_); } /** - @return l'action a effectuer si la categorie cible n'est pas accessible - en ecriture + @return the action to be performed if the target category is not accessible + in writing */ QET::Action BasicMoveElementsHandler::categoryIsNotWritable(ElementsCategory *) { return(not_writable_); } /** - @return l'action a effectuer si l'element cible n'est pas accessible - en ecriture + @return the action performed if the target element is not accessible + in writing */ QET::Action BasicMoveElementsHandler::elementIsNotWritable(ElementDefinition *) { return(not_writable_); } /** - @return l'action a effectuer lorsque l'erreur decrite dans la QString - s'est produite avec la categorie indiquee + @return the action to be performed when the error described in the QString + occurred with dieters category */ QET::Action BasicMoveElementsHandler::errorWithACategory(ElementsCategory *, const QString &) { return(error_); } /** - @return l'action a effectuer lorsque l'erreur decrite dans la QString - s'est produite avec l'element indique + @return the action to be performed when the error described in the QString + occurred with the element indicates */ QET::Action BasicMoveElementsHandler::errorWithAnElement(ElementDefinition *, const QString &) { return(error_); } /** - @return le nom a utiliser pour le renommage si une methode de cet objet - a precedemment renvoye QET::Rename. + @return the name to use for renaming if a method of this object + has previously sent back QET::Rename. */ QString BasicMoveElementsHandler::nameForRenamingOperation() { return(rename_);