aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-06-27 09:42:27 +0000
committerstuconnolly <stuart02@gmail.com>2012-06-27 09:42:27 +0000
commit018271d3804ead3488e089898695f7f1d2cda812 (patch)
treefff8d7e86a5d5c7fab66ed15b4183adffbad2eee /Source/SPPreferenceController.h
parente0be0f0668619e4fb70e23d8e25b2680f12b6a12 (diff)
downloadsequelpro-018271d3804ead3488e089898695f7f1d2cda812.tar.gz
sequelpro-018271d3804ead3488e089898695f7f1d2cda812.tar.bz2
sequelpro-018271d3804ead3488e089898695f7f1d2cda812.zip
Tidy up an use enums.
Diffstat (limited to 'Source/SPPreferenceController.h')
-rw-r--r--Source/SPPreferenceController.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPPreferenceController.h b/Source/SPPreferenceController.h
index f05b63e3..1e306fa1 100644
--- a/Source/SPPreferenceController.h
+++ b/Source/SPPreferenceController.h
@@ -62,7 +62,7 @@
NSToolbarItem *editorItem;
NSToolbarItem *shortcutItem;
- NSUInteger fontChangeTarget;
+ SPPreferenceFontChangeTarget fontChangeTarget;
}
@property (readonly) SPGeneralPreferencePane *generalPreferencePane;
@@ -73,10 +73,9 @@
@property (readonly) SPNetworkPreferencePane *networkPreferencePane;
/**
- * @property fontChangeTarget Indicates which font was changed (1 for global table font, 2 for custom
- * query font).
+ * @property fontChangeTarget Indicates which font was changed. See SPPreferenceFontChangeTarget for values.
*/
-@property (readwrite, assign) NSUInteger fontChangeTarget;
+@property (readwrite, assign) SPPreferenceFontChangeTarget fontChangeTarget;
// Toolbar item IBAction methods
- (IBAction)displayPreferencePane:(id)sender;