From b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:54 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- libk9copy/k9mp4enc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libk9copy/k9mp4enc.cpp') diff --git a/libk9copy/k9mp4enc.cpp b/libk9copy/k9mp4enc.cpp index a59c37f..fc606af 100644 --- a/libk9copy/k9mp4enc.cpp +++ b/libk9copy/k9mp4enc.cpp @@ -274,7 +274,7 @@ void k9MP4Enc::execute ( k9DVDTitle *_title ) if ( ext!="" ) ext="."+ext; path=m_filename.left ( m_filename.length()-ext.length() ); - //path=TQString("%1-chapter%2-cell%3%4").tqarg(path).tqarg(ichapterCells.key()).tqarg(ichapterCells.value()).tqarg(ext); + //path=TQString("%1-chapter%2-cell%3%4").arg(path).arg(ichapterCells.key()).arg(ichapterCells.value()).arg(ext); path=TQString ( "%1-chapter%2%3" ).arg ( path ).arg ( ichapterCells.key() ).arg ( ext ); ++ichapterCells; } @@ -312,9 +312,9 @@ void k9MP4Enc::execute ( k9DVDTitle *_title ) //*m_process << "-ovc" << sVOption; /* int pos=sVOption.find("-vf"); if (pos==-1) - *m_process <<"-vf" << TQString("scale=%1:%2").tqarg(m_width).tqarg(m_height); + *m_process <<"-vf" << TQString("scale=%1:%2").arg(m_width).arg(m_height); else - sVOption=sVOption.insert(pos+4,TQString("scale=%1:%2,").tqarg(m_width).tqarg(m_height)); + sVOption=sVOption.insert(pos+4,TQString("scale=%1:%2,").arg(m_width).arg(m_height)); */ *m_process << sVOption; @@ -503,7 +503,7 @@ void k9MP4Enc::getStdout ( KProcess *, char *buffer, int buflen ) void k9MP4Enc::getStderr ( KProcess *proc, char *buffer, int buflen ) { - //m_stderr=TQString::tqfromLatin1(buffer,buflen); + //m_stderr=TQString::fromLatin1(buffer,buflen); TQCString cstderr ( buffer,buflen+1 ); if ( cstderr.find ( "FATAL:" ) !=-1 ) -- cgit v1.2.1