Changeset View
Changeset View
Standalone View
Standalone View
src/declarative/kaccountsdeclarativeplugin.cpp
Show All 11 Lines | |||||
12 | * GNU General Public License for more details. * | 12 | * GNU General Public License for more details. * | ||
13 | * * | 13 | * * | ||
14 | * You should have received a copy of the GNU General Public License * | 14 | * You should have received a copy of the GNU General Public License * | ||
15 | * along with this program; if not, write to the Free Software * | 15 | * along with this program; if not, write to the Free Software * | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * | ||
17 | *************************************************************************************/ | 17 | *************************************************************************************/ | ||
18 | 18 | | |||
19 | #include "kaccountsdeclarativeplugin.h" | 19 | #include "kaccountsdeclarativeplugin.h" | ||
20 | #include "../jobs/createaccount.h" | 20 | #include "createaccountjob.h" | ||
21 | #include "../jobs/accountservicetoggle.h" | 21 | #include "accountservicetogglejob.h" | ||
22 | #include <qqml.h> | 22 | #include <qqml.h> | ||
23 | 23 | | |||
24 | void KAccountsDeclarativePlugin::registerTypes(const char* uri) | 24 | void KAccountsDeclarativePlugin::registerTypes(const char* uri) | ||
25 | { | 25 | { | ||
26 | qmlRegisterType<CreateAccount>(uri, 1, 0, "CreateAccount"); | 26 | qmlRegisterType<CreateAccountJob>(uri, 1, 0, "CreateAccountJob"); | ||
27 | qmlRegisterType<AccountServiceToggle>(uri, 1, 1, "AccountServiceToggle"); | 27 | qmlRegisterType<AccountServiceToggleJob>(uri, 1, 1, "AccountServiceToggleJob"); | ||
28 | } | 28 | } |