browser.h 686 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef BROWSER_H
  2. #define BROWSER_H
  3. /*
  4. #if QT_VERSION >= 0x040000
  5. #include <QTime>
  6. #endif
  7. #if QT_VERSION < 0x040000
  8. #define modifiers state
  9. #define AltModifier AltButton
  10. //#define setWindowTitle setCaption
  11. #endif
  12. #if QT_VERSION < 0x030000
  13. #define flush flushX
  14. #endif
  15. */
  16. #include "pictureflow.h"
  17. #include <QKeyEvent>
  18. #include <QWidget>
  19. #include <QApplication>
  20. #include <QTime>
  21. #include <QEvent>
  22. #include <QKeyEvent>
  23. #include <QCoreApplication>
  24. #include <QWidget>
  25. class Browser : public PictureFlow
  26. {
  27. Q_OBJECT
  28. public:
  29. explicit Browser();
  30. void operator=(Browser* inBrowser);
  31. signals:
  32. public slots:
  33. private:
  34. void keyPressEvent(QKeyEvent* event);
  35. };
  36. #endif // BROWSER_H