Project

General

Profile

Actions

Feature #1273

closed

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

Added by Jan Goyvaerts almost 12 years ago. Updated over 11 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.

Actions #1

Updated by Koen Deforche almost 12 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*;

Actions #2

Updated by Koen Deforche over 11 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF