Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/dialogs/qmessagebox.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    5959#include <QtGui/qapplication.h>
    6060#include <QtGui/qtextedit.h>
     61
    6162#include <QtGui/qmenu.h>
    6263#include "qdialog_p.h"
     
    189190    QAbstractButton *detectedEscapeButton;
    190191    QLabel *informativeLabel;
    191 #ifdef Q_OS_SYMBIAN
    192     QTextEdit *textEdit;
     192#if
     193    QText;
    193194#endif
    194195    QPointer<QObject> receiverToDisconnectOnClose;
     
    17271728        "<p>Please see <a href=\"http://qt.nokia.com/products/licensing\">qt.nokia.com/products/licensing</a> "
    17281729        "for an overview of Qt licensing.</p>"
    1729         "<p>Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).</p>"
     1730        "<p>Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).</p>"
    17301731        "<p>Qt is a Nokia product. See <a href=\"http://qt.nokia.com/\">qt.nokia.com</a> "
    17311732        "for more information.</p>"
     
    24632464        label->setWordWrap(true);
    24642465        QGridLayout *grid = static_cast<QGridLayout *>(layout());
    2465 #ifdef Q_OS_SYMBIAN
     2466#if
    24662467        label->hide();
    2467         QTextEdit *textEdit = new QTextEdit(this);
    2468         textEdit->setReadOnly(true);
    2469         grid->addWidget(textEdit, 1, 1, 1, 1);
    2470         d->textEdit = textEdit;
     2468        QText(this);
     2469        text(true);
     2470        grid->addWidget(text, 1, 1, 1, 1);
     2471        d->text;
    24712472#else
    24722473        grid->addWidget(label, 1, 1, 1, 1);
     
    24762477    d->informativeLabel->setText(text);
    24772478
    2478 #ifdef Q_OS_SYMBIAN
    2479     //We need to put the informative label inside textEdit to enable scrolling of long texts.
    2480     d->textEdit->setText(d->informativeLabel->text());
     2479#if
     2480    //We need to put the informative label inside text to enable scrolling of long texts.
     2481    d->text->setText(d->informativeLabel->text());
    24812482#endif
    24822483
Note: See TracChangeset for help on using the changeset viewer.