SciDAVis
1.D4
|
Private data managed by AbstractAspect. More...
#include <AspectPrivate.h>
Public Member Functions | |
void | addChild (AbstractAspect *child) |
QString | caption () const |
QString | captionSpec () const |
AbstractAspect * | child (int index) |
int | childCount () const |
QString | comment () const |
QDateTime | creationTime () const |
int | indexOfChild (const AbstractAspect *child) const |
void | insertChild (int index, AbstractAspect *child) |
QString | name () const |
AbstractAspect * | owner () |
AbstractAspect * | parent () |
Private (AbstractAspect *owner, const QString &name) | |
int | removeChild (AbstractAspect *child) |
void | setCaptionSpec (const QString &value) |
void | setComment (const QString &value) |
void | setCreationTime (const QDateTime &time) |
void | setName (const QString &value) |
QString | uniqueNameFor (const QString ¤t_name) const |
~Private () |
Static Public Attributes | |
static QHash< QString, QVariant > | g_defaults |
static QSettings * | g_settings |
Static Private Member Functions | |
static int | indexOfMatchingBrace (const QString &str, int start) |
Private Attributes | |
QString | d_caption_spec |
QList< AbstractAspect * > | d_children |
QString | d_comment |
QDateTime | d_creation_time |
QString | d_name |
AbstractAspect * | d_owner |
AbstractAspect * | d_parent |
Private data managed by AbstractAspect.
AbstractAspect::Private::Private | ( | AbstractAspect * | owner, |
const QString & | name | ||
) |
References d_creation_time.
AbstractAspect::Private::~Private | ( | ) |
References AbstractAspect::child().
void AbstractAspect::Private::addChild | ( | AbstractAspect * | child | ) |
References AbstractAspect::child(), and AbstractAspect::insertChild().
QString AbstractAspect::Private::caption | ( | ) | const |
Referenced by AbstractAspect::caption().
QString AbstractAspect::Private::captionSpec | ( | ) | const |
AbstractAspect * AbstractAspect::Private::child | ( | int | index | ) |
References AbstractAspect::childCount().
Referenced by AbstractAspect::child(), AspectChildMoveCmd::redo(), AbstractAspect::removeChild(), and AspectChildMoveCmd::undo().
int AbstractAspect::Private::childCount | ( | ) | const |
Referenced by AbstractAspect::addChild(), and AbstractAspect::childCount().
QString AbstractAspect::Private::comment | ( | ) | const |
Referenced by AbstractAspect::comment(), AspectCommentChangeCmd::redo(), and AbstractAspect::setComment().
QDateTime AbstractAspect::Private::creationTime | ( | ) | const |
int AbstractAspect::Private::indexOfChild | ( | const AbstractAspect * | child | ) | const |
References AbstractAspect::child().
Referenced by AbstractAspect::indexOfChild().
|
staticprivate |
void AbstractAspect::Private::insertChild | ( | int | index, |
AbstractAspect * | child | ||
) |
References AbstractAspect::aspectAboutToBeAdded(), AbstractAspect::aspectAboutToBeRemoved(), AbstractAspect::aspectAdded(), AbstractAspect::aspectDescriptionAboutToChange(), AbstractAspect::aspectDescriptionChanged(), AbstractAspect::aspectRemoved(), AbstractAspect::d_aspect_private, d_parent, and AbstractAspect::statusInfo().
Referenced by AspectChildMoveCmd::redo(), AspectChildReparentCmd::redo(), AspectChildRemoveCmd::undo(), AspectChildMoveCmd::undo(), and AspectChildReparentCmd::undo().
QString AbstractAspect::Private::name | ( | ) | const |
Referenced by AspectCaptionSpecChangeCmd::AspectCaptionSpecChangeCmd(), AspectChildAddCmd::AspectChildAddCmd(), AspectChildMoveCmd::AspectChildMoveCmd(), AspectChildRemoveCmd::AspectChildRemoveCmd(), AspectChildReparentCmd::AspectChildReparentCmd(), AspectCommentChangeCmd::AspectCommentChangeCmd(), AspectCreationTimeChangeCmd::AspectCreationTimeChangeCmd(), AspectNameChangeCmd::AspectNameChangeCmd(), AbstractAspect::name(), AspectNameChangeCmd::redo(), and AbstractAspect::setName().
|
inline |
References d_owner.
|
inline |
References d_parent.
Referenced by AbstractAspect::parentAspect(), and AbstractAspect::setName().
int AbstractAspect::Private::removeChild | ( | AbstractAspect * | child | ) |
References AbstractAspect::aspectAboutToBeRemoved(), AbstractAspect::aspectRemoved(), AbstractAspect::d_aspect_private, d_parent, AbstractAspect::index(), and AbstractAspect::indexOfChild().
Referenced by AspectChildRemoveCmd::redo(), AspectChildMoveCmd::redo(), AspectChildReparentCmd::redo(), AspectChildMoveCmd::undo(), and AspectChildReparentCmd::undo().
void AbstractAspect::Private::setCaptionSpec | ( | const QString & | value | ) |
Referenced by AspectCaptionSpecChangeCmd::redo().
void AbstractAspect::Private::setComment | ( | const QString & | value | ) |
Referenced by AspectCommentChangeCmd::redo().
void AbstractAspect::Private::setCreationTime | ( | const QDateTime & | time | ) |
Referenced by AspectCreationTimeChangeCmd::redo().
void AbstractAspect::Private::setName | ( | const QString & | value | ) |
Referenced by AspectNameChangeCmd::redo().
QString AbstractAspect::Private::uniqueNameFor | ( | const QString & | current_name | ) | const |
References AbstractAspect::child(), and AbstractAspect::name().
Referenced by AbstractAspect::addChild(), AbstractAspect::insertChild(), AbstractAspect::reparentChild(), and AbstractAspect::uniqueNameFor().
|
private |
|
private |
|
private |
|
private |
Referenced by Private().
|
private |
|
private |
Referenced by owner().
|
private |
Referenced by insertChild(), parent(), and removeChild().
|
static |
Referenced by AbstractAspect::global(), and AbstractAspect::setGlobalDefault().
|
static |
Referenced by AbstractAspect::global(), and AbstractAspect::setGlobal().