Results 1 to 3 of 3

Thread: Function for reading and writing

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Function for reading and writing

    Hi All

    Can anybody tell me which function we will use for reading and writing blocks in qt4.2.2

    Like in Qt3 we use readBlock and writeBlock.

    Thanx
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Function for reading and writing

    Quote Originally Posted by merry View Post
    Hi All

    Can anybody tell me which function we will use for reading and writing blocks in qt4.2.2

    Like in Qt3 we use readBlock and writeBlock.

    Thanx


    QIODevice::readBlock(char *, Q_ULONG) --> QIODevice::read(char *, qint64)
    QIODevice::writeBlock(const char *, Q_ULONG) --> QIODevice::write(const char *, qint64)

  3. The following user says thank you to vermarajeev for this useful post:

    merry (30th May 2007)

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

    Default Re: Function for reading and writing


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

    merry (30th May 2007)

Similar Threads

  1. Problem emitting signal from a static function
    By Valheru in forum Qt Programming
    Replies: 21
    Last Post: 12th June 2007, 14:48

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.