|
|
|
|
29
|
|
29
|
|
30
|
c. The use of the "setter" method functions to modify the attributes of an object.
|
30
|
c. The use of the "setter" method functions to modify the attributes of an object.
|
31
|
|
31
|
|
32
|
-2. Studied the documentation for the class `Bird` available in the documentation for this project (`objects-birds/doc/en/html/class_bird.html`).
|
|
|
|
|
32
|
+2. Studied the documentation for the class `Bird` available in [this link](doc/es/html/index.html).
|
33
|
|
33
|
|
34
|
3. Studied the concepts and instructions for the laboratory session.
|
34
|
3. Studied the concepts and instructions for the laboratory session.
|
35
|
|
35
|
|
|
|
|
|
47
|
|
47
|
|
48
|
It is not necessary to know all of the details about the methods of the object to define and use an object, but you must know how to create it and how to interact with it. The necessary information is available in the class' documentation. Before creating objects of any class, we should familiarize ourselves with its documentation. The documentation indicates, among other things, what entity is trying to be represented in the class, and its interface or methods available to manipulate the objects of the class.
|
48
|
It is not necessary to know all of the details about the methods of the object to define and use an object, but you must know how to create it and how to interact with it. The necessary information is available in the class' documentation. Before creating objects of any class, we should familiarize ourselves with its documentation. The documentation indicates, among other things, what entity is trying to be represented in the class, and its interface or methods available to manipulate the objects of the class.
|
49
|
|
49
|
|
50
|
-Take a look at the documentation of the `Bird` class which can be found in [this link.](http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html).
|
|
|
|
|
50
|
+Take a look at the documentation of the `Bird` class which can be found in [this link.](doc/es/html/index.html).
|
51
|
|
51
|
|
52
|
### Classes
|
52
|
### Classes
|
53
|
|
53
|
|
|
|
|
|
164
|
|
164
|
|
165
|
`Bird (int, EyeBrowType, QString, QString, QWidget *parent=0)`
|
165
|
`Bird (int, EyeBrowType, QString, QString, QWidget *parent=0)`
|
166
|
|
166
|
|
167
|
-You can see the declarations of the method prototypes in the declaration of the `Bird` class in the project's `bird.h` file. The documentation can be found in [this link.](http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html) The first constructor, `Bird (QWidget *parent=0)`, is a method that can be invoked with one or no argument. If no argument is used, the function's parameter has a value of 0.
|
|
|
|
|
167
|
+You can see the declarations of the method prototypes in the declaration of the `Bird` class in the project's `bird.h` file. The documentation can be found in [this link](doc/es/html/index.html). The first constructor, `Bird (QWidget *parent=0)`, is a method that can be invoked with one or no argument. If no argument is used, the function's parameter has a value of 0.
|
168
|
|
168
|
|
169
|
A class' constructor that can be invoked without using an argument is the class' *default constructor*; that is, the constructor that is invoked when we create an object using an instruction like:
|
169
|
A class' constructor that can be invoked without using an argument is the class' *default constructor*; that is, the constructor that is invoked when we create an object using an instruction like:
|
170
|
|
170
|
|