Step 1: Understanding the Concept
First law of thermodynamics: \(dQ=dU+dW\).
Step 2: Substitution
With \(dW=0\), \(dU=dQ\lt0\).
Step 3: Conclusion
For an ideal gas internal energy depends only on temperature, so a decrease in U means the temperature falls.
Final Answer:
The temperature of the gas decreases.
\[ \boxed{\text{(D) }\text{T will decrease}} \]