Eneboo - Documentación para desarrolladores
Clases | Métodos públicos | Métodos públicos estáticos
Referencia de la Clase MetaDataBase

Database which stores meta data of widgets. Más...

#include <metadatabase.h>

Lista de todos los miembros.

Clases

struct  Connection
struct  CustomWidget
struct  Function
struct  Include
struct  MetaInfo
struct  Property
struct  Variable

Métodos públicos

 MetaDataBase ()

Métodos públicos estáticos

static void clearDataBase ()
static void addEntry (QObject *o)
static void removeEntry (QObject *o)
static void setPropertyChanged (QObject *o, const QString &property, bool changed)
static bool isPropertyChanged (QObject *o, const QString &property)
static void setPropertyComment (QObject *o, const QString &property, const QString &comment)
static QString propertyComment (QObject *o, const QString &property)
static QStringList changedProperties (QObject *o)
static void setFakeProperty (QObject *o, const QString &property, const QVariant &value)
static QVariant fakeProperty (QObject *o, const QString &property)
static QMap< QString, QVariant > * fakeProperties (QObject *o)
static void setSpacing (QObject *o, int spacing)
static int spacing (QObject *o)
static void setMargin (QObject *o, int margin)
static int margin (QObject *o)
static void setResizeMode (QObject *o, const QString &mode)
static QString resizeMode (QObject *o)
static void addConnection (QObject *o, QObject *sender, const QCString &signal, QObject *receiver, const QCString &slot, bool addCode=TRUE)
static void removeConnection (QObject *o, QObject *sender, const QCString &signal, QObject *receiver, const QCString &slot)
static bool hasConnection (QObject *o, QObject *sender, const QCString &signal, QObject *receiver, const QCString &slot)
static void setupConnections (QObject *o, const QValueList< LanguageInterface::Connection > &conns)
static QValueList< Connectionconnections (QObject *o)
static QValueList< Connectionconnections (QObject *o, QObject *sender, QObject *receiver)
static QValueList< Connectionconnections (QObject *o, QObject *object)
static void doConnections (QObject *o)
static void addFunction (QObject *o, const QCString &function, const QString &specifier, const QString &access, const QString &type, const QString &language, const QString &returnType)
static void removeFunction (QObject *o, const QCString &function, const QString &specifier, const QString &access, const QString &type, const QString &language, const QString &returnType)
static void removeFunction (QObject *o, const QString &function)
static QValueList< FunctionfunctionList (QObject *o, bool onlyFunctions=FALSE)
static QValueList< FunctionslotList (QObject *o)
static bool isSlotUsed (QObject *o, const QCString &slot)
static bool hasFunction (QObject *o, const QCString &function, bool onlyCustom=FALSE)
static bool hasSlot (QObject *o, const QCString &slot, bool onlyCustom=FALSE)
static void changeFunction (QObject *o, const QString &function, const QString &newName, const QString &returnType)
static void changeFunctionAttributes (QObject *o, const QString &oldName, const QString &newName, const QString &specifier, const QString &access, const QString &type, const QString &language, const QString &returnType)
static QString languageOfFunction (QObject *o, const QCString &function)
static void setFunctionList (QObject *o, const QValueList< Function > &functionList)
static bool addCustomWidget (CustomWidget *w)
static void removeCustomWidget (CustomWidget *w)
static QPtrList< CustomWidget > * customWidgets ()
static CustomWidgetcustomWidget (int id)
static bool isWidgetNameUsed (CustomWidget *w)
static bool hasCustomWidget (const QString &className)
static void setTabOrder (QWidget *w, const QWidgetList &order)
static QWidgetList tabOrder (QWidget *w)
static void setIncludes (QObject *o, const QValueList< Include > &incs)
static QValueList< Includeincludes (QObject *o)
static void setForwards (QObject *o, const QStringList &fwds)
static QStringList forwards (QObject *o)
static void setVariables (QObject *o, const QValueList< Variable > &vars)
static void addVariable (QObject *o, const QString &name, const QString &access)
static void removeVariable (QObject *o, const QString &name)
static QValueList< Variablevariables (QObject *o)
static bool hasVariable (QObject *o, const QString &name)
static QString extractVariableName (const QString &name)
static void setSignalList (QObject *o, const QStringList &sigs)
static QStringList signalList (QObject *o)
static void setMetaInfo (QObject *o, MetaInfo mi)
static MetaInfo metaInfo (QObject *o)
static void setCursor (QWidget *w, const QCursor &c)
static QCursor cursor (QWidget *w)
static void setPixmapArgument (QObject *o, int pixmap, const QString &arg)
static QString pixmapArgument (QObject *o, int pixmap)
static void clearPixmapArguments (QObject *o)
static void setPixmapKey (QObject *o, int pixmap, const QString &arg)
static QString pixmapKey (QObject *o, int pixmap)
static void clearPixmapKeys (QObject *o)
static void setColumnFields (QObject *o, const QMap< QString, QString > &columnFields)
static QMap< QString, QStringcolumnFields (QObject *o)
static void setEditor (const QStringList &langs)
static bool hasEditor (const QString &lang)
static void setupInterfaceManagers (const QString &plugDir)
static QStringList languages ()
static LanguageInterfacelanguageInterface (const QString &lang)
static QString normalizeFunction (const QString &f)
static void clear (QObject *o)
static void setBreakPoints (QObject *o, const QValueList< uint > &l)
static void setBreakPointCondition (QObject *o, int line, const QString &condition)
static QValueList< uintbreakPoints (QObject *o)
static QString breakPointCondition (QObject *o, int line)
static void setExportMacro (QObject *o, const QString &macro)
static QString exportMacro (QObject *o)
static bool hasObject (QObject *o)

