diff options
Diffstat (limited to 'src/part/fileTree.h')
-rw-r--r-- | src/part/fileTree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/part/fileTree.h b/src/part/fileTree.h index eb0cad2..1ca2f4b 100644 --- a/src/part/fileTree.h +++ b/src/part/fileTree.h @@ -168,7 +168,7 @@ public: File( const char *name, FileSize size ) : m_parent( 0 ), m_name( qstrdup( name ) ), m_size( size ) {} virtual ~File() { delete [] m_name; } - const Directory *tqparent() const { return m_parent; } + const Directory *parent() const { return m_parent; } const char *name8Bit() const { return m_name; } const FileSize size() const { return m_size; } TQString name() const { return TQFile::decodeName( m_name ); } @@ -182,7 +182,7 @@ public: static TQString humanReadableSize( uint size, UnitPrefix Key = mega ); protected: - File( const char *name, FileSize size, Directory *tqparent ) : m_parent( tqparent ), m_name( qstrdup( name ) ), m_size( size ) {} + File( const char *name, FileSize size, Directory *parent ) : m_parent( parent ), m_name( qstrdup( name ) ), m_size( size ) {} Directory *m_parent; //0 if this is treeRoot char *m_name; |