Timestamp:
May 3, 2011, 4:49:08 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

vendor: Imported qt-everywhere-opensource-src-4.7.2 from Nokia (excluding doc/html and doc/qch dirs generated from doc/src, and imports and templates dirs which are emtpy).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vendor/nokia/qt/current/demos/interview/model.cpp

    r649 r844  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    4646Model::Model(int rows, int columns, QObject *parent)
    4747    : QAbstractItemModel(parent),
     48
    4849      rc(rows), cc(columns),
    4950      tree(new QVector<Node>(rows, Node(0)))
     
    106107QVariant Model::headerData(int section, Qt::Orientation orientation, int role) const
    107108{
    108     static QIcon services(QPixmap(":/images/services.png"));
    109109    if (role == Qt::DisplayRole)
    110110        return QString::number(section);
Note: See TracChangeset for help on using the changeset viewer.