#include <formfile.h>
Lista de todos los miembros.
Tipos públicos |
enum | Who { WFormWindow = 1,
WFormCode = 2,
WAnyOrAll = WFormWindow | WFormCode
} |
enum | UihState { None,
Ok,
Deleted
} |
Señales |
void | somethingChanged (FormFile *) |
Métodos públicos |
| FormFile (const QString &fn, bool temp, Project *p, const char *name=0) |
| ~FormFile () |
void | setFormWindow (FormWindow *f) |
void | setEditor (SourceEditor *e) |
void | setFileName (const QString &fn) |
void | setCode (const QString &c) |
void | setModified (bool m, int who=WAnyOrAll) |
void | setCodeEdited (bool b) |
FormWindow * | formWindow () const |
SourceEditor * | editor () const |
QString | fileName () const |
QString | absFileName () const |
bool | supportsCodeFile () const |
QString | codeComment () const |
QString | codeFile () const |
QString | code () |
bool | isCodeEdited () const |
bool | loadCode () |
void | load () |
bool | save (bool withMsgBox=TRUE, bool ignoreModified=FALSE) |
bool | saveAs (bool ignoreModified=FALSE) |
bool | close () |
bool | closeEvent () |
bool | isModified (int who=WAnyOrAll) |
bool | hasFormCode () const |
void | createFormCode () |
void | syncCode () |
void | checkTimeStamp () |
bool | isUihFileUpToDate () |
void | addFunctionCode (MetaDataBase::Function function) |
void | removeFunctionCode (MetaDataBase::Function function) |
void | functionNameChanged (const QString &oldName, const QString &newName) |
void | functionRetTypeChanged (const QString &fuName, const QString &oldType, const QString &newType) |
void | showFormWindow () |
SourceEditor * | showEditor (bool askForUih=TRUE) |
QString | formName () const |
bool | isFake () const |
void | parseCode (const QString &txt, bool allowModify) |
void | addConnection (const QString &sender, const QString &signal, const QString &receiver, const QString &slot) |
void | removeConnection (const QString &sender, const QString &signal, const QString &receiver, const QString &slot) |
bool | hasTempFileName () const |
void | setCodeFileState (UihState) |
int | codeFileState () const |
bool | setupUihFile (bool askForUih=TRUE) |
Project * | project () const |
Métodos públicos estáticos |
static QString | createUnnamedFileName () |
Amigas |
class | SourceEditor |
Documentación de las enumeraciones miembro de la clase
- Valores de enumeraciones:
-
- Valores de enumeraciones:
WFormWindow |
|
WFormCode |
|
WAnyOrAll |
|
Documentación del constructor y destructor
Documentación de las funciones miembro
QString FormFile::absFileName |
( |
| ) |
const |
void FormFile::checkTimeStamp |
( |
| ) |
|
bool FormFile::close |
( |
void |
| ) |
|
bool FormFile::closeEvent |
( |
| ) |
|
QString FormFile::codeComment |
( |
| ) |
const |
QString FormFile::codeFile |
( |
| ) |
const |
int FormFile::codeFileState |
( |
| ) |
const |
void FormFile::createFormCode |
( |
| ) |
|
QString FormFile::createUnnamedFileName |
( |
| ) |
[static] |
QString FormFile::fileName |
( |
| ) |
const |
QString FormFile::formName |
( |
| ) |
const |
void FormFile::functionNameChanged |
( |
const QString & |
oldName, |
|
|
const QString & |
newName |
|
) |
| |
void FormFile::functionRetTypeChanged |
( |
const QString & |
fuName, |
|
|
const QString & |
oldType, |
|
|
const QString & |
newType |
|
) |
| |
bool FormFile::hasFormCode |
( |
| ) |
const |
bool FormFile::hasTempFileName |
( |
| ) |
const [inline] |
bool FormFile::isCodeEdited |
( |
| ) |
const |
bool FormFile::isFake |
( |
| ) |
const [inline] |
bool FormFile::isModified |
( |
int |
who = WAnyOrAll | ) |
|
bool FormFile::isUihFileUpToDate |
( |
| ) |
|
bool FormFile::loadCode |
( |
| ) |
|
void FormFile::parseCode |
( |
const QString & |
txt, |
|
|
bool |
allowModify |
|
) |
| |
Project* FormFile::project |
( |
| ) |
const [inline] |
bool FormFile::save |
( |
bool |
withMsgBox = TRUE , |
|
|
bool |
ignoreModified = FALSE |
|
) |
| |
bool FormFile::saveAs |
( |
bool |
ignoreModified = FALSE | ) |
|
void FormFile::setCode |
( |
const QString & |
c | ) |
|
void FormFile::setCodeEdited |
( |
bool |
b | ) |
|
void FormFile::setCodeFileState |
( |
UihState |
s | ) |
|
void FormFile::setFileName |
( |
const QString & |
fn | ) |
|
void FormFile::setModified |
( |
bool |
m, |
|
|
int |
who = WAnyOrAll |
|
) |
| |
bool FormFile::setupUihFile |
( |
bool |
askForUih = TRUE | ) |
|
void FormFile::showFormWindow |
( |
| ) |
|
void FormFile::somethingChanged |
( |
FormFile * |
| ) |
[signal] |
bool FormFile::supportsCodeFile |
( |
| ) |
const [inline] |
void FormFile::syncCode |
( |
| ) |
|
Documentación de las funciones relacionadas y clases amigas
La documentación para esta clase fue generada a partir de los siguientes ficheros: