Changeset View
Changeset View
Standalone View
Standalone View
src/contentlist/qmlplugin.cpp
Show All 15 Lines | |||||
16 | * | 16 | * | ||
17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public | ||
18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #include "qmlplugin.h" | 22 | #include "qmlplugin.h" | ||
23 | 23 | | |||
24 | #include "ContentList.h" | | |||
25 | | ||||
26 | #include <QtQml/qqml.h> | 24 | #include <QtQml/qqml.h> | ||
27 | 25 | | |||
26 | #include "ContentList.h" | ||||
27 | #include "ContentQuery.h" | ||||
28 | | ||||
28 | void QmlPlugins::initializeEngine(QQmlEngine *, const char *) | 29 | void QmlPlugins::initializeEngine(QQmlEngine *, const char *) | ||
29 | { | 30 | { | ||
30 | } | 31 | } | ||
31 | 32 | | |||
32 | void QmlPlugins::registerTypes(const char *uri) | 33 | void QmlPlugins::registerTypes(const char *uri) | ||
33 | { | 34 | { | ||
34 | qmlRegisterType<ContentList>(uri, 0, 1, "ContentList"); | 35 | qmlRegisterType<ContentList>(uri, 0, 1, "ContentList"); | ||
36 | qmlRegisterType<ContentQuery>(uri, 0, 1, "ContentQuery"); | ||||
35 | } | 37 | } |