📄 richtexteditordocument.cpp
字号:
/*
* ============================================================================
* Name : CRTEDocument from RichTextEditorDocument.h
* Part of : RichTextEditor
* Created : 05/08/2006 by Forum Nokia
* Implementation notes: - standard Avkon document class source
* Version : 2.0
*
* Copyright (c) 2006 - 2007 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ============================================================================
*/
// INCLUDE FILES
#include "RichTextEditorDocument.h"
#include "RichTextEditorAppUi.h"
// ================= MEMBER FUNCTIONS =======================
// constructor
CRTEDocument::CRTEDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// destructor
CRTEDocument::~CRTEDocument()
{
}
// EPOC default constructor can leave.
void CRTEDocument::ConstructL()
{
}
// Two-phased constructor.
CRTEDocument* CRTEDocument::NewL(
CEikApplication& aApp) // CRTEApp reference
{
CRTEDocument* self = new (ELeave) CRTEDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();//Self
return self;
}
// ----------------------------------------------------
// CRTEDocument::CreateAppUiL()
// constructs CRTEAppUi
// ----------------------------------------------------
//
CEikAppUi* CRTEDocument::CreateAppUiL()
{
return new (ELeave) CRTEAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -