Increase heap size on Symbian.
[dorian] / widgets / flickcharm.h
1 /****************************************************************************\r
2 **\r
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).\r
4 ** All rights reserved.\r
5 ** Contact: Nokia Corporation (qt-info@nokia.com)\r
6 **\r
7 ** This file is part of the demos of the Qt Toolkit.\r
8 **\r
9 ** $QT_BEGIN_LICENSE:LGPL$\r
10 ** Commercial Usage\r
11 ** Licensees holding valid Qt Commercial licenses may use this file in\r
12 ** accordance with the Qt Commercial License Agreement provided with the\r
13 ** Software or, alternatively, in accordance with the terms contained in\r
14 ** a written agreement between you and Nokia.\r
15 **\r
16 ** GNU Lesser General Public License Usage\r
17 ** Alternatively, this file may be used under the terms of the GNU Lesser\r
18 ** General Public License version 2.1 as published by the Free Software\r
19 ** Foundation and appearing in the file LICENSE.LGPL included in the\r
20 ** packaging of this file.  Please review the following information to\r
21 ** ensure the GNU Lesser General Public License version 2.1 requirements\r
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.\r
23 **\r
24 ** In addition, as a special exception, Nokia gives you certain additional\r
25 ** rights.  These rights are described in the Nokia Qt LGPL Exception\r
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.\r
27 **\r
28 ** GNU General Public License Usage\r
29 ** Alternatively, this file may be used under the terms of the GNU\r
30 ** General Public License version 3.0 as published by the Free Software\r
31 ** Foundation and appearing in the file LICENSE.GPL included in the\r
32 ** packaging of this file.  Please review the following information to\r
33 ** ensure the GNU General Public License version 3.0 requirements will be\r
34 ** met: http://www.gnu.org/copyleft/gpl.html.\r
35 **\r
36 ** If you have questions regarding the use of this file, please contact\r
37 ** Nokia at qt-info@nokia.com.\r
38 ** $QT_END_LICENSE$\r
39 **\r
40 ****************************************************************************/\r
41 \r
42 #ifndef FLICKCHARM_H\r
43 #define FLICKCHARM_H\r
44 \r
45 #include <QObject>\r
46 \r
47 class FlickCharmPrivate;\r
48 class QWidget;\r
49 \r
50 class FlickCharm: public QObject\r
51 {\r
52     Q_OBJECT\r
53 public:\r
54     FlickCharm(QObject *parent = 0);\r
55     ~FlickCharm();\r
56     void activateOn(QWidget *widget);\r
57     void deactivateFrom(QWidget *widget);\r
58     bool eventFilter(QObject *object, QEvent *event);\r
59 \r
60 protected:\r
61     void timerEvent(QTimerEvent *event);\r
62 \r
63 private:\r
64     FlickCharmPrivate *d;\r
65 };\r
66 \r
67 #endif // FLICKCHARM_H\r