summaryrefslogtreecommitdiffstats
path: root/examples/notesmanagerplugin/notesmanager.cpp
diff options
context:
space:
mode:
authorEvan Nguyen <evan.nguyen@nokia.com>2010-04-09 13:03:47 +1000
committerEvan Nguyen <evan.nguyen@nokia.com>2010-04-09 13:46:55 +1000
commit76dd875c783e2cc9c469640189838f1bbfadb546 (patch)
tree452909ae0622f34a4e52812f0c9593dd783d310b /examples/notesmanagerplugin/notesmanager.cpp
parent78e4668aef9ba3619d5b0fdbc53ae810e955349c (diff)
Final version of sfw declarative examples + documentation
QDeclarativeService.cpp and .h file will be included as a Service Framework API plugin in future releases, eliminating the need for a binary to run QML applications (cherry picked from commit 290d1a3e8f5432cb8a5abd9e71bbfeed6bfd30ef)
Diffstat (limited to 'examples/notesmanagerplugin/notesmanager.cpp')
-rw-r--r--examples/notesmanagerplugin/notesmanager.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/notesmanagerplugin/notesmanager.cpp b/examples/notesmanagerplugin/notesmanager.cpp
index f21170c744..a8aa937ef7 100644
--- a/examples/notesmanagerplugin/notesmanager.cpp
+++ b/examples/notesmanagerplugin/notesmanager.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -9,9 +9,11 @@
** $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
+** You may use this fi
+#include <QList>le in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
+#include <QSqlRecord>
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
@@ -20,7 +22,8 @@
** 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.
-**
+*#include <QStringList>
+ *
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
@@ -34,10 +37,10 @@
**
**
**
-**
** $QT_END_LICENSE$
**
****************************************************************************/
+
#include <QtCore>
#include <QDebug>
@@ -140,7 +143,6 @@ QList<QObject*> NotesManager::getNotes(const QString& search)
return m_notes;
}
-
#ifdef DECLARATIVE
QDeclarativeListProperty<QObject> NotesManager::noteSet()
{