Quark  0.1
BasicTreeModelBase Class Reference

#include <BasicTreeModelBase.h++>

Inheritance diagram for BasicTreeModelBase:

Public Types

enum  Option { None = 0, Sorted = 1 << 0, RootVisible = 1 << 1 }
 

Public Member Functions

 Q_DECLARE_FLAGS (Options, Option)
 
virtual ~BasicTreeModelBase ()
 
bool isSorted () const
 
bool isRootVisible () const
 
int fieldCount () const
 
const FieldgetField (int field) const
 
QString getFieldName (int field) const
 

Protected Member Functions

 BasicTreeModelBase (Options options=0, QObject *parent=NULL)
 
FieldaddField (const QString &name)
 

Member Enumeration Documentation

◆ Option

enum Option
Enumerator
None 
Sorted 
RootVisible 

Constructor & Destructor Documentation

◆ ~BasicTreeModelBase()

virtual ~BasicTreeModelBase ( )
virtual

◆ BasicTreeModelBase()

BasicTreeModelBase ( Options  options = 0,
QObject *  parent = NULL 
)
protected

Member Function Documentation

◆ addField()

Field& addField ( const QString &  name)
protected

◆ fieldCount()

int fieldCount ( ) const

◆ getField()

const Field& getField ( int  field) const

◆ getFieldName()

QString getFieldName ( int  field) const

◆ isRootVisible()

bool isRootVisible ( ) const

◆ isSorted()

bool isSorted ( ) const

◆ Q_DECLARE_FLAGS()

Q_DECLARE_FLAGS ( Options  ,
Option   
)

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