netaccess.h
static bool move(const KURL &src, const KURL &target, TQWidget *window=0L)
Full-fledged equivalent of TDEIO::move.
Definition netaccess.cpp:157
static bool del(const KURL &url, TQWidget *window)
Deletes a file or a directory in a synchronous way.
Definition netaccess.cpp:256
static int lastError()
Returns the error code for the last job, in case it failed.
Definition netaccess.h:489
static bool download(const KURL &src, TQString &target, TQWidget *window)
Downloads a file from an arbitrary URL (src) to a temporary file on the local filesystem (target).
Definition netaccess.cpp:57
static bool exists(const KURL &url, bool source, TQWidget *window)
Tests whether a URL exists.
Definition netaccess.cpp:185
static bool stat(const KURL &url, TDEIO::UDSEntry &entry, TQWidget *window)
Tests whether a URL exists and return information on it.
Definition netaccess.cpp:204
static bool file_move(const KURL &src, const KURL &target, int permissions=-1, bool overwrite=false, bool resume=false, TQWidget *window=0L)
Full-fledged equivalent of TDEIO::file_move.
Definition netaccess.cpp:131
static bool synchronousRun(Job *job, TQWidget *window, TQByteArray *data=0, KURL *finalURL=0, TQMap< TQString, TQString > *metaData=0)
This function executes a job in a synchronous way.
Definition netaccess.cpp:279
static bool upload(const TQString &src, const KURL &target, TQWidget *window)
Uploads file src to URL target.
Definition netaccess.cpp:94
static bool copy(const KURL &src, const KURL &target, TQWidget *window)
Alternative to upload for copying over the network.
Definition netaccess.cpp:117
static void removeTempFile(const TQString &name)
Removes the specified file if and only if it was created by TDEIO::NetAccess as a temporary file for ...
Definition netaccess.cpp:298
static KURL mostLocalURL(const KURL &url, TQWidget *window)
Tries to map a local URL for the given URL.
Definition netaccess.cpp:213
static bool dircopy(const KURL &src, const KURL &target, TQWidget *window)
Alternative method for copying over the network.
Definition netaccess.cpp:144
static TQString lastErrorString()
Returns the error string for the last job, in case it failed.
Definition netaccess.h:482
static TQString fish_execute(const KURL &url, const TQString command, TQWidget *window)
Executes a remote process via the fish ioslave in a synchronous way.
Definition netaccess.cpp:273
static KURL localURL(const KURL &url, TQWidget *window)
Returns the output of the localURL TDEIO job.
Definition netaccess.cpp:193
static bool file_copy(const KURL &src, const KURL &dest, int permissions=-1, bool overwrite=false, bool resume=false, TQWidget *window=0L)
Full-fledged equivalent of TDEIO::file_copy.
Definition netaccess.cpp:122
static bool mkdir(const KURL &url, TQWidget *window, int permissions=-1)
Creates a directory in a synchronous way.
Definition netaccess.cpp:267
TQValueList< UDSAtom > UDSEntry
An entry is the list of atoms containing all the information for a file or URL.
Definition global.h:507
Trinity API Reference