Results 1 to 6 of 6

Thread: pointers behaviour in qt and specially signals/slot mechanism

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: pointers behaviour in qt and specially signals/slot mechanism

    There are QSharedData and QSharedDataPointer classes (and their explicitely shared counterparts) but they are not really related to pointers. Pointers are pointers.

  2. #2
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: pointers behaviour in qt and specially signals/slot mechanism

    hmm..i have seen implicit and explicit sharing and it seems to make a copy/refernece of object with all it properites ..i have also seen qpointer as name suggests that it might be useful..but to no use...actually i am still stuck with the same problem which i posted tommorow and th post was moved to general programming,i was thinking of different approach but it seems i have no visible way OUT..!!..if anyone has some suggestion for that pls do tell me...until then i will keep trying..

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: pointers behaviour in qt and specially signals/slot mechanism

    Quote Originally Posted by salmanmanekia View Post
    hmm..i have seen implicit and explicit sharing and it seems to make a copy/refernece of object with all it properites
    On the contrary, it does not make a copy of the object with all its data.

    .i have also seen qpointer as name suggests that it might be useful..
    It is useful, but to what purpose?

    actually i am still stuck with the same problem which i posted tommorow and th post was moved to general programming,i was thinking of different approach but it seems i have no visible way OUT..!!..if anyone has some suggestion for that pls do tell me...until then i will keep trying..
    Let's stick with one thread for the subject then.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.