summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqfileinfo.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-10 18:56:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-10 18:56:16 +0900
commit252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch)
treeb48be8863db3bc1c223ac270a258b5c1124cb0e3 /doc/man/man3/tqfileinfo.3qt
parent87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff)
downloadtqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.tar.gz
tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.zip
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqfileinfo.3qt')
-rw-r--r--doc/man/man3/tqfileinfo.3qt228
1 files changed, 114 insertions, 114 deletions
diff --git a/doc/man/man3/tqfileinfo.3qt b/doc/man/man3/tqfileinfo.3qt
index fec4426a6..7be7afdb6 100644
--- a/doc/man/man3/tqfileinfo.3qt
+++ b/doc/man/man3/tqfileinfo.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFileInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFileInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,11 +7,11 @@
.ad l
.nh
.SH NAME
-QFileInfo \- System-independent file information
+TQFileInfo \- System-independent file information
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.</p>
.PP
-\fC#include <ntqfileinfo.h>\fR
+\fC#include <tqfileinfo.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -19,34 +19,34 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "enum \fBPermissionSpec\fR { ReadOwner = 04000, WriteOwner = 02000, ExeOwner = 01000, ReadUser = 00400, WriteUser = 00200, ExeUser = 00100, ReadGroup = 00040, WriteGroup = 00020, ExeGroup = 00010, ReadOther = 00004, WriteOther = 00002, ExeOther = 00001 }"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ()"
+.BI "\fBTQFileInfo\fR ()"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const TQString & file )"
+.BI "\fBTQFileInfo\fR ( const TQString & file )"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const QFile & file )"
+.BI "\fBTQFileInfo\fR ( const TQFile & file )"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const QDir & d, const TQString & fileName )"
+.BI "\fBTQFileInfo\fR ( const TQDir & d, const TQString & fileName )"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const QFileInfo & fi )"
+.BI "\fBTQFileInfo\fR ( const TQFileInfo & fi )"
.br
.ti -1c
-.BI "\fB~QFileInfo\fR ()"
+.BI "\fB~TQFileInfo\fR ()"
.br
.ti -1c
-.BI "QFileInfo & \fBoperator=\fR ( const QFileInfo & fi )"
+.BI "TQFileInfo & \fBoperator=\fR ( const TQFileInfo & fi )"
.br
.ti -1c
.BI "void \fBsetFile\fR ( const TQString & file )"
.br
.ti -1c
-.BI "void \fBsetFile\fR ( const QFile & file )"
+.BI "void \fBsetFile\fR ( const TQFile & file )"
.br
.ti -1c
-.BI "void \fBsetFile\fR ( const QDir & d, const TQString & fileName )"
+.BI "void \fBsetFile\fR ( const TQDir & d, const TQString & fileName )"
.br
.ti -1c
.BI "bool \fBexists\fR () const"
@@ -79,7 +79,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "TQString \fBdirPath\fR ( bool absPath = FALSE ) const"
.br
.ti -1c
-.BI "QDir \fBdir\fR ( bool absPath = FALSE ) const"
+.BI "TQDir \fBdir\fR ( bool absPath = FALSE ) const"
.br
.ti -1c
.BI "bool \fBisReadable\fR () const"
@@ -140,15 +140,15 @@ All the functions in this class are reentrant when TQt is built with thread supp
.br
.in -1c
.SH DESCRIPTION
-The QFileInfo class provides system-independent file information.
+The TQFileInfo class provides system-independent file information.
.PP
-QFileInfo provides information about a file's name and position (path) in the file system, its access rights and whether it is a directory or symbolic link, etc. The file's size and last modified/read times are also available.
+TQFileInfo provides information about a file's name and position (path) in the file system, its access rights and whether it is a directory or symbolic link, etc. The file's size and last modified/read times are also available.
.PP
-A QFileInfo can point to a file with either a relative or an absolute file path. Absolute file paths begin with the directory separator "/" (or with a drive specification on Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current working directory. An example of an absolute path is the string "/tmp/quartz". A relative path might look like "src/fatlib". You can use the function isRelative() to check whether a QFileInfo is using a relative or an absolute file path. You can call the function convertToAbs() to convert a relative QFileInfo's path to an absolute path.
+A TQFileInfo can point to a file with either a relative or an absolute file path. Absolute file paths begin with the directory separator "/" (or with a drive specification on Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current working directory. An example of an absolute path is the string "/tmp/quartz". A relative path might look like "src/fatlib". You can use the function isRelative() to check whether a TQFileInfo is using a relative or an absolute file path. You can call the function convertToAbs() to convert a relative TQFileInfo's path to an absolute path.
.PP
-The file that the QFileInfo works on is set in the constructor or later with setFile(). Use exists() to see if the file exists and size() to get its size.
+The file that the TQFileInfo works on is set in the constructor or later with setFile(). Use exists() to see if the file exists and size() to get its size.
.PP
-To speed up performance, QFileInfo caches information about the file. Because files can be changed by other users or programs, or even by other parts of the same program, there is a function that refreshes the file information: refresh(). If you want to switch off a QFileInfo's caching and force it to access the file system every time you request information from it call setCaching(FALSE).
+To speed up performance, TQFileInfo caches information about the file. Because files can be changed by other users or programs, or even by other parts of the same program, there is a function that refreshes the file information: refresh(). If you want to switch off a TQFileInfo's caching and force it to access the file system every time you request information from it call setCaching(FALSE).
.PP
The file's type is obtained with isFile(), isDir() and isSymLink(). The readLink() function provides the name of the file the symlink points to.
.PP
@@ -156,79 +156,79 @@ Elements of the file's name can be extracted with dirPath() and fileName(). The
.PP
The file's dates are returned by created(), lastModified() and lastRead(). Information about the file's access permissions is obtained with isReadable(), isWritable() and isExecutable(). The file's ownership is available from owner(), ownerId(), group() and groupId(). You can examine a file's permissions and ownership in a single statement using the permission() function.
.PP
-If you need to read and traverse directories, see the QDir class.
+If you need to read and traverse directories, see the TQDir class.
.PP
See also Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QFileInfo::PermissionSpec"
+.SH "TQFileInfo::PermissionSpec"
This enum is used by the permission() function to report the permissions and ownership of a file. The values may be OR-ed together to test multiple permissions and ownership values.
.TP
-\fCQFileInfo::ReadOwner\fR - The file is readable by the owner of the file.
+\fCTQFileInfo::ReadOwner\fR - The file is readable by the owner of the file.
.TP
-\fCQFileInfo::WriteOwner\fR - The file is writable by the owner of the file.
+\fCTQFileInfo::WriteOwner\fR - The file is writable by the owner of the file.
.TP
-\fCQFileInfo::ExeOwner\fR - The file is executable by the owner of the file.
+\fCTQFileInfo::ExeOwner\fR - The file is executable by the owner of the file.
.TP
-\fCQFileInfo::ReadUser\fR - The file is readable by the user.
+\fCTQFileInfo::ReadUser\fR - The file is readable by the user.
.TP
-\fCQFileInfo::WriteUser\fR - The file is writable by the user.
+\fCTQFileInfo::WriteUser\fR - The file is writable by the user.
.TP
-\fCQFileInfo::ExeUser\fR - The file is executable by the user.
+\fCTQFileInfo::ExeUser\fR - The file is executable by the user.
.TP
-\fCQFileInfo::ReadGroup\fR - The file is readable by the group.
+\fCTQFileInfo::ReadGroup\fR - The file is readable by the group.
.TP
-\fCQFileInfo::WriteGroup\fR - The file is writable by the group.
+\fCTQFileInfo::WriteGroup\fR - The file is writable by the group.
.TP
-\fCQFileInfo::ExeGroup\fR - The file is executable by the group.
+\fCTQFileInfo::ExeGroup\fR - The file is executable by the group.
.TP
-\fCQFileInfo::ReadOther\fR - The file is readable by anyone.
+\fCTQFileInfo::ReadOther\fR - The file is readable by anyone.
.TP
-\fCQFileInfo::WriteOther\fR - The file is writable by anyone.
+\fCTQFileInfo::WriteOther\fR - The file is writable by anyone.
.TP
-\fCQFileInfo::ExeOther\fR - The file is executable by anyone.
+\fCTQFileInfo::ExeOther\fR - The file is executable by anyone.
.PP
\fBWarning:\fR The semantics of ReadUser, WriteUser and ExeUser are unfortunately not platform independent: on Unix, the rights of the owner of the file are returned and on Windows the rights of the current user are returned. This behavior might change in a future TQt version. If you want to find the rights of the owner of the file, you should use the flags ReadOwner, WriteOwner and ExeOwner. If you want to find out the rights of the current user, you should use isReadable(), isWritable() and isExecutable().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFileInfo::QFileInfo ()"
-Constructs a new empty QFileInfo.
-.SH "QFileInfo::QFileInfo ( const TQString & file )"
-Constructs a new QFileInfo that gives information about the given file. The \fIfile\fR can also include an absolute or relative path.
+.SH "TQFileInfo::TQFileInfo ()"
+Constructs a new empty TQFileInfo.
+.SH "TQFileInfo::TQFileInfo ( const TQString & file )"
+Constructs a new TQFileInfo that gives information about the given file. The \fIfile\fR can also include an absolute or relative path.
.PP
\fBWarning:\fR Some functions might behave in a counter-intuitive way if \fIfile\fR has a trailing directory separator.
.PP
-See also setFile(), isRelative(), QDir::setCurrent(), and QDir::isRelativePath().
-.SH "QFileInfo::QFileInfo ( const QFile & file )"
-Constructs a new QFileInfo that gives information about file \fIfile\fR.
+See also setFile(), isRelative(), TQDir::setCurrent(), and TQDir::isRelativePath().
+.SH "TQFileInfo::TQFileInfo ( const TQFile & file )"
+Constructs a new TQFileInfo that gives information about file \fIfile\fR.
.PP
-If the \fIfile\fR has a relative path, the QFileInfo will also have a relative path.
+If the \fIfile\fR has a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "QFileInfo::QFileInfo ( const QDir & d, const TQString & fileName )"
-Constructs a new QFileInfo that gives information about the file called \fIfileName\fR in the directory \fId\fR.
+.SH "TQFileInfo::TQFileInfo ( const TQDir & d, const TQString & fileName )"
+Constructs a new TQFileInfo that gives information about the file called \fIfileName\fR in the directory \fId\fR.
.PP
-If \fId\fR has a relative path, the QFileInfo will also have a relative path.
+If \fId\fR has a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "QFileInfo::QFileInfo ( const QFileInfo & fi )"
-Constructs a new QFileInfo that is a copy of \fIfi\fR.
-.SH "QFileInfo::~QFileInfo ()"
-Destroys the QFileInfo and frees its resources.
-.SH "TQString QFileInfo::absFilePath () const"
+.SH "TQFileInfo::TQFileInfo ( const TQFileInfo & fi )"
+Constructs a new TQFileInfo that is a copy of \fIfi\fR.
+.SH "TQFileInfo::~TQFileInfo ()"
+Destroys the TQFileInfo and frees its resources.
+.SH "TQString TQFileInfo::absFilePath () const"
Returns the absolute path including the file name.
.PP
The absolute path name consists of the full path and the file name. On Unix this will always begin with the root, '/', directory. On Windows this will always begin 'D:/' where D is a drive letter, except for network shares that are not mapped to a drive letter, in which case the path will begin '//sharename/'.
.PP
This function returns the same as filePath(), unless isRelative() is TRUE.
.PP
-If the QFileInfo is empty it returns QDir::currentDirPath().
+If the TQFileInfo is empty it returns TQDir::currentDirPath().
.PP
This function can be time consuming under Unix (in the order of milliseconds).
.PP
See also isRelative() and filePath().
.PP
Examples:
-.)l biff/biff.cpp and fileiconview/qfileiconview.cpp.
-.SH "TQString QFileInfo::baseName ( bool complete = FALSE ) const"
+.)l biff/biff.cpp and fileiconview/tqfileiconview.cpp.
+.SH "TQString TQFileInfo::baseName ( bool complete = FALSE ) const"
Returns the base name of the file.
.PP
If \fIcomplete\fR is FALSE (the default) the base name consists of all characters in the file name up to (but not including) the \fIfirst\fR '.' character.
@@ -241,7 +241,7 @@ Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
TQString base = fi.baseName(); // base = "archive"
.br
@@ -250,44 +250,44 @@ Example:
.fi
.PP
See also fileName() and extension().
-.SH "bool QFileInfo::caching () const"
+.SH "bool TQFileInfo::caching () const"
Returns TRUE if caching is enabled; otherwise returns FALSE.
.PP
See also setCaching() and refresh().
-.SH "bool QFileInfo::convertToAbs ()"
+.SH "bool TQFileInfo::convertToAbs ()"
Converts the file's path to an absolute path.
.PP
If it is already absolute, nothing is done.
.PP
See also filePath() and isRelative().
-.SH "TQDateTime QFileInfo::created () const"
+.SH "TQDateTime TQFileInfo::created () const"
Returns the date and time when the file was created.
.PP
On platforms where this information is not available, returns the same as lastModified().
.PP
See also lastModified() and lastRead().
-.SH "QDir QFileInfo::dir ( bool absPath = FALSE ) const"
-Returns the file's path as a QDir object.
+.SH "TQDir TQFileInfo::dir ( bool absPath = FALSE ) const"
+Returns the file's path as a TQDir object.
.PP
-If the QFileInfo is relative and \fIabsPath\fR is FALSE, the QDir will be relative; otherwise it will be absolute.
+If the TQFileInfo is relative and \fIabsPath\fR is FALSE, the TQDir will be relative; otherwise it will be absolute.
.PP
See also dirPath(), filePath(), fileName(), and isRelative().
.PP
-Example: fileiconview/qfileiconview.cpp.
-.SH "TQString QFileInfo::dirPath ( bool absPath = FALSE ) const"
+Example: fileiconview/tqfileiconview.cpp.
+.SH "TQString TQFileInfo::dirPath ( bool absPath = FALSE ) const"
Returns the file's path.
.PP
If \fIabsPath\fR is TRUE an absolute path is returned.
.PP
See also dir(), filePath(), fileName(), and isRelative().
.PP
-Example: fileiconview/qfileiconview.cpp.
-.SH "bool QFileInfo::exists () const"
+Example: fileiconview/tqfileiconview.cpp.
+.SH "bool TQFileInfo::exists () const"
Returns TRUE if the file exists; otherwise returns FALSE.
.PP
Examples:
.)l biff/biff.cpp, distributor/distributor.ui.h, and i18n/main.cpp.
-.SH "TQString QFileInfo::extension ( bool complete = TRUE ) const"
+.SH "TQString TQFileInfo::extension ( bool complete = TRUE ) const"
Returns the file's extension name.
.PP
If \fIcomplete\fR is TRUE (the default), extension() returns the string of all characters in the file name after (but not including) the first '.' character.
@@ -298,7 +298,7 @@ Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
TQString ext = fi.extension(); // ext = "tar.gz"
.br
@@ -308,15 +308,15 @@ Example:
.PP
See also fileName() and baseName().
.PP
-Example: qdir/qdir.cpp.
-.SH "TQString QFileInfo::fileName () const"
+Example: tqdir/tqdir.cpp.
+.SH "TQString TQFileInfo::fileName () const"
Returns the name of the file, excluding the path.
.PP
Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
TQString name = fi.fileName(); // name = "archive.tar.gz"
.br
@@ -325,76 +325,76 @@ Example:
See also isRelative(), filePath(), baseName(), and extension().
.PP
Examples:
-.)l dirview/dirview.cpp, fileiconview/qfileiconview.cpp, and network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQString QFileInfo::filePath () const"
+.)l dirview/dirview.cpp, fileiconview/tqfileiconview.cpp, and network/ftpclient/ftpmainwindow.ui.h.
+.SH "TQString TQFileInfo::filePath () const"
Returns the file name, including the path (which may be absolute or relative).
.PP
See also isRelative() and absFilePath().
.PP
Examples:
-.)l dirview/main.cpp and fileiconview/qfileiconview.cpp.
-.SH "TQString QFileInfo::group () const"
+.)l dirview/main.cpp and fileiconview/tqfileiconview.cpp.
+.SH "TQString TQFileInfo::group () const"
Returns the group of the file. On Windows, on systems where files do not have groups, or if an error occurs, TQString::null is returned.
.PP
This function can be time consuming under Unix (in the order of milliseconds).
.PP
See also groupId(), owner(), and ownerId().
-.SH "uint QFileInfo::groupId () const"
+.SH "uint TQFileInfo::groupId () const"
Returns the id of the group the file belongs to.
.PP
On Windows and on systems where files do not have groups this function always returns (uint) -2.
.PP
See also group(), owner(), and ownerId().
-.SH "bool QFileInfo::isDir () const"
+.SH "bool TQFileInfo::isDir () const"
Returns TRUE if this object points to a directory or to a symbolic link to a directory; otherwise returns FALSE.
.PP
See also isFile() and isSymLink().
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
-.SH "bool QFileInfo::isExecutable () const"
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
+.SH "bool TQFileInfo::isExecutable () const"
Returns TRUE if the file is executable; otherwise returns FALSE.
.PP
See also isReadable(), isWritable(), and permission().
-.SH "bool QFileInfo::isFile () const"
+.SH "bool TQFileInfo::isFile () const"
Returns TRUE if this object points to a file. Returns FALSE if the object points to something which isn't a file, e.g. a directory or a symlink.
.PP
See also isDir() and isSymLink().
.PP
Examples:
-.)l dirview/dirview.cpp, distributor/distributor.ui.h, fileiconview/qfileiconview.cpp, and qdir/qdir.cpp.
-.SH "bool QFileInfo::isHidden () const"
+.)l dirview/dirview.cpp, distributor/distributor.ui.h, fileiconview/tqfileiconview.cpp, and tqdir/tqdir.cpp.
+.SH "bool TQFileInfo::isHidden () const"
Returns TRUE if the file is hidden; otherwise returns FALSE.
.PP
On Unix-like operating systems, including Mac OS X, a file is hidden if its name begins with ".". On Windows a file is hidden if its hidden attribute is set.
-.SH "bool QFileInfo::isReadable () const"
+.SH "bool TQFileInfo::isReadable () const"
Returns TRUE if the file is readable; otherwise returns FALSE.
.PP
See also isWritable(), isExecutable(), and permission().
.PP
Example: distributor/distributor.ui.h.
-.SH "bool QFileInfo::isRelative () const"
+.SH "bool TQFileInfo::isRelative () const"
Returns TRUE if the file path name is relative. Returns FALSE if the path is absolute (e.g. under Unix a path is absolute if it begins with a "/").
-.SH "bool QFileInfo::isSymLink () const"
+.SH "bool TQFileInfo::isSymLink () const"
Returns TRUE if this object points to a symbolic link (or to a shortcut on Windows, or an alias on Mac OS X); otherwise returns FALSE.
.PP
See also isFile(), isDir(), and readLink().
.PP
Examples:
-.)l dirview/dirview.cpp, distributor/distributor.ui.h, and fileiconview/qfileiconview.cpp.
-.SH "bool QFileInfo::isWritable () const"
+.)l dirview/dirview.cpp, distributor/distributor.ui.h, and fileiconview/tqfileiconview.cpp.
+.SH "bool TQFileInfo::isWritable () const"
Returns TRUE if the file is writable; otherwise returns FALSE.
.PP
See also isReadable(), isExecutable(), and permission().
.PP
Example: distributor/distributor.ui.h.
-.SH "TQDateTime QFileInfo::lastModified () const"
+.SH "TQDateTime TQFileInfo::lastModified () const"
Returns the date and time when the file was last modified.
.PP
See also created() and lastRead().
.PP
Example: biff/biff.cpp.
-.SH "TQDateTime QFileInfo::lastRead () const"
+.SH "TQDateTime TQFileInfo::lastRead () const"
Returns the date and time when the file was last read (accessed).
.PP
On platforms where this information is not available, returns the same as lastModified().
@@ -402,21 +402,21 @@ On platforms where this information is not available, returns the same as lastMo
See also created() and lastModified().
.PP
Example: biff/biff.cpp.
-.SH "QFileInfo & QFileInfo::operator= ( const QFileInfo & fi )"
-Makes a copy of \fIfi\fR and assigns it to this QFileInfo.
-.SH "TQString QFileInfo::owner () const"
+.SH "TQFileInfo & TQFileInfo::operator= ( const TQFileInfo & fi )"
+Makes a copy of \fIfi\fR and assigns it to this TQFileInfo.
+.SH "TQString TQFileInfo::owner () const"
Returns the owner of the file. On systems where files do not have owners, or if an error occurs, TQString::null is returned.
.PP
This function can be time consuming under Unix (in the order of milliseconds).
.PP
See also ownerId(), group(), and groupId().
-.SH "uint QFileInfo::ownerId () const"
+.SH "uint TQFileInfo::ownerId () const"
Returns the id of the owner of the file.
.PP
On Windows and on systems where files do not have owners this function returns ((uint) -2).
.PP
See also owner(), group(), and groupId().
-.SH "bool QFileInfo::permission ( int permissionSpec ) const"
+.SH "bool TQFileInfo::permission ( int permissionSpec ) const"
Tests for file permissions. The \fIpermissionSpec\fR argument can be several flags of type PermissionSpec OR-ed together to check for permission combinations.
.PP
On systems where files do not have permissions this function always returns TRUE.
@@ -425,39 +425,39 @@ Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
- if ( fi.permission( QFileInfo::WriteUser | QFileInfo::ReadGroup ) )
+ if ( fi.permission( TQFileInfo::WriteUser | TQFileInfo::ReadGroup ) )
.br
tqWarning( "I can change the file; my group can read the file" );
.br
- if ( fi.permission( QFileInfo::WriteGroup | QFileInfo::WriteOther ) )
+ if ( fi.permission( TQFileInfo::WriteGroup | TQFileInfo::WriteOther ) )
.br
tqWarning( "The group or others can change the file" );
.br
.fi
.PP
See also isReadable(), isWritable(), and isExecutable().
-.SH "TQString QFileInfo::readLink () const"
+.SH "TQString TQFileInfo::readLink () const"
Returns the name a symlink (or shortcut on Windows) points to, or a TQString::null if the object isn't a symbolic link.
.PP
-This name may not represent an existing file; it is only a string. QFileInfo::exists() returns TRUE if the symlink points to an existing file.
+This name may not represent an existing file; it is only a string. TQFileInfo::exists() returns TRUE if the symlink points to an existing file.
.PP
See also exists(), isSymLink(), isDir(), and isFile().
-.SH "void QFileInfo::refresh () const"
+.SH "void TQFileInfo::refresh () const"
Refreshes the information about the file, i.e. reads in information from the file system the next time a cached property is fetched.
.PP
See also setCaching().
-.SH "void QFileInfo::setCaching ( bool enable )"
+.SH "void TQFileInfo::setCaching ( bool enable )"
If \fIenable\fR is TRUE, enables caching of file information. If \fIenable\fR is FALSE caching is disabled.
.PP
-When caching is enabled, QFileInfo reads the file information from the file system the first time it's needed, but generally not later.
+When caching is enabled, TQFileInfo reads the file information from the file system the first time it's needed, but generally not later.
.PP
Caching is enabled by default.
.PP
See also refresh() and caching().
-.SH "void QFileInfo::setFile ( const TQString & file )"
-Sets the file that the QFileInfo provides information about to \fIfile\fR.
+.SH "void TQFileInfo::setFile ( const TQString & file )"
+Sets the file that the TQFileInfo provides information about to \fIfile\fR.
.PP
The \fIfile\fR can also include an absolute or relative file path. Absolute paths begin with the directory separator (e.g. "/" under Unix) or a drive specification (under Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current directory.
.PP
@@ -469,17 +469,17 @@ Example:
.br
TQString relative = "local/bin";
.br
- QFileInfo absFile( absolute );
+ TQFileInfo absFile( absolute );
.br
- QFileInfo relFile( relative );
+ TQFileInfo relFile( relative );
.br
.br
- QDir::setCurrent( QDir::rootDirPath() );
+ TQDir::setCurrent( TQDir::rootDirPath() );
.br
// absFile and relFile now point to the same file
.br
.br
- QDir::setCurrent( "/tmp" );
+ TQDir::setCurrent( "/tmp" );
.br
// absFile now points to "/local/bin",
.br
@@ -487,32 +487,32 @@ Example:
.br
.fi
.PP
-See also isRelative(), QDir::setCurrent(), and QDir::isRelativePath().
+See also isRelative(), TQDir::setCurrent(), and TQDir::isRelativePath().
.PP
Example: biff/biff.cpp.
-.SH "void QFileInfo::setFile ( const QFile & file )"
+.SH "void TQFileInfo::setFile ( const TQFile & file )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Sets the file that the QFileInfo provides information about to \fIfile\fR.
+Sets the file that the TQFileInfo provides information about to \fIfile\fR.
.PP
-If \fIfile\fR includes a relative path, the QFileInfo will also have a relative path.
+If \fIfile\fR includes a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "void QFileInfo::setFile ( const QDir & d, const TQString & fileName )"
+.SH "void TQFileInfo::setFile ( const TQDir & d, const TQString & fileName )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Sets the file that the QFileInfo provides information about to \fIfileName\fR in directory \fId\fR.
+Sets the file that the TQFileInfo provides information about to \fIfileName\fR in directory \fId\fR.
.PP
-If \fIfileName\fR includes a relative path, the QFileInfo will also have a relative path.
+If \fIfileName\fR includes a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "uint QFileInfo::size () const"
+.SH "uint TQFileInfo::size () const"
Returns the file size in bytes, or 0 if the file does not exist or if the size is 0 or if the size cannot be fetched.
.PP
-Example: qdir/qdir.cpp.
+Example: tqdir/tqdir.cpp.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqfileinfo.html
+.BR http://doc.trolltech.com/tqfileinfo.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the