Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/s60framework/qs60maindocument.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    5858  The QS60MainDocument provides a helper class for use in migrating
    5959  from existing S60 based applications to Qt based applications. It is
    60   used in the exact same way as the \c CAknDocument class from
     60  used in the exact same way as the \c CEikDocument class from
    6161  Symbian, but internally provides extensions used by Qt.
    6262
    6363  When modifying old S60 applications that rely on implementing
    64   functions in \c CAknDocument, the class should be modified to
    65   inherit from this class instead of \c CAknDocument. Then the
     64  functions in \c CEikDocument, the class should be modified to
     65  inherit from this class instead of \c CEikDocument. Then the
    6666  application can choose to override only certain functions.
    6767
    68   For more information on \c CAknDocument, please see the S60
     68  For more information on \c CEikDocument, please see the S60
    6969  documentation.
    7070
     
    8080 * \a mainApplication should contain a pointer to a QS60MainApplication instance.
    8181 */
    82 QS60MainDocument::QS60MainDocument(CEikApplication& mainApplication)
    83     : CAknDocument(mainApplication)
     82QS60MainDocument::QS60MainDocument(CEikApplication &mainApplication)
     83    : QS60MainDocumentBase(mainApplication)
    8484{
    8585    // No implementation required
     
    106106}
    107107
     108/*!
     109  \internal
     110 */
     111CFileStore *QS60MainDocument::OpenFileL(TBool aDoOpen, const TDesC &aFilename, RFs &aFs)
     112{
     113    return QS60MainDocumentBase::OpenFileL(aDoOpen, aFilename, aFs);
     114}
     115
     116/*!
     117  \internal
     118 */
     119void QS60MainDocument::OpenFileL(CFileStore *&aFileStore, RFile &aFile)
     120{
     121    QS60MainDocumentBase::OpenFileL(aFileStore, aFile);
     122}
     123
    108124QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.