Results 1 to 3 of 3

Thread: QTcpSocket Writing Data Progress

  1. #1
    Join Date
    Jul 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default QTcpSocket Writing Data Progress

    Hi All,

    How can I know the progress of the data written using QTcpSocket?
    I don't see any signal like QHttp dataReadProgress(int,int).

    Thanks,
    Lwin Htoo Ko

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QTcpSocket Writing Data Progress

    There's the bytesWritten(int) signal

    And the QHttp source code of course.

  3. #3
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: QTcpSocket Writing Data Progress

    Your best bet is you create your own imho. Just get the qint64 from the write() function and emit the value through a signal.
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

Similar Threads

  1. QTcpSocket writing reading problem
    By Misenko in forum Qt Programming
    Replies: 4
    Last Post: 15th October 2008, 07:27
  2. Writing Data Aware Forms in QT4.
    By gsQT4 in forum Qt Programming
    Replies: 5
    Last Post: 21st March 2007, 10:35
  3. reading and writing data from a QTableWidget
    By zorro68 in forum Qt Programming
    Replies: 4
    Last Post: 29th January 2007, 20:51
  4. Replies: 6
    Last Post: 8th January 2007, 10:24
  5. Reading/Writing data from/to usb device
    By yellowmat in forum Newbie
    Replies: 2
    Last Post: 6th March 2006, 13:08

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.