BibleTime
Public Types | Public Member Functions | Private Attributes | List of all members
BTMimeData Class Reference

#include <BtMimeData.h>

Inheritance diagram for BTMimeData:

Public Types

using ItemList = QList< BookmarkItem >
 

Public Member Functions

ItemList const & bookmarks () const noexcept
 
 BTMimeData (ItemList bookmarks)
 

Private Attributes

ItemList m_bookmarkList
 

Detailed Description

Represents the Drag'n'Drop data. Inherits QMimeData as described in its documentation, "storing custom data in a QMimeData object": approach 3. Any custom data may be added and extracted as with QMimeData, but this class includes also a list of bookmark items. For further documentation see http://doc.trolltech.com/4.3/dnd.html

Definition at line 31 of file BtMimeData.h.

Member Typedef Documentation

◆ ItemList

Type for bookmark item list. Usage: BTMimeData::ItemList.

Definition at line 38 of file BtMimeData.h.

Constructor & Destructor Documentation

◆ BTMimeData()

BTMimeData::BTMimeData ( ItemList  bookmarks)

Definition at line 18 of file BtMimeData.cpp.

Member Function Documentation

◆ bookmarks()

ItemList const& BTMimeData::bookmarks ( ) const
inlinenoexcept
Returns
the bookmarks list.

Definition at line 45 of file BtMimeData.h.

References m_bookmarkList.

Member Data Documentation

◆ m_bookmarkList

ItemList BTMimeData::m_bookmarkList
private

Definition at line 49 of file BtMimeData.h.

Referenced by bookmarks().


The documentation for this class was generated from the following files: