Changeset 88167 in webkit


Ignore:
Timestamp:
Jun 6, 2011 7:52:19 AM (13 years ago)
Author:
Csaba Osztrogonác
Message:

[Qt] Implement download feature for QtTestBrowser
https://bugs.webkit.org/show_bug.cgi?id=61865

Buildfix for --minimal and CONFIG+=qt_minimal build after r88161.

  • QtTestBrowser/launcherwindow.cpp:

(LauncherWindow::LauncherWindow):

  • QtTestBrowser/launcherwindow.h:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r88161 r88167  
     12011-06-06  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        [Qt] Implement download feature for QtTestBrowser
     4        https://bugs.webkit.org/show_bug.cgi?id=61865
     5
     6        Buildfix for --minimal and CONFIG+=qt_minimal build after r88161.
     7
     8        * QtTestBrowser/launcherwindow.cpp:
     9        (LauncherWindow::LauncherWindow):
     10        * QtTestBrowser/launcherwindow.h:
     11
    1122011-06-06  Barát Tibor  <Barat.Tibor@stud.u-szeged.hu>
    213
  • trunk/Tools/QtTestBrowser/launcherwindow.cpp

    r88161 r88167  
    3535#include "launcherwindow.h"
    3636#include "urlloader.h"
     37
     38#if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX)
    3739#include <QFileDialog>
    3840#include <QFileInfo>
    3941#include <QMessageBox>
    4042#include <QNetworkReply>
     43#endif
    4144
    4245const int gExitClickArea = 80;
     
    5154    , m_formatMenuAction(0)
    5255    , m_zoomAnimation(0)
     56#if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX)
    5357    , m_reply(0)
     58#endif
    5459#ifndef QT_NO_LINEEDIT
    5560    , m_findFlag(0)
     
    6469
    6570    createChrome();
    66 
     71#if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX)
    6772    connect(page(), SIGNAL(downloadRequested(const QNetworkRequest&)), this, SLOT(downloadRequest(const QNetworkRequest&)));
     73#endif
    6874}
    6975
     
    976982}
    977983
     984#if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX)
    978985void LauncherWindow::downloadRequest(const QNetworkRequest &request)
    979986{
     
    10011008    }
    10021009}
     1010#endif
    10031011
    10041012void LauncherWindow::updateFPS(int fps)
  • trunk/Tools/QtTestBrowser/launcherwindow.h

    r88161 r88167  
    207207
    208208    void printURL(const QUrl&);
     209#if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX)
    209210    void downloadRequest(const QNetworkRequest&);
    210211    void fileDownloadFinished();
     212#endif
    211213
    212214public slots:
     
    241243
    242244    QPropertyAnimation* m_zoomAnimation;
     245#if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX)
    243246    QNetworkReply* m_reply;
     247#endif
    244248    QList<QTouchEvent::TouchPoint> m_touchPoints;
    245249    bool m_touchMocking;
Note: See TracChangeset for help on using the changeset viewer.