aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPQueryFavoriteManager.m')
-rw-r--r--Source/SPQueryFavoriteManager.m22
1 files changed, 14 insertions, 8 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m
index 36740ca7..485aa3ff 100644
--- a/Source/SPQueryFavoriteManager.m
+++ b/Source/SPQueryFavoriteManager.m
@@ -46,7 +46,7 @@
#define SP_Int(x) [NSNumber numberWithInteger:x]
-@interface SPQueryFavoriteManager (Private)
+@interface SPQueryFavoriteManager ()
- (void)_initWithNoSelection;
@@ -55,7 +55,7 @@
@implementation SPQueryFavoriteManager
/**
- * Initialize the manager with the supplied delegate
+ * Initialize the manager with the supplied delegate.
*/
- (id)initWithDelegate:(id)managerDelegate
{
@@ -79,12 +79,6 @@
return self;
}
-- (void)dealloc
-{
- [favorites release];
- [super dealloc];
-}
-
/**
* Upon awakening bind the query text view's background colour.
*/
@@ -937,6 +931,9 @@
#endif
}
+#pragma mark -
+#pragma mark Private API
+
- (void)_initWithNoSelection
{
[favoritesTableView selectRowIndexes:[NSIndexSet indexSet] byExtendingSelection:NO];
@@ -945,4 +942,13 @@
[favoriteQueryTextView setString:@""];
}
+#pragma mark -
+
+- (void)dealloc
+{
+ [favorites release];
+
+ [super dealloc];
+}
+
@end