summaryrefslogtreecommitdiffstats
path: root/src/part/fileTree.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:39 -0600
commit5f20b2e679037af4b18ac901bdf78a08e5c0da39 (patch)
tree85503439e6090826541332cbdd806bd7da85312a /src/part/fileTree.h
parent8752fee06412044074a3e96e74d1fbe28fcd41ba (diff)
downloadfilelight-5f20b2e679037af4b18ac901bdf78a08e5c0da39.tar.gz
filelight-5f20b2e679037af4b18ac901bdf78a08e5c0da39.zip
Rename a number of old tq methods that are no longer tq specific
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