examples/webkit/googlechat/googlechat.h
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the examples of the Qt Toolkit.
     7 ** This file is part of the examples of the Qt Toolkit.
     8 **
     8 **
    38 ** $QT_END_LICENSE$
    38 ** $QT_END_LICENSE$
    39 **
    39 **
    40 ****************************************************************************/
    40 ****************************************************************************/
    41 
    41 
    42 #include <QWidget>
    42 #include <QWidget>
       
    43 #include <QWebElement>
    43 
    44 
    44 #include "ui_form.h"
    45 #include "ui_form.h"
    45 
    46 
    46 class GoogleChat: public QWidget
    47 class GoogleChat: public QWidget
    47 {
    48 {
    51     GoogleChat();
    52     GoogleChat();
    52 
    53 
    53 protected:
    54 protected:
    54     void showStatus(const QString &msg);
    55     void showStatus(const QString &msg);
    55     void showError(const QString &msg);
    56     void showError(const QString &msg);
    56     QString evalJS(const QString &js);
    57     QWebElement document() const;
    57 
    58 
    58 private slots:
    59 private slots:
    59 
    60 
    60     void adjustLoginButton();
    61     void adjustLoginButton();
    61     void inputPassword();
    62     void inputPassword();