Go to the documentation of this file.
26 #ifndef SUIT_DATAOBJECT_H
27 #define SUIT_DATAOBJECT_H
45 #pragma warning( disable:4251 )
77 int childCount()
const;
83 void setPosition(
int);
88 bool autoDeleteChildren()
const;
89 virtual void setAutoDeleteChildren(
const bool );
91 virtual void children(
DataObjectList&,
const bool =
false )
const;
106 virtual void setModified(
bool modified);
108 virtual QString name()
const;
109 virtual QString text(
const int = NameId )
const;
110 virtual QPixmap icon(
const int = NameId )
const;
111 virtual QColor
color(
const ColorRole,
const int = NameId )
const;
112 virtual QString toolTip(
const int = NameId )
const;
113 virtual QString statusTip(
const int = NameId )
const;
114 virtual QString whatsThis(
const int = NameId )
const;
115 virtual QFont font(
const int = NameId )
const;
116 virtual int alignment(
const int = NameId )
const;
118 virtual bool expandable()
const;
119 virtual bool isVisible()
const;
120 virtual bool isDraggable()
const;
121 virtual bool isDropAccepted()
const;
123 virtual bool isEnabled()
const;
124 virtual bool isSelectable()
const;
125 virtual bool isCheckable(
const int = NameId )
const;
126 virtual bool renameAllowed(
const int = NameId )
const;
127 virtual bool setName(
const QString& name);
129 virtual bool isOn(
const int = NameId )
const;
130 virtual void setOn(
const bool,
const int = NameId );
132 virtual bool isOpen()
const;
133 virtual void setOpen(
const bool );
135 virtual void update();
136 virtual bool customSorting(
const int = NameId )
const;
137 virtual bool compare(
const QVariant&,
const QVariant&,
const int = NameId )
const;
140 virtual int groupId()
const;
143 static Signal* signal();
144 static bool connect(
const char*,
QObject*,
const char* );
145 static bool disconnect(
const char*,
QObject*,
const char* );
149 void dump(
const int indent = 2 )
const;
196 #pragma warning( default:4251 )
199 #endif // SUIT_DATAOBJECT_H