Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 324
Registered: ‎03-10-2010
My Device: Bold 9780, DevAlpha
My Carrier: Vodafone CZ
Accepted Solution

Invokation. What i've miss?

m_pInvocation = Invocation::create(
    InvokeQuery::create()
      .parent(this)
      .mimeType("text/txt"));
  QObject::connect(m_pInvocation, SIGNAL(armed()),
    this, SLOT(onArmed()));
  QObject::connect(m_pInvocation, SIGNAL(finished()),
    m_pInvocation, SLOT(deleteLater()));

 

When i'm trying to compile it, i've receive error: 

incomplete type 'bb::cascades::InvokeQuery' used in nested name specifier

 

What I've miss?

 

	void share(QString string);

public Q_SLOTS:
	void onArmed();

private:
	bb::cascades::Invocation* m_pInvocation;

 

Highlighted
Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: Invokation. What i've miss?

#include <bb/cascades/InvokeQuery> ?


Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 324
Registered: ‎03-10-2010
My Device: Bold 9780, DevAlpha
My Carrier: Vodafone CZ

Re: Invokation. What i've miss?

Yep. Found it. Smiley Happy