Sift together flour, sugar, baking powder, soda, and salt. Beat egg lightly and stir in pineapple with syrup and shortening.
Add dry ingredients and stir quickly til dry ingredients are moistened. Gently stir in cheese and walnuts and turn batter into greased 9 x 5 inch loaf pan. Bake at 350 for 1 hour or til cake tester comes out clean. Remove from pan and cool completely before slicing.