te::qt::widgets::ForeignKeyItem Class Reference

#include <ForeignKeyItem.h>

Inheritance diagram for te::qt::widgets::ForeignKeyItem:
te::qt::widgets::AbstractDataSourceTreeItem

Public Member Functions

bool canFetchMore () const
 
int columnCount () const
 
QVariant data (int column, int role) const
 
void fetchMore ()
 
Qt::ItemFlags flags () const
 
 ForeignKeyItem (te::da::ForeignKey *fk, AbstractDataSourceTreeItem *parent)
 Constructor. More...
 
te::da::ForeignKeygetForeignKey () const
 
QMenu * getMenu (QWidget *parent=0) const
 
bool hasChildren () const
 
bool setData (const QVariant &value, int role=Qt::EditRole)
 
 ~ForeignKeyItem ()
 

Private Attributes

te::da::ForeignKeym_fk
 

Detailed Description

Definition at line 40 of file ForeignKeyItem.h.

Constructor & Destructor Documentation

te::qt::widgets::ForeignKeyItem::ForeignKeyItem ( te::da::ForeignKey fk,
AbstractDataSourceTreeItem parent 
)

Constructor.

Parameters
fkThe foreign-key to be showned. If it is associated to a dataset the item will not take its ownership, otherwise, it will.
parentThe parent item in the tree or NULL if it is a root item.
te::qt::widgets::ForeignKeyItem::~ForeignKeyItem ( )

Member Function Documentation

bool te::qt::widgets::ForeignKeyItem::canFetchMore ( ) const
virtual
int te::qt::widgets::ForeignKeyItem::columnCount ( ) const
virtual
QVariant te::qt::widgets::ForeignKeyItem::data ( int  column,
int  role 
) const
virtual
void te::qt::widgets::ForeignKeyItem::fetchMore ( )
virtual
Qt::ItemFlags te::qt::widgets::ForeignKeyItem::flags ( ) const
virtual
te::da::ForeignKey* te::qt::widgets::ForeignKeyItem::getForeignKey ( ) const
QMenu* te::qt::widgets::ForeignKeyItem::getMenu ( QWidget *  parent = 0) const
virtual
bool te::qt::widgets::ForeignKeyItem::hasChildren ( ) const
virtual
bool te::qt::widgets::ForeignKeyItem::setData ( const QVariant &  value,
int  role = Qt::EditRole 
)
virtual

Member Data Documentation

te::da::ForeignKey* te::qt::widgets::ForeignKeyItem::m_fk
private

Definition at line 76 of file ForeignKeyItem.h.


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