aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMCopyTable.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-05-28 16:07:13 +0000
committerstuconnolly <stuart02@gmail.com>2010-05-28 16:07:13 +0000
commita3cdae0d22d41758152fd864f49bb894c1bd464e (patch)
tree0ca7c4b8d1883339bf5e0685cd8332e245ab6afc /Source/CMCopyTable.m
parent9eb3012a29eb9adb658159c984716971f0141446 (diff)
downloadsequelpro-a3cdae0d22d41758152fd864f49bb894c1bd464e.tar.gz
sequelpro-a3cdae0d22d41758152fd864f49bb894c1bd464e.tar.bz2
sequelpro-a3cdae0d22d41758152fd864f49bb894c1bd464e.zip
Rename TableContent to SPTableContent.
Diffstat (limited to 'Source/CMCopyTable.m')
-rw-r--r--Source/CMCopyTable.m8
1 files changed, 4 insertions, 4 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)) {