Changeset 25531
- Timestamp:
- 11/05/2008 01:22:17 AM (2 months ago)
- Files:
-
- trunk/Frameworks/Adium Framework/Source/AIAccountMenu.h (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/AIContactMenu.h (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/AIListBookmark.h (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/AIListOutlineView.h (modified) (4 diffs)
- trunk/Frameworks/Adium Framework/Source/AIStatusMenu.h (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/AIStatusMenu.m (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/AIUserIcons.h (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/DCJoinChatViewController.h (modified) (2 diffs)
- trunk/Frameworks/Adium Framework/Source/DCJoinChatViewController.m (modified) (3 diffs)
- trunk/Frameworks/Adium Framework/Source/ESFileTransfer.h (modified) (1 diff)
- trunk/Frameworks/Adium Framework/Source/ESFileTransfer.m (modified) (1 diff)
- trunk/Source/AIMenuItemView.h (modified) (1 diff)
- trunk/Source/AIMenuItemView.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/Source/AIAccountMenu.h
r24705 r25531 50 50 * 51 51 * @par By default, menu items in the account menu use the menu font, but a client can request them with the system font instead. 52 *53 * @return \c NO if the menu font should be used (the default); \c YES if the system font should be used instead.54 52 */ 55 - (BOOL) useSystemFont; 56 /*! @brief Change whether to use the system font instead of the menu font. 57 * 58 * @par By default, menu items in the account menu use the menu font, but a client can request them with the system font instead. 59 * 60 * @par One situation in which it's appropriate to use the system font instead of the menu font is in the case of an NSPopUpButton, in which case the menu font is too big. 61 * 62 * @param flag \c NO if the menu font should be used (the default); \c YES if the system font should be used instead. 63 */ 64 - (void) setUseSystemFont:(BOOL)flag; 53 @property (readwrite, nonatomic) BOOL useSystemFont; 65 54 66 - (void)setDelegate:(id)inDelegate; 67 - (id)delegate; 55 @property (readwrite, nonatomic, assign) id delegate; 68 56 69 57 - (NSMenuItem *)menuItemForAccount:(AIAccount *)account; trunk/Frameworks/Adium Framework/Source/AIContactMenu.h
r24705 r25531 27 27 + (id)contactMenuWithDelegate:(id)inDelegate forContactsInObject:(AIListObject *)inContainingObject; 28 28 29 - (void)setDelegate:(id)inDelegate; 30 - (id)delegate; 29 @property (readwrite, nonatomic, assign) id delegate; 31 30 32 31 @end trunk/Frameworks/Adium Framework/Source/AIListBookmark.h
r24452 r25531 18 18 19 19 - (id)initWithChat:(AIChat *)inChat; 20 21 - (NSString*)name; 22 - (NSDictionary*)chatCreationDictionary; 20 @property (readonly, nonatomic) NSString *name; 21 @property (readonly, nonatomic) NSDictionary *chatCreationDictionary; 23 22 24 23 - (void)openChat; trunk/Frameworks/Adium Framework/Source/AIListOutlineView.h
r24119 r25531 54 54 55 55 - (void)setDelegate:(id)delegate; 56 - (int)desiredHeight;57 - (int)desiredWidth;56 @property (readonly, nonatomic) int desiredHeight; 57 @property (readonly, nonatomic) int desiredWidth; 58 58 - (void)setMinimumDesiredWidth:(int)inMinimumDesiredWidth; 59 59 - (void)setDesiredHeightPadding:(int)inPadding; … … 65 65 66 66 //Contact menu 67 - (AIListObject *)listObject;68 - (NSArray *)arrayOfListObjects;67 @property (readonly, nonatomic) AIListObject *listObject; 68 @property (readonly, nonatomic) NSArray *arrayOfListObjects; 69 69 70 70 //Contacts … … 74 74 * @result The index, or -1 if no list contact is visible 75 75 */ 76 - (int)indexOfFirstVisibleListContact;76 @property (readonly, nonatomic) int indexOfFirstVisibleListContact; 77 77 78 78 //Shadows … … 84 84 - (void)setBackgroundOpacity:(float)opacity forWindowStyle:(AIContactListWindowStyle)windowStyle; 85 85 - (void)setBackgroundFade:(float)fade; 86 - (void)setBackgroundColor:(NSColor *)inColor; 87 - (NSColor *)backgroundColor; 88 - (void)setHighlightColor:(NSColor *)inColor; 89 - (NSColor *)highlightColor; 90 - (void)setAlternatingRowColor:(NSColor *)color; 91 - (NSColor *)alternatingRowColor; 86 @property (readwrite, nonatomic, retain) NSColor *backgroundColor; 87 @property (readwrite, nonatomic, retain) NSColor *highlightColor; 88 @property (readwrite, nonatomic, retain) NSColor *alternatingRowColor; 92 89 @end trunk/Frameworks/Adium Framework/Source/AIStatusMenu.h
r24450 r25531 17 17 18 18 + (id)statusMenuWithDelegate:(id)inDelegate; 19 - (void)setDelegate:(id)inDelegate; 19 20 @property (readwrite, nonatomic, assign) id delegate; 20 21 21 22 - (void)delegateWillReplaceAllMenuItems; trunk/Frameworks/Adium Framework/Source/AIStatusMenu.m
r25443 r25531 524 524 + (void)dummyAction:(id)sender {}; 525 525 526 @synthesize delegate; 527 526 528 @end trunk/Frameworks/Adium Framework/Source/AIUserIcons.h
r24137 r25531 45 45 * @brief The priority at which this source should be used. See the \#defines in AIUserIcons.h for posible values. 46 46 */ 47 - (AIUserIconPriority)priority;47 @property (readonly, nonatomic) AIUserIconPriority priority; 48 48 @end 49 49 trunk/Frameworks/Adium Framework/Source/DCJoinChatViewController.h
r24450 r25531 30 30 31 31 - (id)init; 32 - (NSView *)view;33 - (NSString *)nibName;32 @property (readonly, nonatomic) NSView *view; 33 @property (readonly, nonatomic) NSString *nibName; 34 34 35 35 - (void)configureForAccount:(AIAccount *)inAccount; … … 48 48 - (NSArray *)contactsFromNamesSeparatedByCommas:(NSString *)namesSeparatedByCommas onAccount:(AIAccount *)inAccount; 49 49 50 - (void)setDelegate:(id)inDelegate; 51 - (id)delegate; 50 @property (readwrite, nonatomic, assign) id delegate; 52 51 53 52 //roomlistWindowController delegate 54 - (void)setSharedChatInstance:(id)newInstance;55 - (id)sharedChatInstance; 53 @property (readwrite, nonatomic, assign) id sharedChatInstance; 54 56 55 @end 57 56 trunk/Frameworks/Adium Framework/Source/DCJoinChatViewController.m
r25443 r25531 63 63 } 64 64 65 - (NSView *)view 66 { 67 return view; 68 } 65 @synthesize view; 69 66 70 67 //Stubs for subclasses … … 72 69 return nil; 73 70 }; 71 74 72 - (void)joinChatWithAccount:(AIAccount *)inAccount 75 73 { … … 329 327 } 330 328 331 #pragma mark Delegate handling 332 - (void)setDelegate:(id)inDelegate 333 { 334 delegate = inDelegate; 335 } 336 - (id)delegate; 337 { 338 return delegate; 339 } 340 341 #pragma mark Roomlist Delegate 342 - (void)setSharedChatInstance:(id)newInstance 343 { 344 NSLog(@"sharedChatInstance: %@",newInstance); 345 sharedChatInstance = newInstance; 346 } 347 348 -(id)sharedChatInstance 349 { 350 return sharedChatInstance; 351 } 352 329 @synthesize delegate; 330 331 @synthesize sharedChatInstance; 353 332 354 333 @end trunk/Frameworks/Adium Framework/Source/ESFileTransfer.h
r24450 r25531 66 66 - (unsigned long long)size; 67 67 68 - (void)setIsDirectory:(BOOL)inIsDirectory; 69 - (BOOL)isDirectory; 70 71 - (void)setFileTransferType:(AIFileTransferType)inType; 72 - (AIFileTransferType)fileTransferType; 73 74 - (void)setStatus:(AIFileTransferStatus)inStatus; 75 - (AIFileTransferStatus)status; 68 @property (readwrite, nonatomic) BOOL isDirectory; 69 @property (readwrite, nonatomic) AIFileTransferType fileTransferType; 70 @property (readwrite, nonatomic) AIFileTransferStatus status; 76 71 77 72 - (void)setPercentDone:(float)inPercent bytesSent:(unsigned long long)inBytesSent; 78 - (float)percentDone;79 - (unsigned long long)bytesSent;73 @property (readonly, nonatomic) float percentDone; 74 @property (readonly, nonatomic) unsigned long long bytesSent; 80 75 81 - (void)setAccountData:(id)inAccountData; 82 - (id)accountData; 76 @property (readwrite, nonatomic, retain) id accountData; 83 77 84 - (void)setDelegate:(id <FileTransferDelegate>)inDelegate; 85 - (id <FileTransferDelegate>)delegate; 78 @property (readwrite, nonatomic, retain) id <FileTransferDelegate> delegate; 86 79 87 80 - (BOOL)isStopped; trunk/Frameworks/Adium Framework/Source/ESFileTransfer.m
r25486 r25531 286 286 } 287 287 288 - (void)setAccountData:(id)inAccountData 289 { 290 if (accountData != inAccountData) { 291 [accountData release]; 292 accountData = [inAccountData retain]; 293 } 294 } 295 - (id)accountData 296 { 297 return accountData; 298 } 288 @synthesize accountData; 299 289 300 290 - (void)setDelegate:(id <FileTransferDelegate>)inDelegate trunk/Source/AIMenuItemView.h
r24691 r25531 18 18 } 19 19 20 - (void)setMenu:(NSMenu *)inMenu;21 - (void)setDelegate:(id)inDelegate;20 @property (readwrite, nonatomic, retain) NSMenu *menu; 21 @property (readwrite, nonatomic, assign) id delegate; 22 22 - (void)sizeToFit; 23 23 trunk/Source/AIMenuItemView.m
r24783 r25531 84 84 } 85 85 86 /*! 87 * @brief Set our delegate 88 */ 89 - (void)setDelegate:(id)inDelegate 90 { 91 delegate = inDelegate; 92 } 86 @synthesize delegate; 93 87 94 88 #pragma mark Index and Point/Rect Correlation