summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximagebase.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-07 05:13:40 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-07 07:01:57 (GMT)
commitd93e8b21fafb546c9f8fefbb170bbb2d66fe6e93 (patch)
tree69529d0e68cea59bca76252ca16b69b4495df2e6 /src/declarative/fx/qfximagebase.cpp
parent85631d5469f7a55165b8f2c0f08e4ba2cb08cd8e (diff)
downloadQt-d93e8b21fafb546c9f8fefbb170bbb2d66fe6e93.zip
Qt-d93e8b21fafb546c9f8fefbb170bbb2d66fe6e93.tar.gz
Qt-d93e8b21fafb546c9f8fefbb170bbb2d66fe6e93.tar.bz2
Add new class QFxImageBase
New base class for QFxImage and QFxBorderImage.
Diffstat (limited to 'src/declarative/fx/qfximagebase.cpp')
-rw-r--r--src/declarative/fx/qfximagebase.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/declarative/fx/qfximagebase.cpp b/src/declarative/fx/qfximagebase.cpp
new file mode 100644
index 0000000..e0b72c2
--- /dev/null
+++ b/src/declarative/fx/qfximagebase.cpp
@@ -0,0 +1,57 @@
+/****************************************************************************
+**
+** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: Qt Software Information (qt-info@nokia.com)
+**
+** This file is part of the QtDeclarative module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the either Technology Preview License Agreement or the
+** Beta Release License Agreement.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain
+** additional rights. These rights are described in the Nokia Qt LGPL
+** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
+** package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+** If you are unsure which license is appropriate for your use, please
+** contact the sales department at qt-sales@nokia.com.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "qfximagebase.h"
+#include "qfximagebase_p.h"
+
+QT_BEGIN_NAMESPACE
+
+QFxImageBase::QFxImageBase(QFxItem *parent)
+ : QFxItem(*(new QFxImageBasePrivate), parent)
+{
+}
+
+QFxImageBase::QFxImageBase(QFxImageBasePrivate &dd, QFxItem *parent)
+ : QFxItem(dd, parent)
+{
+}
+
+QT_END_NAMESPACE