Hey thanks for reply.
1.about indentation i meant that why is it kept like
QApplication and not as qapplication....for other examples take QHBoxLayout and not qhboxlayout
2.How do i rectify it<that code>