Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed RTMList to RTMSearch

  • Loading branch information...
commit 77d7ff460f6bda4d4255378f898a094f38b68651 1 parent e339253
Greg Allen authored
View
12 MilkMaid.xcodeproj/project.pbxproj
@@ -18,7 +18,7 @@
76646D891147F96B00803310 /* PreferencesWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 76646D881147F96B00803310 /* PreferencesWindowController.m */; };
767A8743112AF51E00A77326 /* MultiAdd.xib in Resources */ = {isa = PBXBuildFile; fileRef = 767A8742112AF51E00A77326 /* MultiAdd.xib */; };
767A8758112AF58E00A77326 /* MultiAddWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 767A8757112AF58E00A77326 /* MultiAddWindowController.m */; };
- 768FC5C4114945B900B371DA /* RTMList.m in Sources */ = {isa = PBXBuildFile; fileRef = 768FC5C3114945B900B371DA /* RTMList.m */; };
+ 768FC5C4114945B900B371DA /* RTMSearch.m in Sources */ = {isa = PBXBuildFile; fileRef = 768FC5C3114945B900B371DA /* RTMSearch.m */; };
76DF8422113B687400B2A3B2 /* ComboInput.xib in Resources */ = {isa = PBXBuildFile; fileRef = 76DF8421113B687400B2A3B2 /* ComboInput.xib */; };
76DF8434113B693900B2A3B2 /* ComboInputWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 76DF8433113B693900B2A3B2 /* ComboInputWindowController.m */; };
76EA44521111650700E10B8A /* BWToolkitFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76EA44511111650700E10B8A /* BWToolkitFramework.framework */; };
@@ -88,8 +88,8 @@
767A8742112AF51E00A77326 /* MultiAdd.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MultiAdd.xib; sourceTree = "<group>"; };
767A8756112AF58E00A77326 /* MultiAddWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MultiAddWindowController.h; sourceTree = "<group>"; };
767A8757112AF58E00A77326 /* MultiAddWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MultiAddWindowController.m; sourceTree = "<group>"; };
- 768FC5C2114945B900B371DA /* RTMList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTMList.h; sourceTree = "<group>"; };
- 768FC5C3114945B900B371DA /* RTMList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RTMList.m; sourceTree = "<group>"; };
+ 768FC5C2114945B900B371DA /* RTMSearch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTMSearch.h; sourceTree = "<group>"; };
+ 768FC5C3114945B900B371DA /* RTMSearch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RTMSearch.m; sourceTree = "<group>"; };
76DF8421113B687400B2A3B2 /* ComboInput.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ComboInput.xib; sourceTree = "<group>"; };
76DF8432113B693900B2A3B2 /* ComboInputWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ComboInputWindowController.h; sourceTree = "<group>"; };
76DF8433113B693900B2A3B2 /* ComboInputWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ComboInputWindowController.m; sourceTree = "<group>"; };
@@ -248,8 +248,8 @@
76EA44A3111167A500E10B8A /* EVRZRtmApi.m */,
C9041E75111280A200D0C6A3 /* RTMHelper.h */,
C9041E76111280A200D0C6A3 /* RTMHelper.m */,
- 768FC5C2114945B900B371DA /* RTMList.h */,
- 768FC5C3114945B900B371DA /* RTMList.m */,
+ 768FC5C2114945B900B371DA /* RTMSearch.h */,
+ 768FC5C3114945B900B371DA /* RTMSearch.m */,
);
name = RTM;
sourceTree = "<group>";
@@ -406,7 +406,7 @@
C9C148F0113B1AA400F292B7 /* MilkMaidPanel.m in Sources */,
76DF8434113B693900B2A3B2 /* ComboInputWindowController.m in Sources */,
76646D891147F96B00803310 /* PreferencesWindowController.m in Sources */,
- 768FC5C4114945B900B371DA /* RTMList.m in Sources */,
+ 768FC5C4114945B900B371DA /* RTMSearch.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
2  MilkMaidWindowController.h
@@ -14,7 +14,7 @@
#import "SingleInputWindowController.h"
#import "MultiAddWindowController.h"
#import "ComboInputWindowController.h"
-#import "RTMList.h"
+#import "RTMSearch.h"
@interface MilkMaidWindowController : NSWindowController {
SingleInputWindowController *singleInputWindowController;
View
11 MilkMaidWindowController.m
@@ -93,7 +93,7 @@ -(void)showAuthMessage:(NSString*)frob {
[alert release];
}
--(RTMList*)getCurrentList {
+-(RTMSearch*)getCurrentList {
return [lists objectAtIndex:[listPopUp indexOfSelectedItem]-1];
}
@@ -101,7 +101,7 @@ - (void)getLists {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSDictionary *data = [rtmController dataByCallingMethod:@"rtm.lists.getList" andParameters:[[NSDictionary alloc]init] withToken:YES];
lists = [RTMHelper getLists:data];
- for (RTMList *list in lists) {
+ for (RTMSearch *list in lists) {
[listPopUp addItemWithTitle:list.title];
}
@@ -131,7 +131,7 @@ -(void)listSelected:(id)sender {
NSInteger selectedIndex = [listPopUp indexOfSelectedItem];
selectedIndex--;
if (selectedIndex > -1) {
- RTMList *selectedList = [self getCurrentList];
+ RTMSearch *selectedList = [self getCurrentList];
if (!lastListTitle || ![selectedList.title isEqualToString:lastListTitle]) {
[[taskScroll contentView] scrollToPoint:NSMakePoint(0, 0)];
@@ -314,14 +314,13 @@ -(void)closeAddTaskSheet:(NSWindow *)sheet returnCode:(NSInteger)returnCode cont
-(void)addTask:(NSString*)task {
[progress setHidden:NO];
- RTMList *currentList = [self getCurrentList];
+ RTMSearch *currentList = [self getCurrentList];
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
task = [NSString stringWithFormat:@"%@ %@", task, globalTaskAttributes];
NSMutableDictionary *params = [[NSMutableDictionary alloc] initWithObjects:[NSArray arrayWithObjects:timeline, task, @"1", nil]
forKeys:[NSArray arrayWithObjects:@"timeline", @"name", @"parse", nil]];
- RTMList *currentList = [self getCurrentList];
if (currentList.addParams) {
[params addEntriesFromDictionary:currentList.addParams];
}
@@ -341,7 +340,7 @@ -(void)addTasks:(NSArray*)newTasksArray {
NSString *taskName = [NSString stringWithFormat:@"%@ %@ %@", t, globalTaskAttributes, globalAttributes];
NSMutableDictionary *params = [[NSMutableDictionary alloc] initWithObjects:[NSArray arrayWithObjects:timeline, taskName, @"1", nil]
forKeys:[NSArray arrayWithObjects:@"timeline", @"name", @"parse", nil]];
- RTMList *currentList = [self getCurrentList];
+ RTMSearch *currentList = [self getCurrentList];
if (currentList.addParams) {
[params addEntriesFromDictionary:currentList.addParams];
}
View
2  RTMList.h → RTMSearch.h
@@ -9,7 +9,7 @@
#import <Cocoa/Cocoa.h>
-@interface RTMList : NSObject {
+@interface RTMSearch : NSObject {
NSString* title;
NSString* listType;
NSDictionary* searchParams;
View
4 RTMList.m → RTMSearch.m
@@ -6,10 +6,10 @@
// Copyright 2010 JGA. All rights reserved.
//
-#import "RTMList.h"
+#import "RTMSearch.h"
-@implementation RTMList
+@implementation RTMSearch
@synthesize title;
@synthesize listType;
Please sign in to comment.
Something went wrong with that request. Please try again.