/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: HbDataFormModel stub
*
*/
// INCLUDE FILES
#include "hbdataformmodel.h"
// ---------------------------------------------------------------------------
// HbDataFormModel
// ---------------------------------------------------------------------------
//
HbDataFormModel::HbDataFormModel(QObject *parent) : QAbstractItemModel(parent)
{
}
// ---------------------------------------------------------------------------
// ~HbDataFormModel
// ---------------------------------------------------------------------------
//
HbDataFormModel::~HbDataFormModel()
{
}
// ---------------------------------------------------------------------------
// itemFromIndex
// ---------------------------------------------------------------------------
//
HbDataFormModelItem* HbDataFormModel::itemFromIndex(const QModelIndex &index) const
{
Q_UNUSED(index);
return mItemReturnValue;
}
// ---------------------------------------------------------------------------
// index
// ---------------------------------------------------------------------------
//
QModelIndex HbDataFormModel::index(int row, int column, const QModelIndex &parent) const
{
Q_UNUSED(parent);
return createIndex(row, column);
}
// ---------------------------------------------------------------------------
// parent
// ---------------------------------------------------------------------------
//
QModelIndex HbDataFormModel::parent(const QModelIndex &child) const
{
Q_UNUSED(child);
return QModelIndex();
}
// ---------------------------------------------------------------------------
// rowCount
// ---------------------------------------------------------------------------
//
int HbDataFormModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return 0;
}
// ---------------------------------------------------------------------------
// columnCount
// ---------------------------------------------------------------------------
//
int HbDataFormModel::columnCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return 0;
}
// ---------------------------------------------------------------------------
// data
// ---------------------------------------------------------------------------
//
QVariant HbDataFormModel::data(const QModelIndex &index, int role) const
{
Q_UNUSED(index);
Q_UNUSED(role);
return QVariant();
}