summaryrefslogtreecommitdiffstats
path: root/src/part/fileTree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/part/fileTree.h')
-rw-r--r--src/part/fileTree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/part/fileTree.h b/src/part/fileTree.h
index 1ca2f4b..e90a7be 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_tqchildren( 0 ) {} //DON'T pass the full path!
+ Directory( const char *name ) : File( name, 0 ), m_children( 0 ) {} //DON'T pass the full path!
- uint tqchildren() const { return m_tqchildren; }
+ uint children() const { return m_children; }
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_tqchildren += d->tqchildren(); //doesn't include the dir itself
+ m_children += d->children(); //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_tqchildren++;
+ m_children++;
m_size += p->size();
Chain<File>::append( p );
}
- uint m_tqchildren;
+ uint m_children;
private:
Directory( const Directory& ); //undefined