Active Topics

 

Showing results 1 to 11 of 11 @ 0.40 seconds. Search: Posts Made By: nauman.altaf
Forum: General 2013-04-20, 16:42
Replies: 17
Views: 6,004
Posted By qwazix
Re: Help Required Regarding Qt (UI opening problem in method)

Don't know how this fits your usecase but I would emit a signal in the method that receives the dbus signal, connect it to the declarativeView and change the loaded qml file, or connect it directly...
Forum: General 2013-04-20, 16:07
Replies: 17
Views: 6,004
Posted By bibek
The arguments will come at the argc and argv...

The arguments will come at the argc and argv arguments like plain c++ programs. You dont have to do any extra url handling. Just check the qApplication argc and argv
Forum: General 2013-04-20, 06:52
Replies: 17
Views: 6,004
Posted By bibek
Here's explanation of my method Add this...

Here's explanation of my method

Add this line in desktop file

MimeType=x-maemo-urischeme/randomName;

Now suppose a url, randomName:helloWorld is called, ur app in exec will be called with...
Forum: General 2013-04-19, 23:27
Replies: 17
Views: 6,004
Posted By qwazix
Re: Help Required Regarding Qt (UI opening problem in method)

I didn't read the listing, so this may be not exactly what you want but IMO the best way to launch your app from the events screen is to add a .service file to /usr/share/dbus-1/ like shown here...
Forum: General 2013-04-19, 22:41
Replies: 17
Views: 6,004
Posted By Copernicus
Re: Help Required Regarding Qt (UI opening problem in method)

Er, not quite. :) The Bibek approach involves two programs: one, a "daemon" application which runs continuously listening for DBus messages; and two, an application containing your UI, that is...
Forum: General 2013-04-19, 16:40
Replies: 17
Views: 6,004
Posted By bibek
I'm not sure if it's feasible or useful doing...

I'm not sure if it's feasible or useful doing here, you can register a url mime type in ur UI's .desktop file. Then you could pass that url mime in feeditem's urls. Doing that would invoke your UI...
Forum: General 2013-04-19, 16:39
Replies: 17
Views: 6,004
Posted By Copernicus
Re: Help Required Regarding Qt (UI opening problem in method)

Well, let's step back a moment here. In C and C++, the function main() is used as the basis to create an executable program. The program begins by executing the first statement within main(), and...
Forum: General 2013-04-19, 13:39
Replies: 17
Views: 6,004
Posted By Copernicus
Re: Help Required Regarding Qt (UI opening problem in method)

Well, in your main() routine, you're creating a QApplication object, and then calling "app.exec()" on it as the last command in that routine. (Which is how the Qt SDK normally sets up the default...
Forum: General 2013-04-18, 18:18
Replies: 17
Views: 6,004
Posted By Copernicus
Re: Help Required Regarding Qt (UI opening problem in method)

Aha, yeah that would explain the delay. :)



I really don't use QML myself (I do pretty much all my Qt with straight up QWidgets), but I'll take a crack at it here. :) Lets see... The...
Forum: General 2013-04-18, 16:02
Replies: 17
Views: 6,004
Posted By Copernicus
Re: Help Required Regarding Qt (UI opening problem in method)

Hmm. My first concern when I see my code performing a task the second time much worse than the first time, is that something that I did the first time is still around and messing things up. ...
Forum: General 2013-01-30, 13:01
Replies: 8
Views: 3,244
Posted By marxian
Re: Help Required regarding Qt

There are two ways to enable opening of a feed item in your application:


Pass the URI as an argument in the Exec command specified in the .desktop file, e.g Exec=/path/to/my/binary %U.
Add a...
Showing results 1 to 11 of 11



 
Forum Jump

All times are GMT. The time now is 02:36.