QTfrontend/pageadmin.cpp
changeset 6009 14f6fc9869f2
parent 5204 e1a5f4d5d86a
child 6010 10913a80cb50
equal deleted inserted replaced
6008:215f0c9719e3 6009:14f6fc9869f2
    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());