diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:44 -0600 |
commit | 9b21afd056f51a1dba015292a5472a146de967bd (patch) | |
tree | 0c642c457dea43eb9af17b865bad4dbc43f9fc57 /src/part/fileTree.h | |
parent | 5f20b2e679037af4b18ac901bdf78a08e5c0da39 (diff) | |
download | filelight-9b21afd056f51a1dba015292a5472a146de967bd.tar.gz filelight-9b21afd056f51a1dba015292a5472a146de967bd.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 5f20b2e679037af4b18ac901bdf78a08e5c0da39.
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 |