diff options
Diffstat (limited to 'src/part/fileTree.h')
-rw-r--r-- | src/part/fileTree.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/part/fileTree.h b/src/part/fileTree.h index e90a7be..1ca2f4b 100644 --- a/src/part/fileTree.h +++ b/src/part/fileTree.h @@ -197,9 +197,9 @@ private: class Directory : public Chain<File>, public File { public: - Directory( const char *name ) : File( name, 0 ), m_children( 0 ) {} //DON'T pass the full path! + Directory( const char *name ) : File( name, 0 ), m_tqchildren( 0 ) {} //DON'T pass the full path! - uint children() const { return m_children; } + uint tqchildren() const { return m_tqchildren; } virtual bool isDirectory() const { return true; } ///appends a Directory @@ -209,7 +209,7 @@ public: delete [] d->m_name; d->m_name = qstrdup( name ); } //directories that had a fullpath copy just their names this way - m_children += d->children(); //doesn't include the dir itself + m_tqchildren += d->tqchildren(); //doesn't include the dir itself d->m_parent = this; append( (File*)d ); //will add 1 to filecount for the dir itself } @@ -223,12 +223,12 @@ public: private: void append( File *p ) { - m_children++; + m_tqchildren++; m_size += p->size(); Chain<File>::append( p ); } - uint m_children; + uint m_tqchildren; private: Directory( const Directory& ); //undefined |