たつもり -ているつもり

Usage

(Vた / Vている / い -い / な -な / Nの) + つもり The person thicks that something is X

Either it is not X

Not sure if X is correct

Examples

鍵がかかっていませんでしたよ。すみません、かけたつもりでした。 It was unlocked, you know. Sorry. I thought I'd locked it.
私は一生懸命やっているつもりです。 I think I'm trying really hard.