~ubuntu-branches/ubuntu/raring/ktp-text-ui/raring-proposed

« back to all changes in this revision

Viewing changes to plasmoid/declarative-plugin/qml-plugins.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-08-26 12:46:37 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20120826124637-lhv0slddscxlwzbw
Tags: 0.5.0-0ubuntu1
* New upstream release
  - Drop 03_no_redundant_glib_calls.diff 
  - Update 02_ktpchat_soversion.diff
  - Disable tests
  - Update install file

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "telepathy-text-observer.h"
27
27
#include "conversations-model.h"
28
28
#include "conversation-target.h"
 
29
#include "hidewindowcomponent.h"
29
30
 
30
31
void QmlPlugins::registerTypes(const char *uri)
31
32
{
33
34
    // can be given to ChatWidget.qml
34
35
    qmlRegisterType<TelepathyTextObserver> (uri, 0, 1, "TelepathyTextObserver");
35
36
    qmlRegisterType<Conversation>(uri, 0, 1, "Conversation");
 
37
    qmlRegisterType<HideWindowComponent>(uri, 0, 1, "HideWindowComponent");
36
38
 
37
39
    //needed for MessageType enum
38
40
    qmlRegisterUncreatableType<MessagesModel>(uri, 0, 1, "MessagesModel",