[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: max QString length?
From:       James Horey <jhorey () cs ! unm ! edu>
Date:       2004-08-12 17:05:56
Message-ID: 200408121105.56450.jhorey () cs ! unm ! edu
[Download RAW message or body]

On Thursday 12 August 2004 03:05 am, Waldo Bastian wrote:
> On Thursday 12 August 2004 05:42, James Horey wrote:
> > Hi, I have a very large text file that I am trying to read into a single
> > QString object. Although I can read every single line in using readLine()
> > and display it, it seems as though when I concatenate each line to the
> > QString object, the QString object only contains a portion of the entire
> > text.  Is there an upper limit to the number of characters a QString
> > object can hold? Thanks for the help!
>
> There is no such limit for QString. What do you use to display this string?
> I believe that QLineEdit does have a (rather large) limit.

Thanks for the advice. I was using kdDebug() to display in KDevelop and it was 
just clipping most of the QString object. Dumping the contents of the string 
into a file showed that the whole text was indeed there. Once again thanks!

-James
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic