Feature #1273

Provide mime-type setter method for WStandardItemModel (MODEL-1)

Added by Jan Goyvaerts about 1 year ago. Updated 7 months ago.

Status:ClosedStart date:04/27/2012
Priority:NormalDue date:
Assignee:Michael Vilsker% Done:

0%

Category:-
Target version:3.2.3

Description

Besides the getter method. Currently a subclass must be made for the sole purpose of setting the mime type to a different value.

History

#1 Updated by Koen Deforche 11 months ago

  • Status changed from New to Assigned
  • Assignee set to Michael Vilsker
  • Target version set to 3.2.3

Add setMimeType() method and specialize virtual WAbstractItemModel::mimeType() method in WStandardItemModel:

return mimeType_.empty() ? WAbstractItemModel::mimeType() : mimeType_;

#2 Updated by Koen Deforche 7 months ago

  • Status changed from Assigned to Resolved

#3 Updated by Koen Deforche 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF