class CProject

The class CProject represents the data structures for one project in HBasic. More...

Definition#include </app/hbasic/hbasic/src/project.h>
InheritsHBObject [public ], QObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

The class CProject represents the data structures for one project in HBasic.

It holds all parts of the project like source files in substructures and exports some common functions like saving and loding the project.

 CProject ( short project_number, char *name )

CProject

Create a new project with the number that should be inserted into the name of the project.

 ~CProject ( void )

~CProject

CBasicDocumentcreateNewSource ( short new_source_type, short create_with_form, short range_type )

createNewSource

Create a new source code document for this project.

void  createNewCalcSheet ( void )

createNewCalcSheet

Create a calculation sheet editor for this project.

void  editSheet ( HBSheet *sheet_ptr )

editSheet

void  createGlobalSource ( void )

createGlobalSource

int  compileGlobalSource ( void )

compileGlobalSource

char * code_start_forminit

code_start_forminit

long code_init_length

code_init_length

short indent_mode

indent_mode

short indent_blank

indent_blank

short use_mdi_window

use_mdi_window

MENUTOOLBAR_DESC mtbar_desc

mtbar_desc

HBDatabasegetHBDatabase ( void )

getHBDatabase

void  saveProject ( QFile *f )

saveProject

void  saveProjectAscii ( QFile *f )

saveProjectAscii

void  saveProjectForCompiler ( QFile *f )

saveProjectForCompiler

void  preparse_compute_classoffset ( void )

preparse_compute_classoffset

short  preparse_create_formhead ( void )

preparse_create_formhead

short  preparseAllModules ( void )

preparseAllModules

void  createFormTypeDesc ( void )

createFormTypeDesc

void  setEditFont ( void )

setEditFont

int  get_number_of_forms ( void )

get_number_of_forms

int  compileAllModules ( void )

compileAllModules

void  comp_create_sub_description ( void )

comp_create_sub_description

void  comp_create_class_description ( void )

comp_create_class_description

void  create_class_sub_info ( CLASS_DESC *class_desc_ptr )

create_class_sub_info

void  create_class_property_info ( CLASS_DESC *class_desc_ptr )

create_class_property_info

void  create_class_localvar_info ( CLASS_DESC *class_desc_ptr )

create_class_localvar_info

void  comp_create_class_desc2 ( CLASS_DESC *class_desc_ptr )

comp_create_class_desc2

void  listMacros ( QListView *lv_parent )

listMacros

CBasicDocumentfindTopLevelWindow ( short * )

findTopLevelWindow

void  saveCurrentLine ( void )

saveCurrentLine

void  redrawSourceWindows ( void )

redrawSourceWindows

void  createSourceFromFile ( QFile *save_file )

createSourceFromFile

short  createModuleInit ( void )

createModuleInit

void  createGuiForFile ( QFile *save_file )

createGuiForFile

CBasicDocumentcreateNewClass ( void )

createNewClass

void  adjustEventOffset ( void )

adjustEventOffset

short  findFormIdentifier ( CBasicDocument *source_ptr, FACT_DESC *expr_desc_ptr )

findFormIdentifier

short  findVarnameInModule ( CBasicDocument *form_desc_ptr, FACT_DESC *expr_desc_ptr )

findVarnameInModule

short  getPropertyParlist ( SUB_DESC *first_parlist, FACT_DESC *fact_desc_ptr )

getPropertyParlist

short  findClassProperty ( CBasicDocument *source_desc_ptr, FACT_DESC *expr_desc_ptr)

findClassProperty

void  closeAllFiles ( void )

closeAllFiles

void  addDatabase ( HBDatabase *new_db_desc )

addDatabase

CBasicDocumentfindErrorLine ( unsigned char **error_line_ptr )

findErrorLine

void  assignClassEventAddress ( void )

assignClassEventAddress

void  co_create_rt_header ( void )

co_create_rt_header

void  saveProjectCode ( QFile *code_file )

saveProjectCode

void  saveDatabaseDesign ( QFile *f )

saveDatabaseDesign

void  saveDatabaseQueries ( QFile *f )

saveDatabaseQueries

void  saveDbSqlStatements ( QFile *f )

saveDbSqlStatements

CBasicDocumentfindModuleName ( void )

findModuleName

void  findSourcePosition ( short show_source )

findSourcePosition

void  deleteQuery ( QString *query_name )

deleteQuery

void  deleteReport ( QString *report_name )

deleteReport

HBSheetcreateNewSheet ( void )

createNewSheet

void  deleteSheet ( HBSheet *sheet_ptr )

deleteSheet

void  deleteIcon ( HBIcon *icon_ptr )

deleteIcon

void  deleteStmt ( HBSqlStatement *stmt_ptr )

deleteStmt

void  addSqlStatement ( HBSqlStatement *stmt_ptr )

addSqlStatement

void  loadModule ( QFile *f )

loadModule

void  loadPictureEntry ( QFile *f, FILE_TAG_HEADER *ptr )

loadPictureEntry

void  loadSheetDescription ( QFile *f, FILE_TAG_HEADER *start_block )

loadSheetDescription

void  saveSheetDescription ( QFile *f )

saveSheetDescription

void  loadConnectList ( QFile *f, FILE_TAG_HEADER *start_block, HBQueryDesc *query_desc_ptr )

loadConnectList

void  freeParserStructures ( void )

freeParserStructures

void  saveDatabaseDescription ( QFile *f )

saveDatabaseDescription

void  saveReportDescription ( QFile *f )

saveReportDescription

void  loadReportDescription ( QFile *f, FILE_TAG_HEADER *start_block )

loadReportDescription

void  loadDatabaseDescription ( QFile *f, FILE_TAG_HEADER *ftag )

loadDatabaseDescription

void  loadDatabaseDesign ( QFile *f, FILE_TAG_HEADER *start_block )

loadDatabaseDesign

void  loadDbStmtDescription ( QFile *f, FILE_TAG_HEADER *start_block )

loadDbStmtDescription

void  createDbTableForm ( QString *table_name )

createDbTableForm

void  setChangedState ( void )

setChangedState

QString prj_path

prj_path

QString comp_path

comp_path

QString comp_name

comp_name

QString comp_options

comp_options

short qtc_include

qtc_include

short net_include

net_include

int project_state_saved

project_state_saved

CBasicDocument * current_source

current_source

QListViewItem * ptree_entry

ptree_entry

QListViewItem * ptree_prj_forms

ptree_prj_forms

QListViewItem * ptree_prj_class

ptree_prj_class

QListViewItem * ptree_prj_tables

ptree_prj_tables

QListViewItem * ptree_prj_queries

ptree_prj_queries

void  setWidgetGeometry ( QWidget *widget )

setWidgetGeometry

short  initMainFunctionCall ( void )

initMainFunctionCall

HBDatabase * project_db

project_db


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