Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5c3d9487

Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt

  • ID 5c3d9487a265cf2ffd2baf300f80afd76940d38a
  • Vorgänger 2ce163c3
  • Nachfolger df1e56bd

example update

Unterschiede anzeigen:

samples/example/models/contact.cpp
#include "contact.h"
Contact::Contact(QString label, Enums::ContactCategory category, QString content) {
Contact::Contact(QString label, Category category, QString content) {
this->label = label;
this->category = category;
this->content = content;
......
void Contact::setContent(const QString &value) {
content = value;
}
Enums::ContactCategory Contact::getCategory() const {
return category;
}
void Contact::setCategory(const Enums::ContactCategory &value) {
category = value;
}
QString Contact::getLabel() const {
return label;
}
......
void Contact::setLabel(const QString &value) {
label = value;
}
Contact::Category Contact::getCategory() const {
return category;
}
void Contact::setCategory(const Category &value) {
category = value;
}

Auch abrufbar als: Unified diff