diff options
Diffstat (limited to 'qtinterface/tqcstring.cpp')
-rw-r--r-- | qtinterface/tqcstring.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/qtinterface/tqcstring.cpp b/qtinterface/tqcstring.cpp index 08a9e67..32b9609 100644 --- a/qtinterface/tqcstring.cpp +++ b/qtinterface/tqcstring.cpp @@ -20,4 +20,11 @@ Boston, MA 02110-1301, USA. */ #include <tqt.h> -#include <tqcstring.h>
\ No newline at end of file +#include <tqcstring.h> + +#ifdef USE_QT4 + +QByteArray::operator QByteArray *() const +{ return (QByteArray*)(d->data); } + +#endif // USE_QT4
\ No newline at end of file |