ganeswidgets/src/hggrid.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 13:32:54 +0300
changeset 1 e48454f237ca
parent 0 89c329efa980
child 3 c863538fcbb6
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2010 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:
*
*/

#include <hgwidgets/hggrid.h>
#include "hggrid_p.h"
#include "hggridcontainer.h"

HgGrid::HgGrid( Qt::Orientation scrollDirection, QGraphicsItem *parent ):
    HgWidget( *new HgGridPrivate, parent )
{
    Q_D(HgGrid);
    d->q_ptr = this;

    d->init(scrollDirection);
}

HgGrid::HgGrid( Qt::Orientation scrollDirection, HgGridPrivate &dd, QGraphicsItem *parent) : 
    HgWidget( dd, parent )
{
    Q_D( HgGrid );
    d->q_ptr = this;    
    
    d->init(scrollDirection);
}


HgGrid::~HgGrid()
{
}

// EOF