waitdialog.cpp

来自「Symbian OS C++ for Mobile Phones v3 Exam」· C++ 代码 · 共 28 行

CPP
28
字号

#include "oandxcontroller.h"


CWaitDialog::CWaitDialog(const TDesC& aBodyText)
/**
	Record text to display in dialog.

	@param	aBodyText		Text to display in wait dialog label.
							The caller must maintain this text for the dialog's
							lifetime.
 */
:	iBodyText(aBodyText)
	{
	// empty.
	}

void CWaitDialog::PreLayoutDynInitL()
/**
	Override CEikDialog by setting the label text to that
	which was supplied to the constructor.
 */
	{
	CEikLabel* plb = static_cast<CEikLabel*>(Control(EWaitDlgCtIdLabel));
	plb->SetTextL(iBodyText);
	}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?