71 connect(leServerMessageNew, SIGNAL(textEdited(const QString &)), tb, SLOT(setHtml(const QString &))); |
71 connect(leServerMessageNew, SIGNAL(textEdited(const QString &)), tb, SLOT(setHtml(const QString &))); |
72 connect(leServerMessageOld, SIGNAL(textEdited(const QString &)), tb, SLOT(setHtml(const QString &))); |
72 connect(leServerMessageOld, SIGNAL(textEdited(const QString &)), tb, SLOT(setHtml(const QString &))); |
73 |
73 |
74 // 5 |
74 // 5 |
75 pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0); |
75 pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0); |
|
76 connect(pbClearAccountsCache, SIGNAL(clicked()), this, SIGNAL(clearAccountsCache())); |
76 |
77 |
77 // 6 |
78 // 6 |
78 pbSetSM = addButton(tr("Set data"), pageLayout, 6, 0, 1, 3); |
79 pbSetSM = addButton(tr("Set data"), pageLayout, 6, 0, 1, 3); |
79 |
80 |
|
81 |
80 // 7 |
82 // 7 |
81 BtnBack = addButton(":/res/Exit.png", pageLayout, 7, 0, true); |
83 BtnBack = addButton(":/res/Exit.png", pageLayout, 7, 0, true); |
82 |
84 connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack())); |
83 connect(pbSetSM, SIGNAL(clicked()), this, SLOT(smChanged())); |
|
84 } |
85 } |
85 |
86 |
86 void PageAdmin::smChanged() |
87 void PageAdmin::smChanged() |
87 { |
88 { |
88 emit setServerMessageNew(leServerMessageNew->text()); |
89 emit setServerMessageNew(leServerMessageNew->text()); |