2010-01-04 20:49:22 +00:00
|
|
|
#ifndef PREFDIALOG_H
|
|
|
|
#define PREFDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QDomDocument>
|
2010-07-03 16:37:32 +00:00
|
|
|
#include "fscomm.h"
|
2010-01-04 20:49:22 +00:00
|
|
|
|
2010-01-06 02:08:25 +00:00
|
|
|
class PrefPortaudio;
|
2010-01-07 06:43:51 +00:00
|
|
|
class PrefSofia;
|
2010-01-11 04:40:39 +00:00
|
|
|
class PrefAccounts;
|
2010-07-03 16:37:32 +00:00
|
|
|
class QAbstractButton;
|
2010-01-06 02:08:25 +00:00
|
|
|
|
2010-01-04 20:49:22 +00: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 22:16:46 +00:00
|
|
|
private slots:
|
2010-01-06 02:08:25 +00:00
|
|
|
void writeConfig();
|
2010-07-03 16:37:32 +00:00
|
|
|
void clicked(QAbstractButton*);
|
2010-01-05 22:16:46 +00:00
|
|
|
|
2010-04-09 02:15:29 +00:00
|
|
|
signals:
|
|
|
|
void preprocessorsApplied(QStringList);
|
|
|
|
|
2010-01-04 20:49:22 +00:00
|
|
|
private:
|
2010-01-06 02:08:25 +00:00
|
|
|
void readConfig();
|
2010-01-14 02:32:20 +00:00
|
|
|
PrefAccounts *_pref_accounts;
|
2010-01-06 02:08:25 +00:00
|
|
|
Ui::PrefDialog *ui;
|
|
|
|
PrefPortaudio *_mod_portaudio;
|
2010-01-14 02:32:20 +00:00
|
|
|
PrefSofia *_mod_sofia;
|
2010-01-04 20:49:22 +00:00
|
|
|
};
|
|
|
|
|
2010-01-06 02:08:25 +00:00
|
|
|
|
2010-01-04 20:49:22 +00:00
|
|
|
#endif // PREFDIALOG_H
|