Lines Matching defs:from
142 ShortcutsSpec::ShortcutsSpec(const ShortcutsSpec& from)
149 fKey(from.fKey),
153 fMetaCellStateIndex[i] = from.fMetaCellStateIndex[i];
155 SetCommand(from.fCommand);
156 SetSelectedColumn(from.GetSelectedColumn());
158 for (int i = 0; i < from.CountFields(); i++)
160 static_cast<const BStringField*>(from.GetField(i))->String()), i);
164 ShortcutsSpec::ShortcutsSpec(BMessage* from)
174 if (from->FindString("command", &temp) != B_NO_ERROR) {
182 if (from->FindInt32("key", (int32*) &fKey) != B_NO_ERROR) {
188 if (from->FindInt32("mcidx", i, (int32*)&fMetaCellStateIndex[i])
262 ShortcutsSpec::Instantiate(BMessage* from)
265 if (validate_instantiation(from, "ShortcutsSpec"))
268 if (validate_instantiation(from, "SpicyKeysSpec"))
274 return new ShortcutsSpec(from);