Project

General

Profile

Feature #1273

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

Added by Jan Goyvaerts over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Michael Vilsker
Category:
-
Target version:
Start date:
04/27/2012
Due date:
% Done:

0%

Estimated time:

Description

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

#1

Updated by Koen Deforche over 10 years ago

  • Status changed from New to InProgress
  • 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 about 10 years ago

  • Status changed from InProgress to Resolved
#3

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF