freeswitch/fscomm/preferences/accountdialog.h
2010-01-25 06:18:35 +00:00

41 lines
704 B
C++

#ifndef ACCOUNTDIALOG_H
#define ACCOUNTDIALOG_H
#include <QDialog>
namespace Ui {
class AccountDialog;
}
class QSettings;
class AccountDialog : public QDialog {
Q_OBJECT
public:
AccountDialog(QString accId, QWidget *parent = 0);
~AccountDialog();
void clear();
void setAccId(QString);
void readConfig();
signals:
void gwAdded(QString);
private slots:
void writeConfig();
void addExtraParam();
void remExtraParam();
void codecSettingsComboChanged(int);
void clidSettingsComboChanged(int);
protected:
void changeEvent(QEvent *e);
private:
QString _accId;
Ui::AccountDialog *ui;
QSettings *_settings;
};
#endif // ACCOUNTDIALOG_H