aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-05-28 16:21:37 +0000
committerstuconnolly <stuart02@gmail.com>2010-05-28 16:21:37 +0000
commit11c54136a6c919e933ec3c26a3eca512da9fae7b (patch)
treef3fddedab5463b4bc3a21bc6103a4f2d6aecaa7b /Source/SPAppController.m
parenta3cdae0d22d41758152fd864f49bb894c1bd464e (diff)
downloadsequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.gz
sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.bz2
sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.zip
Rename TableDocument to SPDatabaseDocument.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 5adacb8b..ce1e78c8 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -25,7 +25,7 @@
#import "SPKeychain.h"
#import "SPAppController.h"
-#import "TableDocument.h"
+#import "SPDatabaseDocument.h"
#import "SPPreferenceController.h"
#import "SPAboutController.h"
#import "TableDump.h"
@@ -275,7 +275,7 @@
}
else if([[[filename pathExtension] lowercaseString] isEqualToString:@"spf"]) {
- TableDocument *newTableDocument;
+ SPDatabaseDocument *newTableDocument;
// If the frontmost document isn't connected and hasn't been, open the connection file with it.
// Otherwise, manually open a new document, setting SPAppController as sender to trigger autoconnection
@@ -413,7 +413,7 @@
/**
* Retrieve the frontmost document; returns nil if not found.
*/
-- (TableDocument *) frontDocument
+- (SPDatabaseDocument *) frontDocument
{
for (NSWindow *aWindow in [self orderedWindows]) {
if ([[aWindow windowController] isMemberOfClass:[SPWindowController class]]) {
@@ -711,7 +711,7 @@
* Support for 'make new document'.
* TODO: following tab support this has been disabled - need to discuss reimplmenting vs syntax.
*/
-- (void)insertInOrderedDocuments:(TableDocument *)doc
+- (void)insertInOrderedDocuments:(SPDatabaseDocument *)doc
{
[self newWindow:self];
/* if ([[NSUserDefaults standardUserDefaults] boolForKey:SPAutoConnectToDefault])