diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:44 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 20:26:21 +0200 |
commit | 239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595 (patch) | |
tree | b9679d63b6a1004d9983259d41303b5a88a1621a /kdat/File.cpp | |
parent | 1754e4db964431e721e805a923b689b6c92960e4 (diff) | |
download | tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.tar.gz tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 6b7a8ff33a6383be4a9dea3c4225d142aab79b78)
Diffstat (limited to 'kdat/File.cpp')
-rw-r--r-- | kdat/File.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdat/File.cpp b/kdat/File.cpp index ce05aeb..fd766b3 100644 --- a/kdat/File.cpp +++ b/kdat/File.cpp @@ -44,9 +44,9 @@ File::File( File* parent, FILE* fptr, int offset ) File::~File() { - while ( _tqchildren.first() ) { - delete _tqchildren.first(); - _tqchildren.removeFirst(); + while ( _children.first() ) { + delete _children.first(); + _children.removeFirst(); } } @@ -164,7 +164,7 @@ void File::write( FILE* fptr ) fwrite( &ival, sizeof( ival ), 1, fptr ); } - // Number of immediate tqchildren (4 bytes). + // Number of immediate children (4 bytes). ival = getChildren().count(); fwrite( &ival, sizeof( ival ), 1, fptr ); @@ -175,10 +175,10 @@ void File::write( FILE* fptr ) } //===== Write files ===== - ival = _tqchildren.count(); + ival = _children.count(); fwrite( &ival, sizeof( ival ), 1, fptr ); - TQPtrListIterator<File> i( _tqchildren ); + TQPtrListIterator<File> i( _children ); int count = 0; for ( ; i.current(); ++i, count++ ) { // Fill in the file offset. @@ -252,7 +252,7 @@ const TQPtrList<File>& File::getChildren() { read(); - return _tqchildren; + return _children; } const TQPtrList<Range>& File::getRanges() @@ -266,7 +266,7 @@ void File::addChild( File* file ) { read(); - _tqchildren.append( file ); + _children.append( file ); } void File::calcRanges() |