1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef LIBWIDGET_H #define LIBWIDGET_H #include <QWidget> #include <memory> #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) #include <klocalizedstring.h> #endif #include "ui_libwidget.h" class LibWidget : public QWidget { Q_OBJECT public: explicit LibWidget(QWidget* parent = 0); private: const std::auto_ptr<Ui::LibWidget> ui; }; #endif