18 #ifndef BERRYSAVEABLE_H_
19 #define BERRYSAVEABLE_H_
29 struct IWorkbenchPage;
30 struct IWorkbenchPart;
61 typedef QSet<Saveable::Pointer> Set;
80 virtual QString
GetName()
const = 0;
90 virtual QString GetToolTipText()
const = 0;
98 virtual QIcon GetImageDescriptor()
const = 0;
118 virtual void DoSave() = 0;
132 virtual bool IsDirty()
const = 0;
145 virtual bool operator<(
const Object*
object)
const = 0;
169 virtual uint HashCode()
const = 0;
280 virtual Object* GetAdapter(
const QString& adapter)
const override;
Light weight base class for most BlueBerry classes.
Implements transparent reference counting.
#define berryObjectMacro(...)
static std::string GetName(std::string fileName, std::string suffix)