Source: /app/hbasic/hbasic/hbdata/hbquery_column.h


Annotated List
Files
Globals
Hierarchy
Index

#ifndef HBQUERYCOLUMN_H
#define HBQUERYCOLUMN_H

class HBDbColumn;

#include 
#include "hbobject.h"

class HBQueryColumn : public QObject, public HBObject
{
public:
	HBQueryColumn( char *name );

	/* Pointer to normal column description from table. */

	HBDbColumn *table_column;

	short column_width;
	short column_pos;
	short visible;
	short sort_type;   // 0=none 1=asc 2=desc 3=group

	/* Function type = group_by ... */
	short function_type;

	/* String used to create "where condition" in select */
	QString *value_string;

	/* alias name for column */
	QString *alias_string;

	/* Command for current column in update string if used */
	/* update ... set col1 = col2 * 5 --> update_command = col2 * 5 stored for col1 */
	QString *update_command;

	/* Name of column used in function < function_string = tab1 */
	QString *function_string;
};

#endif


Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.