Fix imports.
Fix foreach loop issues.
Fix string issues.
Fix spelling errors.
Replace Qt methods that should be avoided.
Normalize SIGNAL and SLOT signatures.
Add missing license information.
Fix single-char strings for efficiency.
Fix single-char strings and add missing license.
Add copyright information to all files.
Add copyright information to remaining files.