2
0

prefdialog.h 698 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef PREFDIALOG_H
  2. #define PREFDIALOG_H
  3. #include <QDialog>
  4. #include <QDomDocument>
  5. #include "fscomm.h"
  6. class PrefPortaudio;
  7. class PrefSofia;
  8. class PrefAccounts;
  9. class QAbstractButton;
  10. namespace Ui {
  11. class PrefDialog;
  12. }
  13. class PrefDialog : public QDialog {
  14. Q_OBJECT
  15. public:
  16. PrefDialog(QWidget *parent = 0);
  17. ~PrefDialog();
  18. protected:
  19. void changeEvent(QEvent *e);
  20. private slots:
  21. void writeConfig();
  22. void clicked(QAbstractButton*);
  23. signals:
  24. void preprocessorsApplied(QStringList);
  25. private:
  26. void readConfig();
  27. PrefAccounts *_pref_accounts;
  28. Ui::PrefDialog *ui;
  29. PrefPortaudio *_mod_portaudio;
  30. PrefSofia *_mod_sofia;
  31. };
  32. #endif // PREFDIALOG_H