summaryrefslogtreecommitdiffstats
path: root/src/kernel/qdragobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qdragobject.cpp')
-rw-r--r--src/kernel/qdragobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qdragobject.cpp b/src/kernel/qdragobject.cpp
index 96653b1c2..e74847cd0 100644
--- a/src/kernel/qdragobject.cpp
+++ b/src/kernel/qdragobject.cpp
@@ -1350,7 +1350,7 @@ void TQUriDrag::setUris( TQStrList uris )
TQByteArray a;
int c=0;
for ( const char* s = uris.first(); s; s = uris.next() ) {
- int l = qstrlen(s);
+ int l = tqstrlen(s);
a.resize(c+l+2);
memcpy(a.data()+c,s,l);
memcpy(a.data()+c+l,"\r\n",2);
@@ -1603,7 +1603,7 @@ TQString TQUriDrag::uriToLocalFile(const char* uri)
char hostname[ 257 ];
if ( gethostname( hostname, 255 ) == 0 ) {
hostname[ 256 ] = '\0';
- if ( qstrncmp( uri+1, hostname, hostname_end - ( uri+1 )) == 0 ) {
+ if ( tqstrncmp( uri+1, hostname, hostname_end - ( uri+1 )) == 0 ) {
uri = hostname_end + 1; // point after the slash
local = TRUE;
}