2010-01-04 15:49:22 -05:00
|
|
|
#ifndef PREFDIALOG_H
|
|
|
|
#define PREFDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QDomDocument>
|
2010-07-03 12:37:32 -04:00
|
|
|
#include "fscomm.h"
|
2010-01-04 15:49:22 -05:00
|
|
|
|
2010-01-05 21:08:25 -05:00
|
|
|
class PrefPortaudio;
|
2010-01-07 01:43:51 -05:00
|
|
|
class PrefSofia;
|
2010-01-10 23:40:39 -05:00
|
|
|
class PrefAccounts;
|
2010-07-03 12:37:32 -04:00
|
|
|
class QAbstractButton;
|
2010-01-05 21:08:25 -05:00
|
|
|
|
2010-01-04 15:49:22 -05:00
|
|
|
namespace Ui {
|
|
|
|
class PrefDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class PrefDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
PrefDialog(QWidget *parent = 0);
|
|
|
|
~PrefDialog();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void changeEvent(QEvent *e);
|
|
|
|
|
2010-01-05 17:16:46 -05:00
|
|
|
private slots:
|
2010-01-05 21:08:25 -05:00
|
|
|
void writeConfig();
|
2010-07-03 12:37:32 -04:00
|
|
|
void clicked(QAbstractButton*);
|
2010-01-05 17:16:46 -05:00
|
|
|
|
2010-04-08 22:15:29 -04:00
|
|
|
signals:
|
|
|
|
void preprocessorsApplied(QStringList);
|
|
|
|
|
2010-01-04 15:49:22 -05:00
|
|
|
private:
|
2010-01-05 21:08:25 -05:00
|
|
|
void readConfig();
|
2010-01-13 21:32:20 -05:00
|
|
|
PrefAccounts *_pref_accounts;
|
2010-01-05 21:08:25 -05:00
|
|
|
Ui::PrefDialog *ui;
|
|
|
|
PrefPortaudio *_mod_portaudio;
|
2010-01-13 21:32:20 -05:00
|
|
|
PrefSofia *_mod_sofia;
|
2010-01-04 15:49:22 -05:00
|
|
|
};
|
|
|
|
|
2010-01-05 21:08:25 -05:00
|
|
|
|
2010-01-04 15:49:22 -05:00
|
|
|
#endif // PREFDIALOG_H
|