Für alle anderen Werte enthält eine Member-Variable namens scalar den Wert.
For any other value, a member variable named scalar will contain the value.
Der Name der Member-Variable, die als Zeiger auf private Implementationsstrukturen verwendet wird.
The name of the member variable that will be the pointer held to the private implementation
Er setzt die Member-Variable this.radius, die wiederum beim Erstellen des Kreises in getOperation verwendet wird.
It sets the member variable this.radius which is in turn used when creating the circle in getOperation.
Mit der CreateAddon() Methode der Factory-Klasse können wir ein Add-on Objekt erzeugen und erhalten als Rückgabewerte einen IAddonPtr, den wir in einer Member-Variable speichern können.
The CreateAddon() method of the factory class can be used to create an add-on object. The method returns an IAddonPtr pointer to the created object and we typically store the pointer in a member variable.
Zuerst müssen wir eine Unterklasse MyDialog von KDialog ableten und eine Member-Variable des Typs Ui::MyDialog hinzufügen.
The header file of + KDialog and add a member variable of type Ui::MyDialog.
Sie setzt die member-Variable der aktuellen Tabelle zurück.
It resets the current table member variable.
Informationen die von außen über den Konstruktur hinein gegeben werden, sollten einer Member-Variable zugewiesen werden (in der Regel sind dies Models).
Information which gets passed by the constructor should be assigned to fields (normally this must be models).
Zuerst müssen wir eine Unterklasse MyDialog von KDialog ableten und eine Member-Variable des Typs Ui::MyDialog hinzufügen.
First, we have to subclass MyDialog from KDialog and add a pointer to Ui::MyDialog.
Weiterhin sollten große Informationsblöcke - wie Binärdaten - auch nicht direkt in einer Member-Variable abgelegt werden, da dies zu Performance-Einbußen beim Serialisieren führen kann.
Additionally big data (like binary stuff) should not be stored directly in fields, because this can cause performance losses and memory leaks while serialization and deserialization.