Results 1 to 10 of 10

Thread: Chaining QIODevice Instances

Hybrid View

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

    Default Re: Chaining QIODevice Instances

    You can do that even now with additional 4 lines of code (QProcess is a QIODevice itself). So the question remains - is it worth the effort.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Jan 2009
    Location
    Camp Lejeune, NC
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Chaining QIODevice Instances

    Quote Originally Posted by wysota View Post
    You can do that even now with additional 4 lines of code (QProcess is a QIODevice itself). So the question remains - is it worth the effort.
    Can I get that code?
    Lenovo ThinkPad T400 - Gentoo Linux 2008.0 Hardened
    Apple iBook G3 - Gentoo Linux 2008.0 Desktop
    Linksys WRT54GL - OpenWrt Kamikaze
    Linksys WRT310N - Stock Crap

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

    Default Re: Chaining QIODevice Instances

    Quote Originally Posted by wswartzendruber View Post
    Can I get that code?
    Two connect statements on either side of the network link plus two one line slots triggered upon readyRead() signals reading the available content from one device and pushing it to the other (process->socket and socket->process).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. The following user says thank you to wysota for this useful post:

    QPlace (30th July 2009)

Similar Threads

  1. Replies: 1
    Last Post: 25th July 2008, 18:54
  2. Video Stream, extending QIODevice
    By rextr in forum Qt Programming
    Replies: 3
    Last Post: 27th June 2008, 09:55

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.