Descripción detallada

Database which stores meta data of widgets.

The MetaDataBase stores meta information of widgets, which are not stored directly in widgets (properties). This is e.g. the information which properties have been modified.


Documentación del constructor y destructor

MetaDataBase::MetaDataBase ( )

Documentación de las funciones miembro

void MetaDataBase::addConnection ( QObject o,
QObject sender,
const QCString signal,
QObject receiver,
const QCString slot,
bool  addCode = TRUE 
) [static]
bool MetaDataBase::addCustomWidget ( CustomWidget w) [static]
void MetaDataBase::addEntry ( QObject o) [static]
void MetaDataBase::addFunction ( QObject o,
const QCString function,
const QString specifier,
const QString access,
const QString type,
const QString language,
const QString returnType 
) [static]
void MetaDataBase::addVariable ( QObject o,
const QString name,
const QString access 
) [static]
QString MetaDataBase::breakPointCondition ( QObject o,
int  line 
) [static]
QValueList< uint > MetaDataBase::breakPoints ( QObject o) [static]
QStringList MetaDataBase::changedProperties ( QObject o) [static]
void MetaDataBase::changeFunction ( QObject o,
const QString function,
const QString newName,
const QString returnType 
) [static]
void MetaDataBase::changeFunctionAttributes ( QObject o,
const QString oldName,
const QString newName,
const QString specifier,
const QString access,
const QString type,
const QString language,
const QString returnType 
) [static]
void MetaDataBase::clear ( QObject o) [static]
void MetaDataBase::clearDataBase ( ) [static]
void MetaDataBase::clearPixmapArguments ( QObject o) [static]
void MetaDataBase::clearPixmapKeys ( QObject o) [static]
QMap< QString, QString > MetaDataBase::columnFields ( QObject o) [static]
QValueList< MetaDataBase::Connection > MetaDataBase::connections ( QObject o) [static]
QValueList< MetaDataBase::Connection > MetaDataBase::connections ( QObject o,
QObject sender,
QObject receiver 
) [static]
QValueList< MetaDataBase::Connection > MetaDataBase::connections ( QObject o,
QObject object 
) [static]
QCursor MetaDataBase::cursor ( QWidget w) [static]
MetaDataBase::CustomWidget * MetaDataBase::customWidget ( int  id) [static]
QPtrList< MetaDataBase::CustomWidget > * MetaDataBase::customWidgets ( ) [static]
void MetaDataBase::doConnections ( QObject o) [static]
QString MetaDataBase::exportMacro ( QObject o) [static]
QString MetaDataBase::extractVariableName ( const QString name) [static]
QMap< QString, QVariant > * MetaDataBase::fakeProperties ( QObject o) [static]
QVariant MetaDataBase::fakeProperty ( QObject o,
const QString property 
) [static]
QStringList MetaDataBase::forwards ( QObject o) [static]
QValueList< MetaDataBase::Function > MetaDataBase::functionList ( QObject o,
bool  onlyFunctions = FALSE 
) [static]
bool MetaDataBase::hasConnection ( QObject o,
QObject sender,
const QCString signal,
QObject receiver,
const QCString slot 
) [static]
bool MetaDataBase::hasCustomWidget ( const QString className) [static]
bool MetaDataBase::hasEditor ( const QString lang) [static]
bool MetaDataBase::hasFunction ( QObject o,
const QCString function,
bool  onlyCustom = FALSE 
) [static]
bool MetaDataBase::hasObject ( QObject o) [static]
bool MetaDataBase::hasSlot ( QObject o,
const QCString slot,
bool  onlyCustom = FALSE 
) [static]
bool MetaDataBase::hasVariable ( QObject o,
const QString name 
) [static]
QValueList< MetaDataBase::Include > MetaDataBase::includes ( QObject o) [static]
bool MetaDataBase::isPropertyChanged ( QObject o,
const QString property 
) [static]
bool MetaDataBase::isSlotUsed ( QObject o,
const QCString slot 
) [static]
bool MetaDataBase::isWidgetNameUsed ( CustomWidget w) [static]
LanguageInterface * MetaDataBase::languageInterface ( const QString lang) [static]
QString MetaDataBase::languageOfFunction ( QObject o,
const QCString function 
) [static]
QStringList MetaDataBase::languages ( ) [static]
int MetaDataBase::margin ( QObject o) [static]
MetaDataBase::MetaInfo MetaDataBase::metaInfo ( QObject o) [static]
QString MetaDataBase::normalizeFunction ( const QString f) [static]
QString MetaDataBase::pixmapArgument ( QObject o,
int  pixmap 
) [static]
QString MetaDataBase::pixmapKey ( QObject o,
int  pixmap 
) [static]
QString MetaDataBase::propertyComment ( QObject o,
const QString property 
) [static]
void MetaDataBase::removeConnection ( QObject o,
QObject sender,
const QCString signal,
QObject receiver,
const QCString slot 
) [static]
void MetaDataBase::removeCustomWidget ( CustomWidget w) [static]
void MetaDataBase::removeEntry ( QObject o) [static]
void MetaDataBase::removeFunction ( QObject o,
const QString function 
) [static]
void MetaDataBase::removeFunction ( QObject o,
const QCString function,
const QString specifier,
const QString access,
const QString type,
const QString language,
const QString returnType 
) [static]
void MetaDataBase::removeVariable ( QObject o,
const QString name 
) [static]
QString MetaDataBase::resizeMode ( QObject o) [static]
void MetaDataBase::setBreakPointCondition ( QObject o,
int  line,
const QString condition 
) [static]
void MetaDataBase::setBreakPoints ( QObject o,
const QValueList< uint > &  l 
) [static]
void MetaDataBase::setColumnFields ( QObject o,
const QMap< QString, QString > &  columnFields 
) [static]
void MetaDataBase::setCursor ( QWidget w,
const QCursor c 
) [static]
void MetaDataBase::setEditor ( const QStringList langs) [static]
void MetaDataBase::setExportMacro ( QObject o,
const QString macro 
) [static]
void MetaDataBase::setFakeProperty ( QObject o,
const QString property,
const QVariant value 
) [static]
void MetaDataBase::setForwards ( QObject o,
const QStringList fwds 
) [static]
void MetaDataBase::setFunctionList ( QObject o,
const QValueList< Function > &  functionList 
) [static]
void MetaDataBase::setIncludes ( QObject o,
const QValueList< Include > &  incs 
) [static]
void MetaDataBase::setMargin ( QObject o,
int  margin 
) [static]
void MetaDataBase::setMetaInfo ( QObject o,
MetaInfo  mi 
) [static]
void MetaDataBase::setPixmapArgument ( QObject o,
int  pixmap,
const QString arg 
) [static]
void MetaDataBase::setPixmapKey ( QObject o,
int  pixmap,
const QString arg 
) [static]
void MetaDataBase::setPropertyChanged ( QObject o,
const QString property,
bool  changed 
) [static]
void MetaDataBase::setPropertyComment ( QObject o,
const QString property,
const QString comment 
) [static]
void MetaDataBase::setResizeMode ( QObject o,
const QString mode 
) [static]
void MetaDataBase::setSignalList ( QObject o,
const QStringList sigs 
) [static]
void MetaDataBase::setSpacing ( QObject o,
int  spacing 
) [static]
void MetaDataBase::setTabOrder ( QWidget w,
const QWidgetList order 
) [static]
void MetaDataBase::setupConnections ( QObject o,
const QValueList< LanguageInterface::Connection > &  conns 
) [static]
void MetaDataBase::setupInterfaceManagers ( const QString plugDir) [static]
void MetaDataBase::setVariables ( QObject o,
const QValueList< Variable > &  vars 
) [static]
QStringList MetaDataBase::signalList ( QObject o) [static]
QValueList< MetaDataBase::Function > MetaDataBase::slotList ( QObject o) [static]
int MetaDataBase::spacing ( QObject o) [static]
QWidgetList MetaDataBase::tabOrder ( QWidget w) [static]
QValueList< MetaDataBase::Variable > MetaDataBase::variables ( QObject o) [static]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'