Cut the Parma ham into thin strips. Finely dice the onions, clean the peppers and cut into approx. 1 cm cubes. Cook the spaghetti in salted boiling water.
Fry the onion and pepper cubes in a pan in 4 tablespoons of olive oil. Add the ajvar, salt and pepper, pour the vegetable stock over everything and add a dash of cream. Add the ham as well. Whisk the eggs with the cream. Drain the spaghetti, keep some of the cooking water.
Put the noodles in the pan with the sauce and stir in the cooking water until smooth. Add the egg-cream mixture and the parmesan to the pan, stir. No more cooking.
Serve sprinkled with pepper.
Variation: Instead of Parma ham, you can use Black Forest ham and Gouda instead of Parmesan.