diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/bindings/netaccess_imp.cpp | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 b2d6cce7..6f7be24e 100644 --- a/kjsembed/bindings/netaccess_imp.cpp +++ b/kjsembed/bindings/netaccess_imp.cpp @@ -32,7 +32,7 @@ namespace KJSEmbed { namespace Bindings { -NetAccess::NetAccess( QObject *parent, const char *name ) +NetAccess::NetAccess( TQObject *parent, const char *name ) : BindingObject( parent, name ) { } @@ -41,9 +41,9 @@ NetAccess::~NetAccess() { } -bool NetAccess::download( const KURL& src, const QString& loc ) +bool NetAccess::download( const KURL& src, const TQString& loc ) { - QString mloc = loc; + TQString 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 QString& loc ) #endif } -QString NetAccess::createTempFile( const QString& prefix, const QString& ext, uint mode ) +TQString NetAccess::createTempFile( const TQString& prefix, const TQString& ext, uint mode ) { KTempFile tmpFile = KTempFile(prefix, ext, mode); tmpFile.setAutoDelete(false); return tmpFile.name(); } -void NetAccess::removeTempFile( const QString& name ) +void NetAccess::removeTempFile( const TQString& name ) { KIO::NetAccess::removeTempFile( name ); } -bool NetAccess::upload( const QString& src, const KURL& dest ) +bool NetAccess::upload( const TQString& 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(); } -QString NetAccess::fish_execute( const KURL& url, const QString& command ) +TQString NetAccess::fish_execute( const KURL& url, const TQString& 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 QString::null; + return TQString::null; #endif } -QString NetAccess::mimetype( const KURL& url ) +TQString NetAccess::mimetype( const KURL& url ) { kdDebug()<<"mimetype CALLED "<<endl; @@ -145,7 +145,7 @@ QString NetAccess::mimetype( const KURL& url ) #endif } -QString NetAccess::lastErrorString() +TQString NetAccess::lastErrorString() { return KIO::NetAccess::lastErrorString(); } |