If u have a ui file generated by KDevelop or even if you write it yourself Qt Designer can open it as a normal ui file.
As I understand it KMainWindow is a C++ class that controls what you do with the QMainWindow but having a KMainWindow class doesn't affect your ui file.