File indexing completed on 2024-04-21 05:01:42
0001 /* 0002 smb4kqmlplugin - The QML plugin for use with Plasma/QtQuick 0003 0004 SPDX-FileCopyrightText: 2012-2023 Alexander Reinholdt <alexander.reinholdt@kdemail.net> 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 // application specific includes 0009 #include "smb4kqmlplugin.h" 0010 #include "smb4kbookmarkobject.h" 0011 #include "smb4kdeclarative.h" 0012 #include "smb4knetworkobject.h" 0013 #include "smb4kprofileobject.h" 0014 0015 // Qt includes 0016 #include <QQmlComponent> 0017 0018 void Smb4KQMLPlugin::registerTypes(const char *uri) 0019 { 0020 qmlRegisterType<Smb4KNetworkObject>(uri, 2, 0, "NetworkObject"); 0021 qmlRegisterType<Smb4KBookmarkObject>(uri, 2, 0, "BookmarkObject"); 0022 qmlRegisterType<Smb4KProfileObject>(uri, 2, 0, "ProfileObject"); 0023 qmlRegisterType<Smb4KDeclarative>(uri, 2, 0, "Interface"); 0024 }