Changeset 846 for trunk/src/gui/s60framework/qs60maindocument.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/s60framework/qs60maindocument.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 58 58 The QS60MainDocument provides a helper class for use in migrating 59 59 from existing S60 based applications to Qt based applications. It is 60 used in the exact same way as the \c C AknDocument class from60 used in the exact same way as the \c CEikDocument class from 61 61 Symbian, but internally provides extensions used by Qt. 62 62 63 63 When modifying old S60 applications that rely on implementing 64 functions in \c C AknDocument, the class should be modified to65 inherit from this class instead of \c C AknDocument. Then the64 functions in \c CEikDocument, the class should be modified to 65 inherit from this class instead of \c CEikDocument. Then the 66 66 application can choose to override only certain functions. 67 67 68 For more information on \c C AknDocument, please see the S6068 For more information on \c CEikDocument, please see the S60 69 69 documentation. 70 70 … … 80 80 * \a mainApplication should contain a pointer to a QS60MainApplication instance. 81 81 */ 82 QS60MainDocument::QS60MainDocument(CEikApplication &mainApplication)83 : CAknDocument(mainApplication)82 QS60MainDocument::QS60MainDocument(CEikApplication &mainApplication) 83 : QS60MainDocumentBase(mainApplication) 84 84 { 85 85 // No implementation required … … 106 106 } 107 107 108 /*! 109 \internal 110 */ 111 CFileStore *QS60MainDocument::OpenFileL(TBool aDoOpen, const TDesC &aFilename, RFs &aFs) 112 { 113 return QS60MainDocumentBase::OpenFileL(aDoOpen, aFilename, aFs); 114 } 115 116 /*! 117 \internal 118 */ 119 void QS60MainDocument::OpenFileL(CFileStore *&aFileStore, RFile &aFile) 120 { 121 QS60MainDocumentBase::OpenFileL(aFileStore, aFile); 122 } 123 108 124 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.