diff options
Diffstat (limited to 'kjsembed/bindings/netaccess_imp.cpp')
-rw-r--r-- | kjsembed/bindings/netaccess_imp.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/bindings/netaccess_imp.cpp b/kjsembed/bindings/netaccess_imp.cpp index c7462e28..d9864710 100644 --- a/kjsembed/bindings/netaccess_imp.cpp +++ b/kjsembed/bindings/netaccess_imp.cpp @@ -32,7 +32,7 @@ namespace KJSEmbed { namespace Bindings { -NetAccess::NetAccess( TQObject *parent, const char *name ) +NetAccess::NetAccess( TTQObject *parent, const char *name ) : BindingObject( parent, name ) { } @@ -41,9 +41,9 @@ NetAccess::~NetAccess() { } -bool NetAccess::download( const KURL& src, const TQString& loc ) +bool NetAccess::download( const KURL& src, const TTQString& loc ) { - TQString mloc = loc; + TTQString mloc = loc; #if KDE_IS_VERSION(3,1,90) return KIO::NetAccess::download( src, mloc, 0 ); #else @@ -51,19 +51,19 @@ bool NetAccess::download( const KURL& src, const TQString& loc ) #endif } -TQString NetAccess::createTempFile( const TQString& prefix, const TQString& ext, uint mode ) +TTQString NetAccess::createTempFile( const TTQString& prefix, const TTQString& ext, uint mode ) { KTempFile tmpFile = KTempFile(prefix, ext, mode); tmpFile.setAutoDelete(false); return tmpFile.name(); } -void NetAccess::removeTempFile( const TQString& name ) +void NetAccess::removeTempFile( const TTQString& name ) { KIO::NetAccess::removeTempFile( name ); } -bool NetAccess::upload( const TQString& src, const KURL& dest ) +bool NetAccess::upload( const TTQString& src, const KURL& dest ) { #if KDE_IS_VERSION(3,1,90) return KIO::NetAccess::upload( src, dest, 0 ); @@ -124,17 +124,17 @@ int NetAccess::propertiesDialog( const KURL &url ) return dlg.exec(); } -TQString NetAccess::fish_execute( const KURL& url, const TQString& command ) +TTQString NetAccess::fish_execute( const KURL& url, const TTQString& command ) { #if KDE_IS_VERSION(3,1,90) return KIO::NetAccess::fish_execute( url, command, 0 ); #else kdWarning() << "NetAccess::fish_execute(url,command) is not supported on 3.1" << endl; - return TQString::null; + return TTQString::null; #endif } -TQString NetAccess::mimetype( const KURL& url ) +TTQString NetAccess::mimetype( const KURL& url ) { kdDebug()<<"mimetype CALLED "<<endl; @@ -145,7 +145,7 @@ TQString NetAccess::mimetype( const KURL& url ) #endif } -TQString NetAccess::lastErrorString() +TTQString NetAccess::lastErrorString() { return KIO::NetAccess::lastErrorString(); } |