Implemented serialization of QTabWidget.