errorlist.cpp 656 B

1234567891011121314151617181920212223242526272829303132333435
  1. #include "errorlist.h"
  2. #include <qvariant.h>
  3. #include <qimage.h>
  4. #include <qpixmap.h>
  5. #include "errorlist.ui.h"
  6. /*
  7. * Constructs a ErrorList as a child of 'parent', with the
  8. * name 'name' and widget flags set to 'f'.
  9. */
  10. ErrorList::ErrorList(QWidget* parent, const char* name, Qt::WindowFlags fl)
  11. : QWidget(parent, name, fl)
  12. {
  13. setupUi(this);
  14. }
  15. /*
  16. * Destroys the object and frees any allocated resources
  17. */
  18. ErrorList::~ErrorList()
  19. {
  20. // no need to delete child widgets, Qt does it all for us
  21. }
  22. /*
  23. * Sets the strings of the subwidgets using the current
  24. * language.
  25. */
  26. void ErrorList::languageChange()
  27. {
  28. retranslateUi(this);
  29. }