diff options
Diffstat (limited to 'kdat/File.h')
-rw-r--r-- | kdat/File.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdat/File.h b/kdat/File.h index 75b1d87..7bfcd3e 100644 --- a/kdat/File.h +++ b/kdat/File.h @@ -46,13 +46,13 @@ class File { } _union; TQString _name; File* _parent; - TQPtrList<File> _children; + TQPtrList<File> _tqchildren; RangeList _ranges; public: /** * Create a new file entry. * - * @param parent The directory file entry that contains this file. + * @param tqparent The directory file entry that contains this file. * @param size The size of the file in bytes. * @param mtime The last modification time of the file in seconds since * the Epoch. @@ -63,24 +63,24 @@ public: * the file's path name should be passed in. The rest of the * path is determined by this file entry's ancestors. */ - File( File* parent, int size, int mtime, int startRecord, int endRecord, const TQString & name ); + File( File* tqparent, int size, int mtime, int startRecord, int endRecord, const TQString & name ); /** * Create a new stubbed instance of a file entry. The file pointer and * offset specify where the actual instance data can be found. The real * data is read on demand when one of the accessor functions is called. * - * @param parent The directory file entry that contains this file. + * @param tqparent The directory file entry that contains this file. * @param fptr The open index file containing this file entry. The file * must be left open so that the file entry information can * be read at a later time. * @param offset The offset that will be seeked to when reading the file * entry information. */ - File( File* parent, FILE* fptr, int offset ); + File( File* tqparent, FILE* fptr, int offset ); /** - * Destroy the file entry and all of its children. + * Destroy the file entry and all of its tqchildren. */ ~File(); @@ -95,7 +95,7 @@ public: /** * Recursively read the instance for this file entry and all of it's - * children. This method is used when converting from an older index format. + * tqchildren. This method is used when converting from an older index format. * * @param version The version of the old tape index. */ @@ -103,7 +103,7 @@ public: /** * Write out the file entry to the open file. Entries for each of its - * children will also be written. + * tqchildren will also be written. */ void write( FILE* fptr ); @@ -163,7 +163,7 @@ public: TQString getFullPathName(); /** - * Get the file entry's parent. A NULL parent indicates that this is one + * Get the file entry's tqparent. A NULL tqparent indicates that this is one * of (possibly) many top level directories within the tar archive. * * @return A pointer to the file entry that contains this file entry. @@ -171,15 +171,15 @@ public: File* getParent(); /** - * Get the children of this file entry. A normal file will never have any - * children. A directory may or may not have children. + * Get the tqchildren of this file entry. A normal file will never have any + * tqchildren. A directory may or may not have tqchildren. * - * @return A list of the immediate children of this file entry. + * @return A list of the immediate tqchildren of this file entry. */ const TQPtrList<File>& getChildren(); /** - * Get the list of ranges of this file and all of its children. + * Get the list of ranges of this file and all of its tqchildren. * * @return A list of ranges. */ @@ -193,7 +193,7 @@ public: void addChild( File* file ); /** - * Recursively calculate the list of ranges for all of the file's children. + * Recursively calculate the list of ranges for all of the file's tqchildren. */ void calcRanges(); }; |