summaryrefslogtreecommitdiffstats
path: root/src/part/fileTree.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit1d9d6c097afce1f47671832db062ac5ef412147f (patch)
treef4816de96d0673e85c9357781cf0070e60ae257b /src/part/fileTree.h
parent649f3d48bf88497f3e3214fed6401628bded8bfc (diff)
downloadfilelight-1d9d6c097afce1f47671832db062ac5ef412147f.tar.gz
filelight-1d9d6c097afce1f47671832db062ac5ef412147f.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/filelight@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/part/fileTree.h')
-rw-r--r--src/part/fileTree.h4
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;