4 @implementation ITHotKey
7 if ((self = [super init])) {
8 [self setKeyCombo:[ITKeyCombo clearKeyCombo]];
19 - (NSString *)description {
20 return [NSString stringWithFormat:@"<%@: %@>", NSStringFromClass([self class]), [self keyCombo]];
23 - (void)setKeyCombo:(ITKeyCombo *)combo {
24 [mKeyCombo autorelease];
25 mKeyCombo = [combo retain];
28 - (ITKeyCombo *)keyCombo {
32 - (void)setName:(NSString *)name {
34 mName = [name retain];
41 - (void)setTarget:(id)target {
49 - (void)setAction:(SEL)action {
58 [mTarget performSelector:mAction withObject:self];