?? shoppingitem.h
字號(hào):
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __SHOPPINGITEM_H__
#define __SHOPPINGITEM_H__
// CLASS DECLARATION
/**
* An instance of CShoppingItem represents a single item on the shopping list.
* It has a name, as an HBufC, and a set of flags, including a flag to indicate
* whether the item is marked or not.
*/
class CShoppingItem : public CBase
{
public:
/**
* NewL
* Create a CShoppingItem object
* @return a pointer to the created instance of CShoppingItem
*/
static CShoppingItem* NewL();
/**
* NewLC
* Create a CShoppingItem object
* @return a pointer to the created instance of CShoppingItem
*/
static CShoppingItem* NewLC();
/**
* ~CShoppingItem
* Destroy the object
*/
virtual ~CShoppingItem();
public:
/**
* SetNameL
* Set the name of the shopping item to 'aValue'.
* @param aValue the value to set the name to
*/
void SetNameL( HBufC* aValue );
/**
* Name
* Get the name of the shoppiing item.
* @return the name of the shopping item
*/
HBufC* Name() const;
/**
* enum TFlagsBits
* The bits corresponding to the item's flags.
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -