summaryrefslogtreecommitdiffstats
path: root/qtinterface/interface_tqt3/tqcstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/interface_tqt3/tqcstring.cpp')
-rw-r--r--qtinterface/interface_tqt3/tqcstring.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/qtinterface/interface_tqt3/tqcstring.cpp b/qtinterface/interface_tqt3/tqcstring.cpp
index 25e0536..52b7296 100644
--- a/qtinterface/interface_tqt3/tqcstring.cpp
+++ b/qtinterface/interface_tqt3/tqcstring.cpp
@@ -21,35 +21,3 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <ntqcstring.h>
-
-#ifdef USE_QT4
-
-QByteArray::operator QByteArray *() const
-{ return (QByteArray*)(d->data); }
-
-#ifndef TQT_NO_REGEXP
-
-int Q3CString::contains( const QRegExp &rx ) const
-{
- QString d = QString::fromAscii( data() );
- return d.count( rx );
-}
-
-Q3CString &Q3CString::replace( const QRegExp &rx, const char *str )
-{
- QString d = QString::fromAscii( data() );
- QString r = QString::fromAscii( str );
- d.replace( rx, r );
- setStr( d.ascii() );
- return *this;
-}
-
-#endif //TQT_NO_REGEXP
-
-QByteArray QByteArray::copy() const {
- QByteArray copy(*this);
- copy.detach();
- return copy;
-}
-
-#endif // USE_QT4