Functions | Variables
qfileinfo_win32.cpp File Reference
#include "qglobal.h"
#include "qfileinfo.h"
#include "qfiledefs_p.h"
#include "qdatetime.h"
#include "qdir.h"

Go to the source code of this file.

Functions

static void reslashify (QString &n)
 
bool qt_file_access (const QString &fn, int t)
 

Variables

static const uint nobodyID = (uint) -2
 

Function Documentation

bool qt_file_access ( const QString fn,
int  t 
)

Definition at line 54 of file qfile_unix.cpp.

55 {
56  if ( fn.isEmpty() )
57  return FALSE;
58  return ACCESS( QFile::encodeName(fn), t ) == 0;
59 }
bool isEmpty() const
Definition: qstring.h:682
const bool FALSE
Definition: qglobal.h:370
static QCString encodeName(const QString &fileName)
Definition: qfile.cpp:494
#define ACCESS
Definition: qfiledefs_p.h:216
static void reslashify ( QString n)
static

Definition at line 28 of file qfileinfo_win32.cpp.

29 {
30  for ( int i=0; i<(int)n.length(); i++ )
31  {
32  if ( n[i] == '/' )
33  n[i] = '\\';
34  }
35 }
uint length() const
Definition: qstring.h:679

Variable Documentation

const uint nobodyID = (uint) -2
static

Definition at line 108 of file qfileinfo_win32.cpp.