[Interest] QProcess to start a process at a higher priority

2015-03-08 Thread Jason Kretzer
Hello all, I am tinkering a bit with QProcess on Windows7. What I would like to be able to do is to start a process with a “high” priority. My application spawns multiple processes and I am tinkering with them in order to help ensure they get their processor time. On the command line, I woul

Re: [Interest] Does removing 'private slots' from .h files have any advantages? Disadvantages?

2015-03-08 Thread Thiago Macieira
On Sunday 08 March 2015 14:28:55 Constantin Makshin wrote: > 1) less code and data -> smaller executable; That might not be true. Assuming you replaced a private slot declaration with just a member function connection, there should be only minimal benefit in code size (only the moc tables and m

Re: [Interest] Does removing 'private slots' from .h files have any advantages? Disadvantages?

2015-03-08 Thread Giuseppe D'Angelo
Il 08/03/2015 12:28, Constantin Makshin ha scritto: Both advantages and disadvantages will come from the fact that MOC won't generate anything for methods in these sections. There's an extra pro that comes with that: visibility markers actually come into play. A slot is always publicly invok

Re: [Interest] Does removing 'private slots' from .h files have any advantages? Disadvantages?

2015-03-08 Thread Constantin Makshin
Both advantages and disadvantages will come from the fact that MOC won't generate anything for methods in these sections. Pros: 1) less code and data -> smaller executable; 2) less code -> faster compilation; 3) smaller "MOC table" -> faster lookups when connecting and/or processing signals. Cons

[Interest] Does removing 'private slots' from .h files have any advantages? Disadvantages?

2015-03-08 Thread Guido Seifert
Hi, I am just curious. In one of my old projects I replaced all SIGNAL/SLOT connections with the newer function pointer api. In theory I now could remove all the 'public/protected/private slot' markers from my .h files. Now I am wondering, if this is only cosmetic, or does it have any advantages/

Re: [Interest] Widget Screenshot Question

2015-03-08 Thread Felix morack
I have the same problem... Btw, there is a static method in Qthread to pause execution: Qthreat::sleep(). 2015-03-06 20:47 GMT+01:00 Jason Kretzer : > And to add a little more information, if I take out the “this->show()”, no > image is created at all and this is put in the std out. > > plugins\