summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:18:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:18:18 -0600
commit5a7b1bb05b1154cb210d628262af046f4c89da4a (patch)
tree61eb6e8114061c5b073a34d2bda9db4ed4ad9d1d /src
parentb886296ebf875b5fecd754b5c62ea91be36413f0 (diff)
downloadfilelight-5a7b1bb05b1154cb210d628262af046f4c89da4a.tar.gz
filelight-5a7b1bb05b1154cb210d628262af046f4c89da4a.zip
Rename additional global TQt functions
Diffstat (limited to 'src')
-rw-r--r--src/part/fileTree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/part/fileTree.h b/src/part/fileTree.h
index e90a7be..9974b3c 100644
--- a/src/part/fileTree.h
+++ b/src/part/fileTree.h
@@ -4,7 +4,7 @@
#ifndef FILETREE_H
#define FILETREE_H
-#include <tqcstring.h> //qstrdup
+#include <tqcstring.h> //tqstrdup
#include <tqfile.h> //decodeName()
#include <stdlib.h>
@@ -165,7 +165,7 @@ public:
static const uint DENOMINATOR[4];
public:
- File( const char *name, FileSize size ) : m_parent( 0 ), m_name( qstrdup( name ) ), m_size( size ) {}
+ File( const char *name, FileSize size ) : m_parent( 0 ), m_name( tqstrdup( name ) ), m_size( size ) {}
virtual ~File() { delete [] m_name; }
const Directory *parent() const { return m_parent; }
@@ -182,7 +182,7 @@ public:
static TQString humanReadableSize( uint size, UnitPrefix Key = mega );
protected:
- File( const char *name, FileSize size, Directory *parent ) : m_parent( parent ), m_name( qstrdup( name ) ), m_size( size ) {}
+ File( const char *name, FileSize size, Directory *parent ) : m_parent( parent ), m_name( tqstrdup( name ) ), m_size( size ) {}
Directory *m_parent; //0 if this is treeRoot
char *m_name;
@@ -207,7 +207,7 @@ public:
{
if( name ) {
delete [] d->m_name;
- d->m_name = qstrdup( name ); } //directories that had a fullpath copy just their names this way
+ d->m_name = tqstrdup( name ); } //directories that had a fullpath copy just their names this way
m_children += d->children(); //doesn't include the dir itself
d->m_parent = this;