QTfrontend/ui/page/pageadmin.h
changeset 6616 f77bb02b669f
parent 6060 fdfc01419815
child 6700 e04da46ee43c
equal deleted inserted replaced
6615:65602f1ef0f8 6616:f77bb02b669f
    21 
    21 
    22 #include "AbstractPage.h"
    22 #include "AbstractPage.h"
    23 
    23 
    24 class PageAdmin : public AbstractPage
    24 class PageAdmin : public AbstractPage
    25 {
    25 {
    26     Q_OBJECT
    26         Q_OBJECT
    27 
    27 
    28 public:
    28     public:
    29     PageAdmin(QWidget* parent = 0);
    29         PageAdmin(QWidget* parent = 0);
    30 
    30 
    31 public slots:
    31     public slots:
    32     void serverMessageNew(const QString & str);
    32         void serverMessageNew(const QString & str);
    33     void serverMessageOld(const QString & str);
    33         void serverMessageOld(const QString & str);
    34     void protocol(int proto);
    34         void protocol(int proto);
    35 
    35 
    36 signals:
    36     signals:
    37     void setServerMessageNew(const QString & str);
    37         void setServerMessageNew(const QString & str);
    38     void setServerMessageOld(const QString & str);
    38         void setServerMessageOld(const QString & str);
    39     void setProtocol(int proto);
    39         void setProtocol(int proto);
    40     void askServerVars();
    40         void askServerVars();
    41     void clearAccountsCache();
    41         void clearAccountsCache();
    42 
    42 
    43 protected:
    43     protected:
    44     QLayout * bodyLayoutDefinition();
    44         QLayout * bodyLayoutDefinition();
    45     void connectSignals();
    45         void connectSignals();
    46 
    46 
    47 private:
    47     private:
    48     QLineEdit * leServerMessageNew;
    48         QLineEdit * leServerMessageNew;
    49     QLineEdit * leServerMessageOld;
    49         QLineEdit * leServerMessageOld;
    50     QPushButton * pbSetSM;
    50         QPushButton * pbSetSM;
    51     QPushButton * pbAsk;
    51         QPushButton * pbAsk;
    52     QSpinBox * sbProtocol;
    52         QSpinBox * sbProtocol;
    53     QTextBrowser * tb;
    53         QTextBrowser * tb;
    54     QPushButton * pbClearAccountsCache;
    54         QPushButton * pbClearAccountsCache;
    55 
    55 
    56 private slots:
    56     private slots:
    57     void smChanged();
    57         void smChanged();
    58 };
    58 };
    59 
    59 
    60 #endif
    60 #endif