transmission/macosx/TorrentTableView.h

53 lines
1.3 KiB
C
Raw Normal View History

// This file Copyright © 2005-2023 Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
2007-09-16 01:02:06 +00:00
#import <AppKit/AppKit.h>
2009-10-11 02:22:38 +00:00
@class Torrent;
extern const CGFloat kGroupSeparatorHeight;
@interface TorrentTableView : NSOutlineView<NSOutlineViewDelegate, NSAnimationDelegate, NSPopoverDelegate>
2007-09-16 01:02:06 +00:00
- (void)reloadVisibleRows;
- (BOOL)isGroupCollapsed:(NSInteger)value;
- (void)removeCollapsedGroup:(NSInteger)value;
- (void)removeAllCollapsedGroups;
- (void)saveCollapsedGroups;
- (void)restoreSelectionIndexes;
2022-04-29 22:51:40 +00:00
@property(nonatomic, readonly) NSArray<Torrent*>* selectedTorrents;
- (NSRect)iconRectForRow:(NSInteger)row;
2022-05-16 17:08:20 +00:00
- (void)copy:(id)sender;
- (void)paste:(id)sender;
- (void)hoverEventBeganForView:(id)view;
- (void)hoverEventEndedForView:(id)view;
- (void)toggleGroupRowRatio;
- (IBAction)toggleControlForTorrent:(id)sender;
- (IBAction)displayTorrentActionPopover:(id)sender;
2007-09-16 01:02:06 +00:00
2022-11-15 16:50:16 +00:00
- (IBAction)setQuickLimitMode:(id)sender;
- (void)setQuickLimit:(id)sender;
2022-11-15 16:50:16 +00:00
- (IBAction)setGlobalLimit:(id)sender;
2007-09-16 01:02:06 +00:00
2022-11-15 16:50:16 +00:00
- (IBAction)setQuickRatioMode:(id)sender;
- (void)setQuickRatio:(id)sender;
2007-09-16 01:02:06 +00:00
2022-11-15 16:50:16 +00:00
- (IBAction)setPriority:(id)sender;
- (void)togglePiecesBar;
@property(nonatomic, readonly) CGFloat piecesBarPercent;
- (void)selectAndScrollToRow:(NSInteger)row;
2007-09-16 01:02:06 +00:00
@end