|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# formextractor.h Example File
webkit/formextractor/formextractor.h

     /****************************************************************************
     **
     ** Copyright (C) 2007-$THISYEAR$ $TROLLTECH$. All rights reserved.
     **
     ** This file is part of the $MODULE$ of the Qt Toolkit.
     **
     ** $TROLLTECH_DUAL_LICENSE$
     **
     ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
     ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
     **
     ****************************************************************************/

     #ifndef FORMEXTRACTOR_H
     #define FORMEXTRACTOR_H

     #include <QtGui/QWidget>
     #include <QWebFrame>
     #include "ui_formextractor.h"

     class FormExtractor : public QWidget
     {
         Q_OBJECT

     public:
         FormExtractor(QWidget *parent = 0, Qt::WFlags flags = 0);
         ~FormExtractor();

     public slots:
         void setValues(const QString &firstName, const QString &lastName,
                        const QString &gender, bool updates);

         void populateJavaScriptWindowObject();

     private:
         Ui::Form ui;
     };

     #endif // FORMEXTRACTOR_H