I have to change my platform from windows to unix,and I choice qt to replace
MFC,but i don't want to change my code where using CString. Who can provide
such a class? thanks a lot!
I have to change my platform from windows to unix,and I choice qt to replace
MFC,but i don't want to change my code where using CString. Who can provide
such a class? thanks a lot!
If you're wroking with Qt3 you can use QCString class, and if you are using Qt4 this may help you.
Hope it helps.
Cheers.
Kandalf
There's no place like ~
I use qt3.3.4. i will check it as you told me.thanks !
I have view the class QCString. Still there are difference between MFC's CString and QCString. For example, CString have a function named Format(),and QCString
don't have.maybe i have to write a class named QMyCSting inherited from QCString to realize these functions?
Why QCString? CString support unicode if UNICODE macro is defined. May be you should use QString because it support unicode too.
sure, I mention this too.and the trolltech's document tells QCString exist shortcoming.The Document describes as below:"QCString tries to behave like a more convenient const char *. The price of doing this is that some algorithms will perform badly".And trolltech recommends to use QString
You might be interested in these links:Originally Posted by coralbird
http://www.trolltech.com/products/qt/migrate/mfc.html
http://www.trolltech.com/products/so.../qtwinmigrate/
thanks to all.I have begin to realize the CString,after done this,if anyone need
this,please post here,i will upload
If you have finished your CString class and if you are still OK to give it, thank you
Bookmarks