summaryrefslogtreecommitdiffstats
path: root/kdat/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/File.cpp')
-rw-r--r--kdat/File.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdat/File.cpp b/kdat/File.cpp
index 01a1e13..ce05aeb 100644
--- a/kdat/File.cpp
+++ b/kdat/File.cpp
@@ -21,10 +21,10 @@
#include "File.h"
-File::File( File* tqparent, int size, int mtime, int startRecord, int endRecord, const TQString & name )
+File::File( File* parent, int size, int mtime, int startRecord, int endRecord, const TQString & name )
: _stubbed( FALSE ),
_name( name ),
- _parent( tqparent )
+ _parent( parent )
{
assert( endRecord >= startRecord );
@@ -34,9 +34,9 @@ File::File( File* tqparent, int size, int mtime, int startRecord, int endRecord,
_union._data._endRecord = endRecord;
}
-File::File( File* tqparent, FILE* fptr, int offset )
+File::File( File* parent, FILE* fptr, int offset )
: _stubbed( TRUE ),
- _parent( tqparent )
+ _parent( parent )
{
_union._stub._fptr = fptr;
_union._stub._offset = offset;
@@ -236,8 +236,8 @@ TQString File::getName()
TQString File::getFullPathName()
{
TQString tmp = _name.copy();
- for ( File* tqparent = getParent(); tqparent; tqparent = tqparent->getParent() ) {
- tmp.prepend( tqparent->getName() );
+ for ( File* parent = getParent(); parent; parent = parent->getParent() ) {
+ tmp.prepend( parent->getName() );
}
return tmp;