Three-dimensional general relativistic Poynting-Robertson effect. IV. Slowly rotating and nonspherical quadrupolar massive source