diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:12:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:12:15 +0000 |
commit | 4c3c7eaa2d225ecc0c16644f1a23e848bf539164 (patch) | |
tree | e2ec7ae4bdc3be1f6ffbc999802b6db8db1ad9c3 /qtinterface/tqcstring.cpp | |
parent | 60cbdb4674377338156be84fc3890358e44f23ba (diff) | |
download | tqtinterface-4c3c7eaa2d225ecc0c16644f1a23e848bf539164.tar.gz tqtinterface-4c3c7eaa2d225ecc0c16644f1a23e848bf539164.zip |
Starting work on Qt4 interface...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1158413 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |