4 // Created by Quentin Carnicelli on Sat Aug 02 2003.
5 // Copyright (c) 2003 iThink Software. All rights reserved.
10 #import "ITHotKeyCenter.h"
11 #import "ITKeyCombo.h"
13 @implementation ITHotKey
17 if ( (self = [super init]) )
19 [self setKeyCombo: [ITKeyCombo clearKeyCombo]];
33 - (NSString*)description
35 return [NSString stringWithFormat: @"<%@: %@>",
36 NSStringFromClass( [self class] ),
42 - (void)setKeyCombo: (ITKeyCombo*)combo
49 - (ITKeyCombo*)keyCombo
54 - (void)setName: (NSString*)name
66 - (void)setTarget: (id)target
76 - (void)setAction: (SEL)action
88 [mTarget performSelector: mAction withObject: self];