mywidget.h 341 B

123456789101112131415161718192021222324
  1. #ifndef MYWIDGET_H
  2. #define MYWIDGET_H
  3. #include <QWidget>
  4. #include <memory>
  5. #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
  6. #include <klocalizedstring.h>
  7. #endif
  8. #include "ui_mywidget.h"
  9. class MyWidget : public QWidget
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit MyWidget(QWidget *parent = 0);
  14. private:
  15. const std::auto_ptr<Ui::MyWidget> ui;
  16. };
  17. #endif