Uniform limit theorems for the integrated periodogram of weakly dependent time series and their applications to Whittle's estimate