⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helloworldview.h

📁 这个例子描述了如何使来电的时候自动无声
💻 H
字号:
// HelloWorldView.h
//
// ?Symbian Software Ltd 2005. All rights reserved.
//

#ifndef HELLOWORLDVIEW_H
#define HELLOWORLDVIEW_H

#include <QikViewBase.h>

/**
A very simple view that displays the text "Hello world", drawn using the default title 
font supplied by UIQ. It also consist of three commands that will bring up infoprints.
*/
class CHelloWorldView : public CQikViewBase
	{
public:
	static CHelloWorldView* NewLC(CQikAppUi& aAppUi);
	~CHelloWorldView();
	
	// from CQikViewBase
	TVwsViewId ViewId()const;
	void HandleCommandL(CQikCommand& aCommand);
	
protected: 
	// from CQikViewBase
	void ViewConstructL();
	
private:
	CHelloWorldView(CQikAppUi& aAppUi);
	void ConstructL();

private:
	static TInt Tick(TAny* aObject); // directly called
	TInt DoTick(); // indirectly called

private:
	CPeriodic* iTimer;
	TInt iCount;
	};

#endif // HELLOWORLDVIEW_H

⌨️ 快捷键说明

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