Re: [Interest] QMap and thread-safe.

2013-07-24 Thread Mandeep Sandhu
On Thu, Jul 25, 2013 at 10:36 AM, Thiago Macieira wrote: > On quinta-feira, 25 de julho de 2013 10:00:20, Mandeep Sandhu wrote: > > What I meant with "it applies to C++11", is that the C++11 standard > library > > now follows/respects the correct meaning of "const", i.e all std lib's > > const fu

Re: [Interest] QMap and thread-safe.

2013-07-24 Thread Thiago Macieira
On quinta-feira, 25 de julho de 2013 10:00:20, Mandeep Sandhu wrote: > What I meant with "it applies to C++11", is that the C++11 standard library > now follows/respects the correct meaning of "const", i.e all std lib's > const functions are thread safe and in turn they expect "user" defined > cons

Re: [Interest] DBus on X11 using Qt5

2013-07-24 Thread Mandeep Sandhu
On Wed, Jul 24, 2013 at 6:25 PM, Ramakanthreddy Kesireddy < ramakanthreddy.kesire...@techmahindra.com> wrote: > > > Hi, > > I would like to understand why the below code snippet doesnot > works(Filesystem path doesnot returns any) in Ubuntu 12.04 minimal version > where as It works fine in Ubu

Re: [Interest] QMap and thread-safe.

2013-07-24 Thread Mandeep Sandhu
On Wed, Jul 24, 2013 at 8:40 PM, Thiago Macieira wrote: > On quarta-feira, 24 de julho de 2013 12:59:31, Mandeep Sandhu wrote: > > > > http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know > > > -blank-and-blank > > Thanks for sharing this link. It was very informative. (BTW,

Re: [Interest] Qt signal when system is awakened

2013-07-24 Thread Thiago Macieira
On quinta-feira, 25 de julho de 2013 10:34:09, Tony Rietwyk wrote: > I wanted to avoid keeping the password in memory after the login process. > Popping up the login dialog on the client at the point where they try to > communicate is really messy. But I suppose it is just as messy, doing that >

Re: [Interest] WebView in Qt 5.1 - first impressions

2013-07-24 Thread Morgan McKenzie
Hi, I've been playing around with webview a bit and it seems that it has simply adopted the mobile way of navigating - try a page that scrolls (like an image search) and dragging - it drags like a touch interface would .. which probably makes sense on android but not really on a desktop my g

[Interest] QtQuick: are animations supposed to cause rendering even if the element it's animating is invisible?

2013-07-24 Thread Josh Faust
Is this expected behavior? e.g. in the following, even though the rectangle is not visible, the animation still causes constant rendering (Qt 5.1) import QtQuick 2.1 import QtQuick.Window 2.1 Window { width: 500 height: 500 visible: true Rectangle { id: rect anchors.centerIn: par

[Interest] Qt Developer Days Call for Papers - Deadline Extended Until Aug 1

2013-07-24 Thread Amy Zinkann
It's not too late to submit your proposal for Qt Developer Days 2013 - the deadline for both Berlin and San Francisco has been extended until Aug 1. This is the 10th annual Qt Developer Days and this year’s conferences will once again be co-host

Re: [Interest] DBus on X11 using Qt5

2013-07-24 Thread Thiago Macieira
On quarta-feira, 24 de julho de 2013 12:55:54, Ramakanthreddy Kesireddy wrote: > I would like to understand why the below code snippet doesnot > works(Filesystem path doesnot returns any) in Ubuntu 12.04 minimal version > where as It works fine in Ubuntu 12.04 desktop version on target tegra3 > de

Re: [Interest] QMap and thread-safe.

2013-07-24 Thread Thiago Macieira
On quarta-feira, 24 de julho de 2013 12:59:31, Mandeep Sandhu wrote: > > http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know > > -blank-and-blank > Thanks for sharing this link. It was very informative. (BTW, this applies > only to C++11) It does not apply to anything. This

[Interest] DBus on X11 using Qt5

2013-07-24 Thread Ramakanthreddy Kesireddy
Hi, I would like to understand why the below code snippet doesnot works(Filesystem path doesnot returns any) in Ubuntu 12.04 minimal version where as It works fine in Ubuntu 12.04 desktop version on target tegra3 device. QDBusMessage Reply; QDBusInterface* Connection= new QDBusInterface(DI

Re: [Interest] QMap and thread-safe.

2013-07-24 Thread Mandeep Sandhu
A const method can't affect other threads, but other threads can > affect a const method. > > Suppose a const function is reading a large data object. If the object > wasn't locked, other threads could modify it while the first function > is in the middle of reading it, potentially corrupting the

Re: [Interest] QMap and thread-safe.

2013-07-24 Thread André Somers
Op 24-7-2013 9:29, Mandeep Sandhu schreef: On Wed, Jul 24, 2013 at 12:20 PM, André Somers > wrote: Op 23-7-2013 13:34, Giuseppe D'Angelo schreef: > On 23 July 2013 13:25, Bill Crocker mailto:william.croc...@analog.com>> wrote: >> Hi all: >> >> T

Re: [Interest] QMap and thread-safe.

2013-07-24 Thread Mandeep Sandhu
On Wed, Jul 24, 2013 at 12:20 PM, André Somers wrote: > Op 23-7-2013 13:34, Giuseppe D'Angelo schreef: > > On 23 July 2013 13:25, Bill Crocker wrote: > >> Hi all: > >> > >> The QMap class states that all member functons are reentrant, but > >> if I populate a map at program start-up (with QString