~ci-train-bot/ubuntuone-credentials/ubuntuone-credentials-ubuntu-zesty-2205

« back to all changes in this revision

Viewing changes to qml-credentials-service/ubuntuone_credentials_plugin.cpp

  • Committer: Michael McCracken
  • Date: 2013-06-28 23:33:06 UTC
  • mto: (25.12.2 add-qmltypes)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: mike.mccracken@canonical.com-20130628233306-ra4ivh43alhe8awq
add working qml service plugin with initial UI based on prototype by Diego Sarmentero

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "ubuntuone_credentials_plugin.h"
 
2
#include "ubuntuone_credentials_service.h"
 
3
 
 
4
#include <qqml.h>
 
5
 
 
6
void UbuntuOneCredentialsPlugin::registerTypes(const char *uri)
 
7
{
 
8
    // @uri Ubuntu.One.Components
 
9
    qmlRegisterType<UbuntuOneCredentialsService>(uri, 1, 0, "UbuntuOneCredentialsService");
 
10
}
 
11
 
 
12