forked from Mirrors/freeswitch
4e7c22e995
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16350 d0543943-73ff-0310-b7d9-9358b9ac24b2
31 lines
535 B
C++
31 lines
535 B
C++
#ifndef PREFACCOUNTS_H
|
|
#define PREFACCOUNTS_H
|
|
|
|
#include <QObject>
|
|
#include "ui_prefdialog.h"
|
|
|
|
class QSettings;
|
|
class AccountDialog;
|
|
|
|
class PrefAccounts : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
explicit PrefAccounts(Ui::PrefDialog *ui);
|
|
void writeConfig();
|
|
|
|
public slots:
|
|
void readConfig();
|
|
|
|
private slots:
|
|
void addAccountBtnClicked();
|
|
void editAccountBtnClicked();
|
|
void remAccountBtnClicked();
|
|
|
|
private:
|
|
Ui::PrefDialog *_ui;
|
|
AccountDialog *_accDlg;
|
|
QSettings *_settings;
|
|
};
|
|
|
|
#endif // PREFACCOUNTS_H
|