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 649B

1234567891011121314151617181920212223242526272829303132333435363738
  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 <QAudioOutput>
  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. private slots:
  20. void setupFinished();
  21. void radioChanged(Radio* r);
  22. void radioData(QByteArray data);
  23. private:
  24. Ui::MainWindow *ui;
  25. NRJ* nrj;
  26. Radio* currentRadio;
  27. QAudioOutput* output;
  28. QIODevice* out;
  29. };
  30. #endif // MAINWINDOW_H