You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mainwindow.h 745B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include <QBuffer>
  5. #include "nrj.h"
  6. #include "radiowidget.h"
  7. #include "radio.h"
  8. #include <QDebug>
  9. #include <QSystemTrayIcon>
  10. namespace Ui {
  11. class MainWindow;
  12. }
  13. class MainWindow : public QMainWindow
  14. {
  15. Q_OBJECT
  16. public:
  17. explicit MainWindow(QWidget *parent = 0);
  18. ~MainWindow();
  19. protected:
  20. void closeEvent(QCloseEvent *event);
  21. private slots:
  22. void setupFinished();
  23. void radioChanged(Radio* r);
  24. void setWebRadio(int i);
  25. void sysTrayActivated(QSystemTrayIcon::ActivationReason r);
  26. private:
  27. Ui::MainWindow *ui;
  28. NRJ* nrj;
  29. Radio* currentRadio;
  30. QSystemTrayIcon* tray;
  31. };
  32. #endif // MAINWINDOW_H