Project

General

Profile

Actions

Feature #1273

closed

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

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

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF