Source Code (Use browser search to find items of interest.)
Class Index
killustrator'SetPropertyCmd (./koffice/killustrator/share/SetPropertyCmd.h:32)
class SetPropertyCmd : public ObjectManipCmd {
public:
SetPropertyCmd (GDocument* doc, const GObject::OutlineInfo& oinfo,
const GObject::FillInfo& finfo);
SetPropertyCmd (GObject* obj, const GObject::OutlineInfo& oinfo,
const GObject::FillInfo& finfo);
SetPropertyCmd (GDocument* doc, const GObject::OutlineInfo& oinfo,
const GObject::FillInfo& finfo,
const GText::TextInfo& tinfo);
void execute ();
private:
GObject::OutlineInfo outline;
GObject::FillInfo fill;
GText::TextInfo tprops;
};
killustrator'SetPropertyCmd::SetPropertyCmd() (./koffice/killustrator/share/SetPropertyCmd.cc:29)
SetPropertyCmd::SetPropertyCmd (GDocument* doc,
const GObject::OutlineInfo& oinfo,
const GObject::FillInfo& finfo) :
ObjectManipCmd (doc, i18n("Set property")) {
outline = oinfo;
fill = finfo;
tprops.mask = 0;
}
killustrator'SetPropertyCmd::SetPropertyCmd() (./koffice/killustrator/share/SetPropertyCmd.cc:38)
SetPropertyCmd::SetPropertyCmd (GObject* obj,
const GObject::OutlineInfo& oinfo,
const GObject::FillInfo& finfo) :
ObjectManipCmd (obj, i18n("Set property")) {
outline = oinfo;
fill = finfo;
tprops.mask = 0;
}
killustrator'SetPropertyCmd::SetPropertyCmd() (./koffice/killustrator/share/SetPropertyCmd.cc:47)
SetPropertyCmd::SetPropertyCmd (GDocument* doc,
const GObject::OutlineInfo& oinfo,
const GObject::FillInfo& finfo,
const GText::TextInfo& tinfo) :
ObjectManipCmd (doc, i18n("Set property")) {
outline = oinfo;
fill = finfo;
tprops = tinfo;
}
killustrator'SetPropertyCmd::execute() (./koffice/killustrator/share/SetPropertyCmd.cc:57)
void SetPropertyCmd::execute () {
// save the states
ObjectManipCmd::execute ();
for (unsigned int i = 0; i < objects.count (); i++) {
objects[i]->setOutlineInfo (outline);
objects[i]->setFillInfo (fill);
if (tprops.mask && objects[i]->isA ("GText")) {
GText* tobj = (GText *) objects[i];
tobj->setTextInfo (tprops);
}
}
}