GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • tmodelobject.h
  • tmodelobject.cpp

This view

  • Original page
  • New address

GeezerVison is showing api-reference.treefrogframework.org — TreeFrogFramework: TModelObject Class Reference

TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TModelObject Class Referenceabstract

#include <tmodelobject.h>

Inheritance diagram for TModelObject:
Inheritance graph
[legend]
Collaboration diagram for TModelObject:
Collaboration graph
[legend]

Public Member Functions

 TModelObject ()
 
virtual ~TModelObject ()
 
virtual bool isNull () const =0
 
virtual bool create ()=0
 
virtual bool update ()=0
 
virtual bool save ()=0
 
virtual bool remove ()=0
 
virtual void setProperties (const QVariantMap &value)
 
virtual void clear ()
 
virtual QVariantMap toVariantMap () const
 
virtual QStringList propertyNames () const
 

Detailed Description

The TModelObject class provides an abstract base for model objects.

Constructor & Destructor Documentation

◆ TModelObject()

TModelObject::TModelObject ( )
inline

◆ ~TModelObject()

virtual TModelObject::~TModelObject ( )
inlinevirtual

Member Function Documentation

◆ clear()

void TModelObject::clear ( )
virtual

Clears the contents of the object.

Reimplemented in TSqlObject.

◆ create()

virtual bool TModelObject::create ( )
pure virtual

Implemented in TSqlObject.

◆ isNull()

virtual bool TModelObject::isNull ( ) const
pure virtual

Implemented in TSqlObject.

◆ propertyNames()

QStringList TModelObject::propertyNames ( ) const
virtual

Returns a list of the property names.

◆ remove()

virtual bool TModelObject::remove ( )
pure virtual

Implemented in TSqlObject.

◆ save()

virtual bool TModelObject::save ( )
pure virtual

Implemented in TSqlObject.

◆ setProperties()

void TModelObject::setProperties ( const QVariantMap &  value)
virtual

Set the values to the properties of the object.

◆ toVariantMap()

QVariantMap TModelObject::toVariantMap ( ) const
virtual

Returns a map object of the properties.

◆ update()

virtual bool TModelObject::update ( )
pure virtual

Implemented in TSqlObject.


The documentation for this class was generated from the following files:
  • src/tmodelobject.h
  • src/tmodelobject.cpp
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.