KDELibs4Support

kde_file.h File Reference
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <utime.h>
#include <kdelibs4support_export.h>
#include <QFile>
Include dependency graph for kde_file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 KDE
 

Macros

#define KDE_fdopen   ::fdopen
 
#define KDE_fgetpos   ::fgetpos
 
#define KDE_fopen   ::fopen
 
#define KDE_fseek   ::fseek
 
#define KDE_fsetpos   ::fsetpos
 
#define KDE_fstat   ::fstat
 
#define KDE_ftell   ::ftell
 
#define KDE_lseek   ::lseek
 
#define KDE_lstat   ::lstat
 
#define KDE_mkdir   ::mkdir
 
#define KDE_open   ::open
 
#define KDE_readdir   ::readdir
 
#define KDE_rename   ::rename
 
#define KDE_sendfile   ::sendfile
 
#define KDE_signal   ::signal
 
#define KDE_stat   ::stat
 
#define KDE_struct_dirent   struct dirent
 
#define KDE_struct_stat   struct stat
 
#define KPATH_SEPARATOR   ':'
 
#define O_BINARY   0 /* for open() */
 

Functions

int KDE::access (const QString &path, int mode)
 
int KDE::chmod (const QString &path, mode_t mode)
 
FILE * KDE::fopen (const QString &pathname, const char *mode)
 
int KDE::lstat (const QString &path, KDE_struct_stat *buf)
 
int KDE::mkdir (const QString &pathname, mode_t mode)
 
int KDE::open (const QString &pathname, int flags, mode_t mode=0)
 
int KDE::rename (const QString &in, const QString &out)
 
int KDE::stat (const QString &path, KDE_struct_stat *buf)
 
int KDE::utime (const QString &filename, struct utimbuf *buf)
 

Detailed Description

This file provides portable defines for file support.

Use the KDE_xxx defines instead of the normal C functions and structures.

Since
3.3

Definition in file kde_file.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Dec 3 2020 22:59:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.