hgwidgets_plat/ganeswidgets_api/inc/hggrid.h
changeset 20 a60f8b6b1d32
parent 17 a10844a9914d
child 21 53314abf04ed
--- a/hgwidgets_plat/ganeswidgets_api/inc/hggrid.h	Fri Sep 17 15:55:58 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/*
-* 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:
-*
-*/
-
-#ifndef HGGRID_H
-#define HGGRID_H
-
-#include <hgwidgets/hgwidgets.h>
-
-class HgGridPrivate;
-
-class HG_WIDGETS_EXPORT HgGrid : public HgWidget
-{
-    Q_OBJECT
-    Q_PROPERTY(bool effect3dEnabled  READ effect3dEnabled  WRITE setEffect3dEnabled )
-    Q_PROPERTY(bool pinchEnabled  READ pinchEnabled  WRITE setPinchEnabled )
-	Q_PROPERTY(int rowCount  READ rowCount  WRITE setRowCount )
-public:
-
-    explicit HgGrid(Qt::Orientation scrollDirection, QGraphicsItem *parent = 0 );
-    virtual ~HgGrid();
-
-    bool effect3dEnabled() const;
-    void setEffect3dEnabled(bool effect3dEnabled);
-    
-    bool pinchEnabled() const;
-    void setPinchEnabled(bool pinchEnabled);
-
-    void setPinchLevels(QPair<int,int> levels, Qt::Orientation scrollDirection);
-    QPair<int,int> pinchLevels(Qt::Orientation scrollDirection) const;
-
-    void setRowCount(int count, Qt::Orientation scrollDirection = Qt::Horizontal);
-    int rowCount(Qt::Orientation scrollDirection = Qt::Horizontal) const;
-
-signals:
-
-    void emptySpacePressed();
-    
-protected:
-    HgGrid(Qt::Orientation scrollDirection, HgGridPrivate &dd, QGraphicsItem *parent);
-
-private:
-    Q_DECLARE_PRIVATE_D(p_ptr, HgGrid)
-    Q_DISABLE_COPY(HgGrid)
-};
-
-#endif  //HGGRID_H
-