class RBkFolder : public RBkNode |
The bookmark tree maintained by the database is made up to folders containing bookmarks. The RBkFolder class is a handle to a bookmark folder. Bookmark folders contain a list of children which can be bookmarks or other folders. As with all items in the database, the client application never owns the folder item itself. All actions are performed through this handle.
Public Member Functions | |
---|---|
RBkFolder () | |
IMPORT_C void | AppendL ( RBkNode &) |
IMPORT_C TInt | Count () |
CBookmarkFolder * | Folder () |
IMPORT_C TInt | Index (const RBkNode &) |
IMPORT_C void | InsertL ( RBkNode &, TInt ) |
IMPORT_C TInt | Move ( TInt , TInt ) |
IMPORT_C RBkNode | OpenItemL ( TInt ) |
Inherited Attributes | |
---|---|
RBkNode::iItem |
IMPORT_C void | AppendL | ( | RBkNode & | aItem | ) |
Moves the given bookmark item into this folder. Append simply adds the bookmark to the end of the folder's child list.
RBkNode & aItem | The bookmark item to add |
IMPORT_C TInt | Index | ( | const RBkNode & | aItem | ) | const |
Gets the index of the child with the given ID.
const RBkNode & aItem | Id of the bookmark item to be found |
IMPORT_C void | InsertL | ( | RBkNode & | aItem, |
TInt | aIndexPosition | |||
) |
Moves the given bookmark item into this folder. Insert adds the bookmark into a specific position in the folder's child list. The item is just added to the end if the specified index is greater than the number of current children.
IMPORT_C TInt | Move | ( | TInt | aOldPosition, |
TInt | aNewPosition | |||
) |
Shifts the position of a bookmark item in the child list.
IMPORT_C RBkNode | OpenItemL | ( | TInt | aIndex | ) |
Method for opening a handle to a child bookmark item by index value
TInt aIndex | Index position to retrieve |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.