Advertisement
Guest User

Untitled

a guest
Jan 5th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3.  
  4. #if QT_VERSION >= 0x050000
  5. #include <QtWidgets/QMainWindow>
  6. #else
  7. //#include <QMainWindow>
  8. #endif
  9.  
  10. namespace Ui {
  11. class MainWindow;
  12. }
  13.  
  14. class MainWindow : public QMainWindow
  15. {
  16. Q_OBJECT
  17.  
  18. public:
  19. explicit MainWindow(QWidget *parent = 0);
  20. ~MainWindow();
  21.  
  22. protected:
  23. void changeEvent(QEvent *e);
  24.  
  25. private:
  26. Ui::MainWindow *ui;
  27. };
  28.  
  29. #endif // MAINWINDOW_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement