summaryrefslogtreecommitdiffstats
path: root/kbarcode/labeleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/labeleditor.cpp')
-rw-r--r--kbarcode/labeleditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbarcode/labeleditor.cpp b/kbarcode/labeleditor.cpp
index 0b399d3..582b9e5 100644
--- a/kbarcode/labeleditor.cpp
+++ b/kbarcode/labeleditor.cpp
@@ -305,7 +305,7 @@ bool LabelEditor::save( TQString name )
save( TQT_TQIODEVICE(&f) );
- m_token->setLabelName( filename.right( filename.length() - filename.tqfindRev( "/" ) - 1 ) );
+ m_token->setLabelName( filename.right( filename.length() - filename.findRev( "/" ) - 1 ) );
// maybe we should redraw all items on the canvas now.
// if there is a label with [filename], the filename might not
// get updated if the label gets saved with another filename.
@@ -359,7 +359,7 @@ bool LabelEditor::openUrl( const TQString & url )
filename = url;
setCaption( filename, false );
- m_token->setLabelName( filename.right( filename.length() - filename.tqfindRev( "/" ) - 1 ) );
+ m_token->setLabelName( filename.right( filename.length() - filename.findRev( "/" ) - 1 ) );
TQFile f( filename );
if ( !f.open( IO_ReadOnly ) )
@@ -428,7 +428,7 @@ bool LabelEditor::newLabel()
delete nl;
filename = TQString();
- m_token->setLabelName( filename.right( filename.length() - filename.tqfindRev( "/" ) - 1 ) );
+ m_token->setLabelName( filename.right( filename.length() - filename.findRev( "/" ) - 1 ) );
setCaption( filename, false );
enableActions();
@@ -938,7 +938,7 @@ void LabelEditor::backCurrent()
const TQString LabelEditor::fileName() const
{
- return filename.right( filename.length() - filename.tqfindRev( "/" ) - 1 );
+ return filename.right( filename.length() - filename.findRev( "/" ) - 1 );
}
void LabelEditor::preview()