diff options
Diffstat (limited to 'kdat/Node.cpp')
-rw-r--r-- | kdat/Node.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdat/Node.cpp b/kdat/Node.cpp index 7999c9d..9ce9e03 100644 --- a/kdat/Node.cpp +++ b/kdat/Node.cpp @@ -311,7 +311,7 @@ TapeDirectoryNode::TapeDirectoryNode( File* file ) setDelayedExpanding( TRUE ); int len = _file->getName().length(); - int idx1 = _file->getName().tqfindRev( '/', len - 2 ); + int idx1 = _file->getName().findRev( '/', len - 2 ); if ( idx1 < 0 ) { setText( _file->getName().left( len - 1 ) ); } else { @@ -372,7 +372,7 @@ TapeFileNode::TapeFileNode( File* file ) _file( file ) { int len = _file->getName().length(); - int idx1 = _file->getName().tqfindRev( '/', len - 1 ); + int idx1 = _file->getName().findRev( '/', len - 1 ); if ( idx1 < 0 ) { setText( _file->getName().left( len ) ); } else { @@ -482,7 +482,7 @@ const TQPixmap* SelectableNode::getSelectPixmap() const bool SelectableNode::mousePressEvent( const TQPoint& point ) { - if ( _selectRect.tqcontains( point ) ) { + if ( _selectRect.contains( point ) ) { switch ( _state ) { case SelAll: setSelected( FALSE ); @@ -713,7 +713,7 @@ MountedTapeDirectoryNode::MountedTapeDirectoryNode( File* file, int state ) setDelayedExpanding( TRUE ); int len = _file->getName().length(); - int idx1 = _file->getName().tqfindRev( '/', len - 2 ); + int idx1 = _file->getName().findRev( '/', len - 2 ); if ( idx1 < 0 ) { setText( _file->getName().left( len - 1 ) ); } else { @@ -819,7 +819,7 @@ MountedTapeFileNode::MountedTapeFileNode( File* file, int state ) _file( file ) { int len = _file->getName().length(); - int idx1 = _file->getName().tqfindRev( '/', len - 1 ); + int idx1 = _file->getName().findRev( '/', len - 1 ); if ( idx1 < 0 ) { setText( _file->getName().left( len ) ); } else { |