IDocument: Remove unused enum.

Change-Id: I30eb3855fa4e8e59195cb865c712cdc171700af3
Reviewed-by: David Schulz <david.schulz@digia.com>
Mac: Remove code that was there for 10.4 compatibility

Change-Id: Ibb586513f256deb5e0e8aa7c5100055482a031a9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>