aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CMCopyTable.m8
-rw-r--r--Source/SPContentFilterManager.m2
-rw-r--r--Source/SPExportController.m2
-rw-r--r--Source/SPHistoryController.h4
-rw-r--r--Source/SPHistoryController.m2
-rw-r--r--Source/SPPrintController.m2
-rw-r--r--Source/SPTableContent.h (renamed from Source/TableContent.h)2
-rw-r--r--Source/SPTableContent.m (renamed from Source/TableContent.m)4
-rw-r--r--Source/SPTablesList.m2
-rw-r--r--Source/TableDocument.m2
-rw-r--r--Source/TableDump.m2
11 files changed, 16 insertions, 16 deletions
diff --git a/Source/CMCopyTable.m b/Source/CMCopyTable.m
index cba561aa..d449190a 100644
--- a/Source/CMCopyTable.m
+++ b/Source/CMCopyTable.m
@@ -27,7 +27,7 @@
#import "CMCopyTable.h"
#import "SPArrayAdditions.h"
#import "SPStringAdditions.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "SPTableTriggers.h"
#import "SPTableRelations.h"
#import "CustomQuery.h"
@@ -254,10 +254,10 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003;
cellData = SPDataStorageObjectAtRowAndColumn(tableStorage, rowIndex, columnMappings[c]);
// If the data is not loaded, attempt to fetch the value
- if ([cellData isSPNotLoaded] && [[self delegate] isKindOfClass:[TableContent class]]) {
+ if ([cellData isSPNotLoaded] && [[self delegate] isKindOfClass:[SPTableContent class]]) {
// Abort if no table name given, not table content, or if there are no indices on this table
- if (!selectedTable || ![[self delegate] isKindOfClass:[TableContent class]] || ![[tableInstance argumentForRow:rowIndex] length]) {
+ if (!selectedTable || ![[self delegate] isKindOfClass:[SPTableContent class]] || ![[tableInstance argumentForRow:rowIndex] length]) {
NSBeep();
free(columnMappings);
free(columnTypes);
@@ -451,7 +451,7 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003;
{
// RETURN or ENTER invoke editing mode for selected row
// by calling tableView:shouldEditTableColumn: to validate
- if([[[[self delegate] class] description] isEqualToString:@"TableContent"]) {
+ if([[[[self delegate] class] description] isEqualToString:@"SPTableContent"]) {
id tableContentView = [[self delegate] valueForKeyPath:@"tableContentView"];
if([tableContentView numberOfSelectedRows] == 1 && ([theEvent keyCode] == 36 || [theEvent keyCode] == 76)) {
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index de2564b1..1edb8416 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -27,7 +27,7 @@
#import "ImageAndTextCell.h"
#import "RegexKitLite.h"
#import "SPQueryController.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "SPConstants.h"
#import "SPConnectionController.h"
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index 0cf756ef..fc858312 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -29,7 +29,7 @@
#import "SPExportInitializer.h"
#import "SPTablesList.h"
#import "SPTableData.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "SPArrayAdditions.h"
#import "SPStringAdditions.h"
#import "SPConstants.h"
diff --git a/Source/SPHistoryController.h b/Source/SPHistoryController.h
index fc36f1bf..5dcd6962 100644
--- a/Source/SPHistoryController.h
+++ b/Source/SPHistoryController.h
@@ -24,14 +24,14 @@
#import <Cocoa/Cocoa.h>
-@class TableDocument, TableContent, SPTablesList;
+@class TableDocument, SPTableContent, SPTablesList;
@interface SPHistoryController : NSObject
{
IBOutlet TableDocument *theDocument;
IBOutlet NSSegmentedControl *historyControl;
- TableContent *tableContentInstance;
+ SPTableContent *tableContentInstance;
SPTablesList *tablesListInstance;
NSMutableArray *history;
NSMutableDictionary *tableContentStates;
diff --git a/Source/SPHistoryController.m b/Source/SPHistoryController.m
index 40f99a8a..c6ae150c 100644
--- a/Source/SPHistoryController.m
+++ b/Source/SPHistoryController.m
@@ -23,7 +23,7 @@
// More info at <http://code.google.com/p/sequel-pro/>
#import "TableDocument.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "SPTablesList.h"
#import "SPConstants.h"
#import "SPHistoryController.h"
diff --git a/Source/SPPrintController.m b/Source/SPPrintController.m
index 020e3ca0..f01d0ac6 100644
--- a/Source/SPPrintController.m
+++ b/Source/SPPrintController.m
@@ -24,7 +24,7 @@
// More info at <http://code.google.com/p/sequel-pro/>
#import "SPPrintController.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "SPTableStructure.h"
#import "CustomQuery.h"
#import "SPConstants.h"
diff --git a/Source/TableContent.h b/Source/SPTableContent.h
index 35bd6c31..27903634 100644
--- a/Source/TableContent.h
+++ b/Source/SPTableContent.h
@@ -30,7 +30,7 @@
@class CMCopyTable, SPTextAndLinkCell, SPHistoryController, SPTableInfo, SPDataStorage;
-@interface TableContent : NSObject
+@interface SPTableContent : NSObject
{
IBOutlet id tableDocumentInstance;
IBOutlet id tablesListInstance;
diff --git a/Source/TableContent.m b/Source/SPTableContent.m
index ce24134b..a040fb1c 100644
--- a/Source/TableContent.m
+++ b/Source/SPTableContent.m
@@ -25,7 +25,7 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "TableDocument.h"
#import "SPTableStructure.h"
#import "SPTableInfo.h"
@@ -52,7 +52,7 @@
#import "SPMainThreadTrampoline.h"
#import "SPHistoryController.h"
-@implementation TableContent
+@implementation SPTableContent
/**
* Standard init method. Initialize various ivars.
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index 28885938..69fda60d 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -26,7 +26,7 @@
#import "SPTablesList.h"
#import "TableDocument.h"
#import "SPTableStructure.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "SPTableData.h"
#import "SPTableInfo.h"
#import "TableDump.h"
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index b327dd7d..c418e95b 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -28,7 +28,7 @@
#import "TableDocument.h"
#import "SPTablesList.h"
#import "SPTableStructure.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "CustomQuery.h"
#import "TableDump.h"
#import "ImageAndTextCell.h"
diff --git a/Source/TableDump.m b/Source/TableDump.m
index 6f2d77bc..f5025509 100644
--- a/Source/TableDump.m
+++ b/Source/TableDump.m
@@ -27,7 +27,7 @@
#import "TableDocument.h"
#import "SPTablesList.h"
#import "SPTableStructure.h"
-#import "TableContent.h"
+#import "SPTableContent.h"
#import "CustomQuery.h"
#import "SPGrowlController.h"
#import "SPSQLParser.h"