| 133 | /* ============================ setter methods and undo commands ================= */ |
| 134 | STD_SETTER_CMD_IMPL_S(Note, SetText, QString, text) |
| 135 | void Note::setText(const QString& text) { |
| 136 | Q_D(Note); |
| 137 | if (text != d->text) |
| 138 | exec(new NoteSetTextCmd(d, text, ki18n("%1: set text"))); |
| 139 | } |
| 140 | |
| 141 | STD_SETTER_CMD_IMPL_S(Note, SetBackgroundColor, QColor, backgroundColor) |
| 142 | void Note::setBackgroundColor(const QColor& color) { |
no outgoing calls