* Changed ooChanged to ooChange, to be more consistent with tense in other values

git-svn-id: trunk@22262 -
This commit is contained in:
michael 2012-08-28 12:32:15 +00:00
parent 8d9f8e19c3
commit 441e059f32
4 changed files with 6 additions and 6 deletions

View File

@ -168,7 +168,7 @@ Const
Type
// Notification operations :
// Observer has changed, is freed, item added to/deleted from list, custom event.
TFPObservedOperation = (ooChanged,ooFree,ooAddItem,ooDeleteItem,ooCustom);
TFPObservedOperation = (ooChange,ooFree,ooAddItem,ooDeleteItem,ooCustom);
{$INTERFACES CORBA}
{ IFPObserved }

View File

@ -288,7 +288,7 @@ end;
procedure TCollection.Update(Item: TCollectionItem);
begin
FPONotifyObservers(Self,ooChanged,Pointer(Item));
FPONotifyObservers(Self,ooChange,Pointer(Item));
end;
@ -419,7 +419,7 @@ procedure TCollection.Exchange(Const Index1, index2: integer);
begin
FItems.Exchange(Index1,Index2);
FPONotifyObservers(Self,ooChanged,Nil);
FPONotifyObservers(Self,ooChange,Nil);
end;

View File

@ -750,7 +750,7 @@ end;
procedure TList.Exchange(Index1, Index2: Integer);
begin
FList.Exchange(Index1, Index2);
FPONotifyObservers(Self,ooChanged,Nil);
FPONotifyObservers(Self,ooChange,Nil);
end;
function TList.Expand: TList;

View File

@ -551,7 +551,7 @@ end;
Procedure TStrings.SetUpdateState(Updating: Boolean);
begin
FPONotifyObservers(Self,ooChanged,Nil);
FPONotifyObservers(Self,ooChange,Nil);
end;
@ -1034,7 +1034,7 @@ begin
begin
If Assigned(FOnChange) then
FOnchange(Self);
FPONotifyObservers(Self,ooChanged,Nil);
FPONotifyObservers(Self,ooChange,Nil);
end;
end;