Project

General

Profile

Actions

Feature #1273

closed
JG MV

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

Feature #1273: Provide mime-type setter method for WStandardItemModel (MODEL-1)

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

KD Updated by Koen Deforche about 14 years ago Actions #1

  • 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*;

KD Updated by Koen Deforche almost 14 years ago Actions #2

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche almost 14 years ago Actions #3

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom