RBkFolder Class Reference
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.
Constructor & Destructor Documentation
Member Functions Documentation
AppendL(RBkNode &)
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.
Parameters
RBkNode & aItem | The bookmark item to add |
Count()
IMPORT_C TInt | Count | ( | ) | const |
Returns the number of items in the folder's child list
Folder()
Not intended for external use
Index(const RBkNode &)
Gets the index of the child with the given ID.
Parameters
const RBkNode & aItem | Id of the bookmark item to be found |
InsertL(RBkNode &, TInt)
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.
Parameters
RBkNode & aItem | The bookmark item to add |
TInt aIndexPosition | The index position in which to place the bookmark item |
Move(TInt, TInt)
Shifts the position of a bookmark item in the child list.
Parameters
TInt aOldPosition | The index position of the bookmark item to be moved |
TInt aNewPosition | The new index position where the bookmark item is to be placed |
OpenItemL(TInt)
Method for opening a handle to a child bookmark item by index value
Parameters
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.