Skip to content
Snippets Groups Projects
Commit cc0119cc authored by Jérémy Quentin's avatar Jérémy Quentin
Browse files

[#1886] Spinbox reg expire enables apply, and address book is not visible when disabled

parent c66d5483
Branches
Tags
No related merge requests found
...@@ -369,3 +369,7 @@ void SFLPhone::on_view_incomingCall(const Call * call) ...@@ -369,3 +369,7 @@ void SFLPhone::on_view_incomingCall(const Call * call)
} }
} }
void SFLPhone::on_view_addressBookEnableAsked(bool enabled)
{
action_addressBook->setVisible(enabled);
}
...@@ -122,10 +122,12 @@ private slots: ...@@ -122,10 +122,12 @@ private slots:
void on_view_actionTextsChangeAsked(const QString * actionTexts); void on_view_actionTextsChangeAsked(const QString * actionTexts);
void on_view_transferCheckStateChangeAsked(bool transferCheckState); void on_view_transferCheckStateChangeAsked(bool transferCheckState);
void on_view_recordCheckStateChangeAsked(bool recordCheckState); void on_view_recordCheckStateChangeAsked(bool recordCheckState);
void updateScreen(QAction * action); void on_view_addressBookEnableAsked(bool enabled);
void on_view_screenChanged(int screen); void on_view_screenChanged(int screen);
void on_view_incomingCall(const Call * call); void on_view_incomingCall(const Call * call);
void updateScreen(QAction * action);
void quitButton(); void quitButton();
}; };
......
...@@ -44,7 +44,7 @@ DlgAccounts::DlgAccounts(KConfigDialog *parent) ...@@ -44,7 +44,7 @@ DlgAccounts::DlgAccounts(KConfigDialog *parent)
connect(edit1_alias, SIGNAL(textEdited(const QString &)), connect(edit1_alias, SIGNAL(textEdited(const QString &)),
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
connect(edit2_protocol, SIGNAL(currentIndexChanged(int)), connect(edit2_protocol, SIGNAL(activated(int)),
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
connect(edit3_server, SIGNAL(textEdited(const QString &)), connect(edit3_server, SIGNAL(textEdited(const QString &)),
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
...@@ -54,7 +54,9 @@ DlgAccounts::DlgAccounts(KConfigDialog *parent) ...@@ -54,7 +54,9 @@ DlgAccounts::DlgAccounts(KConfigDialog *parent)
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
connect(edit6_mailbox, SIGNAL(textEdited(const QString &)), connect(edit6_mailbox, SIGNAL(textEdited(const QString &)),
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
connect(checkBox_conformRFC, SIGNAL(stateChanged(int)), connect(spinbox_regExpire, SIGNAL(editingFinished()),
this, SLOT(changedAccountList()));
connect(checkBox_conformRFC, SIGNAL(clicked(bool)),
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
connect(button_accountUp, SIGNAL(clicked()), connect(button_accountUp, SIGNAL(clicked()),
this, SLOT(changedAccountList())); this, SLOT(changedAccountList()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment