class toTemplateSQL

This class represent an item that when expanded will execute an SQL statement and create child items which are the result of the query. More...

Definition#include <totemplate.h>
InheritstoTemplateItem [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Protected Methods


Detailed Description

This class represent an item that when expanded will execute an SQL statement and create child items which are the result of the query.

 toTemplateSQL (toTemplateItem *parent, const QString &name,const QString &sql)

toTemplateSQL

[protected]

Create an item.

Parameters:
connConnection to query.
parentParent of this item.
nameContents of the first column of the item.
sqlSQL statement.

 toTemplateSQL (toConnection &conn,toTemplateItem *parent, const QString &name,const QString &sql)

toTemplateSQL

Create an item.

Parameters:
connConnection to query.
parentParent of this item.
nameContents of the first column of the item.
sqlSQL statement.

toConnectionconnection ()

connection

[virtual]

Get connection of this item.

Returns: Reference to connection.

toTemplateItemcreateChild (const QString &name)

createChild

[virtual]

Create a child of this item.

Parameters:
nameName of the child.

Returns: A newly created item.

toQList  parameters (void)

parameters

[virtual]

Get parameters to pass to query.

Returns: List of strings to pass as input parameters to query

void  expand (void)

expand

[virtual]

Reimplemented for internal reasons.

Reimplemented from toTemplateItem.

friend class toTemplateSQLObject

toTemplateSQLObject


Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.