}
/*!
- \brief Check if the object is dragable.
+ \brief Check if the object is draggable.
This method can be re-implemented in the subclasses.
\return \c true if it is possible to drag this object
*/
-bool LightApp_DataObject::isDragable() const
+bool LightApp_DataObject::isDraggable() const
{
LightApp_Module* aModule = dynamic_cast<LightApp_Module*>(module());
if (aModule) {
- return aModule->isDragable(this);
+ return aModule->isDraggable(this);
}
return false;
}
virtual QVariant customData(Qtx::CustomDataType type);
virtual bool isVisible() const;
- virtual bool isDragable() const;
+ virtual bool isDraggable() const;
virtual bool isDropAccepted() const;
virtual bool renameAllowed( const int = NameId ) const;
virtual bool setName( const QString& );
virtual method
\return true if module allows dragging the given object
*/
-bool LightApp_Module::isDragable( const SUIT_DataObject* /*what*/ ) const
+bool LightApp_Module::isDraggable( const SUIT_DataObject* /*what*/ ) const
{
return false;
}
virtual bool canCopy() const;
virtual bool canPaste() const;
- virtual bool isDragable( const SUIT_DataObject* ) const;
+ virtual bool isDraggable( const SUIT_DataObject* ) const;
virtual bool isDropAccepted( const SUIT_DataObject* ) const;
virtual void dropObjects( const DataObjectList&, SUIT_DataObject*,
const int, Qt::DropAction );
\return \c true if it is possible to drag this object
*/
-bool SUIT_DataObject::isDragable() const
+bool SUIT_DataObject::isDraggable() const
{
return false;
}
virtual bool expandable() const;
virtual bool isVisible() const;
- virtual bool isDragable() const;
+ virtual bool isDraggable() const;
virtual bool isDropAccepted() const;
virtual bool isEnabled() const;
f = f | Qt::ItemIsEditable;
// data object can be dragged
- if (obj->isDragable())
+ if (obj->isDraggable())
f = f | Qt::ItemIsDragEnabled;
// another data object(s) can be dropped on this one