fixed some file's compile error in linux and Qt 4.8.4
Merge pull request #8 from XChinux/master

fixed some file's compile error in linux and Qt 4.8.4