QTfrontend/pageadmin.h
changeset 6042 8b5345758f62
parent 6009 14f6fc9869f2
equal deleted inserted replaced
6040:a740069c21e3 6042:8b5345758f62
    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 private:
       
    32     QLineEdit * leServerMessageNew;
       
    33     QLineEdit * leServerMessageOld;
       
    34     QPushButton * pbSetSM;
       
    35     QPushButton * pbAsk;
       
    36     QSpinBox * sbProtocol;
       
    37     QTextBrowser * tb;
       
    38     QPushButton * BtnBack;
       
    39     QPushButton * pbClearAccountsCache;
       
    40 
       
    41 private slots:
       
    42     void smChanged();
       
    43 
       
    44 public slots:
    31 public slots:
    45     void serverMessageNew(const QString & str);
    32     void serverMessageNew(const QString & str);
    46     void serverMessageOld(const QString & str);
    33     void serverMessageOld(const QString & str);
    47     void protocol(int proto);
    34     void protocol(int proto);
    48 
    35 
    50     void setServerMessageNew(const QString & str);
    37     void setServerMessageNew(const QString & str);
    51     void setServerMessageOld(const QString & str);
    38     void setServerMessageOld(const QString & str);
    52     void setProtocol(int proto);
    39     void setProtocol(int proto);
    53     void askServerVars();
    40     void askServerVars();
    54     void clearAccountsCache();
    41     void clearAccountsCache();
       
    42 
       
    43 protected:
       
    44     QLayout * bodyLayoutDefinition();
       
    45     void connectSignals();
       
    46 
       
    47 private:
       
    48     QLineEdit * leServerMessageNew;
       
    49     QLineEdit * leServerMessageOld;
       
    50     QPushButton * pbSetSM;
       
    51     QPushButton * pbAsk;
       
    52     QSpinBox * sbProtocol;
       
    53     QTextBrowser * tb;
       
    54     QPushButton * pbClearAccountsCache;
       
    55 
       
    56 private slots:
       
    57     void smChanged();
    55 };
    58 };
    56 
    59 
    57 #endif
    60 #endif