KIOSlave
file_unix.cpp
Go to the documentation of this file.
197 if ( n == -1 && ( errno == EINVAL || errno == ENOSYS ) ) { //not all filesystems support sendfile()
302 kWarning() << QString::fromLatin1("Couldn't preserve access and modification time for\n%1").arg(dest);
QString i18n(const char *text)
qulonglong filesize_t
KAutostart::StartPhase readEntry(const KConfigGroup &group, const char *key, const KAutostart::StartPhase &aDefault)
QDebug perror(QDebug s, KDebugTag)
void clear()
static List currentMountPoints(DetailsNeededFlags infoNeeded=BasicInfoNeeded)
virtual void symlink(const QString &target, const KUrl &dest, KIO::JobFlags flags)
Definition: file_unix.cpp:481
void insert(uint field, const QString &value)
QString toLocalFile(AdjustPathOption trailing=LeaveTrailingSlash) const
virtual void chown(const KUrl &url, const QString &owner, const QString &group)
Definition: file_unix.cpp:566
QString currentPath()
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KSharedConfigPtr config()
virtual void copy(const KUrl &src, const KUrl &dest, int mode, KIO::JobFlags flags)
Definition: file_unix.cpp:78
virtual void rename(const KUrl &src, const KUrl &dest, KIO::JobFlags flags)
Definition: file_unix.cpp:419
void setProtocol(const QString &proto)
SimpleJob * chown(const KUrl &url, const QString &owner, const QString &group)
int toInt(bool *ok, int base) const
bool isEmpty() const
SimpleJob * chmod(const KUrl &url, int permissions)
bool setCurrent(const QString &path)
SimpleJob * rmdir(const KUrl &url)
QString path(AdjustPathOption trailing=LeaveTrailingSlash) const
SimpleJob * symlink(const QString &target, const KUrl &dest, JobFlags flags=DefaultFlags)
QByteArray toLatin1() const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
static bool same_inode(const KDE_struct_stat &src, const KDE_struct_stat &dest)
Definition: file_unix.cpp:67
Ptr findByPath(const QString &path) const
char * data()
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString fromLatin1(const char *str, int size)
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
bool isLocalFile() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
int utime(const QString &filename, struct utimbuf *buf)
KAction * close(const QObject *recvr, const char *slot, QObject *parent)
QByteArray encodeName(const QString &fileName)
QString decodeName(const QByteArray &localFileName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.