mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
Re-enable register button in configuration panel ui
Todo: to send a popup if the registration has failed or connected Todo: use the account arg on the server
This commit is contained in:
@ -310,10 +310,10 @@
|
||||
</spacer>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>Register</cstring>
|
||||
<cstring>buttonRegister</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Register</string>
|
||||
@ -1439,7 +1439,7 @@ Montreal, Quebec H2T 1S6</p></string>
|
||||
<tabstop>password</tabstop>
|
||||
<tabstop>sipproxy</tabstop>
|
||||
<tabstop>autoregister</tabstop>
|
||||
<tabstop>Register</tabstop>
|
||||
<tabstop>buttonRegister</tabstop>
|
||||
<tabstop>buttonOk</tabstop>
|
||||
<tabstop>buttonCancel</tabstop>
|
||||
<tabstop>Tab_Signalisations</tabstop>
|
||||
|
@ -107,7 +107,7 @@ void ConfigurationPanel::init()
|
||||
"About",
|
||||
Menu);
|
||||
|
||||
QObject::connect(Register, SIGNAL(clicked()),
|
||||
QObject::connect(buttonRegister, SIGNAL(clicked()),
|
||||
this, SIGNAL(needRegister()));
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@ PhoneLineManagerImpl::registerToServer()
|
||||
isInitialized();
|
||||
|
||||
Request *r = mSession->registerToServer();
|
||||
QObject::connect(r, SIGNAL(success()),
|
||||
QObject::connect(r, SIGNAL(success(QString, QString)),
|
||||
this, SIGNAL(registered()));
|
||||
}
|
||||
|
||||
|
@ -57,6 +57,7 @@ SFLPhoneApp::SFLPhoneApp(int argc, char **argv)
|
||||
Requester::instance().registerObject< Request >(QString("stoptone"));
|
||||
Requester::instance().registerObject< Request >(QString("playdtmf"));
|
||||
|
||||
Requester::instance().registerObject< Request >(QString("register"));
|
||||
Requester::instance().registerObject< ConfigGetAllRequest >(QString("configgetall"));
|
||||
Requester::instance().registerObject< ConfigSaveRequest >(QString("configsave"));
|
||||
Requester::instance().registerObject< StopRequest >(QString("stop"));
|
||||
|
@ -21,8 +21,6 @@
|
||||
#ifndef SFLPHONE_GLOBAL_H
|
||||
#define SFLPHONE_GLOBAL_H
|
||||
|
||||
#define DEBUG
|
||||
|
||||
#define NB_PHONELINES 6
|
||||
#define PROGNAME "SFLPhone"
|
||||
#define VERSION "0.4.2"
|
||||
|
Reference in New Issue
Block a user