diff options
Diffstat (limited to 'libk3b/projects/videocd')
-rw-r--r-- | libk3b/projects/videocd/k3bvcddoc.cpp | 8 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcddoc.h | 2 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcdjob.cpp | 4 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcdjob.h | 2 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcdtrack.cpp | 6 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcdtrack.h | 2 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcdxmlview.cpp | 46 | ||||
-rw-r--r-- | libk3b/projects/videocd/k3bvcdxmlview.h | 2 |
8 files changed, 36 insertions, 36 deletions
diff --git a/libk3b/projects/videocd/k3bvcddoc.cpp b/libk3b/projects/videocd/k3bvcddoc.cpp index 1695353..a361d5d 100644 --- a/libk3b/projects/videocd/k3bvcddoc.cpp +++ b/libk3b/projects/videocd/k3bvcddoc.cpp @@ -49,8 +49,8 @@ bool print_progress = true; bool aspect_correction = false; byte forced_sequence_header = 0; -K3bVcdDoc::K3bVcdDoc( TQObject* tqparent ) - : K3bDoc( tqparent ) +K3bVcdDoc::K3bVcdDoc( TQObject* parent ) + : K3bDoc( parent ) { m_tracks = 0L; m_vcdOptions = new K3bVcdOptions(); @@ -395,9 +395,9 @@ TQString K3bVcdDoc::typeString() const } -K3bBurnJob* K3bVcdDoc::newBurnJob( K3bJobHandler* hdl, TQObject* tqparent ) +K3bBurnJob* K3bVcdDoc::newBurnJob( K3bJobHandler* hdl, TQObject* parent ) { - return new K3bVcdJob( this, hdl, tqparent ); + return new K3bVcdJob( this, hdl, parent ); } void K3bVcdDoc::informAboutNotFoundFiles() diff --git a/libk3b/projects/videocd/k3bvcddoc.h b/libk3b/projects/videocd/k3bvcddoc.h index 4f24200..1878c31 100644 --- a/libk3b/projects/videocd/k3bvcddoc.h +++ b/libk3b/projects/videocd/k3bvcddoc.h @@ -109,7 +109,7 @@ class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc KIO::filesize_t size() const; K3b::Msf length() const; - K3bBurnJob* newBurnJob( K3bJobHandler* hdl, TQObject* tqparent ); + K3bBurnJob* newBurnJob( K3bJobHandler* hdl, TQObject* parent ); K3bVcdOptions* vcdOptions() const { return m_vcdOptions; diff --git a/libk3b/projects/videocd/k3bvcdjob.cpp b/libk3b/projects/videocd/k3bvcdjob.cpp index bdeebec..662145c 100644 --- a/libk3b/projects/videocd/k3bvcdjob.cpp +++ b/libk3b/projects/videocd/k3bvcdjob.cpp @@ -43,8 +43,8 @@ #include <k3bcdrecordwriter.h> #include <k3bcdrdaowriter.h> -K3bVcdJob::K3bVcdJob( K3bVcdDoc* doc, K3bJobHandler* jh, TQObject* tqparent, const char* name ) - : K3bBurnJob( jh, tqparent, name ) +K3bVcdJob::K3bVcdJob( K3bVcdDoc* doc, K3bJobHandler* jh, TQObject* parent, const char* name ) + : K3bBurnJob( jh, parent, name ) { m_doc = doc; m_doc->setCopies( m_doc->dummy() || m_doc->onlyCreateImages() ? 1 : m_doc->copies() ); diff --git a/libk3b/projects/videocd/k3bvcdjob.h b/libk3b/projects/videocd/k3bvcdjob.h index 96d9026..151c1b1 100644 --- a/libk3b/projects/videocd/k3bvcdjob.h +++ b/libk3b/projects/videocd/k3bvcdjob.h @@ -34,7 +34,7 @@ class K3bVcdJob : public K3bBurnJob TQ_OBJECT public: - K3bVcdJob( K3bVcdDoc*, K3bJobHandler*, TQObject* tqparent = 0, const char* name = 0 ); + K3bVcdJob( K3bVcdDoc*, K3bJobHandler*, TQObject* parent = 0, const char* name = 0 ); ~K3bVcdJob(); K3bDoc* doc() const; diff --git a/libk3b/projects/videocd/k3bvcdtrack.cpp b/libk3b/projects/videocd/k3bvcdtrack.cpp index e3939cc..b008476 100644 --- a/libk3b/projects/videocd/k3bvcdtrack.cpp +++ b/libk3b/projects/videocd/k3bvcdtrack.cpp @@ -30,12 +30,12 @@ #include "k3bvcdtrack.h" #include <k3bglobals.h> -K3bVcdTrack::K3bVcdTrack( TQPtrList<K3bVcdTrack>* tqparent, const TQString& filename ) +K3bVcdTrack::K3bVcdTrack( TQPtrList<K3bVcdTrack>* parent, const TQString& filename ) : m_pbcnumkeys( true ), m_pbcnumkeysuserdefined( false ), m_file( filename ) { - m_parent = tqparent; + m_parent = parent; m_title = TQFileInfo( m_file ).baseName( true ); m_revreflist = new TQPtrList<K3bVcdTrack>; @@ -67,7 +67,7 @@ int K3bVcdTrack::index() const { int i = m_parent->find( this ); if ( i < 0 ) - kdDebug() << "(K3bVcdTrack) I'm not part of my tqparent!" << endl; + kdDebug() << "(K3bVcdTrack) I'm not part of my parent!" << endl; return i; } diff --git a/libk3b/projects/videocd/k3bvcdtrack.h b/libk3b/projects/videocd/k3bvcdtrack.h index a06552e..c48be55 100644 --- a/libk3b/projects/videocd/k3bvcdtrack.h +++ b/libk3b/projects/videocd/k3bvcdtrack.h @@ -31,7 +31,7 @@ class LIBK3B_EXPORT K3bVcdTrack { public: - K3bVcdTrack( TQPtrList<K3bVcdTrack>* tqparent, const TQString& filename ); + K3bVcdTrack( TQPtrList<K3bVcdTrack>* parent, const TQString& filename ); ~K3bVcdTrack(); TQString fileName() const diff --git a/libk3b/projects/videocd/k3bvcdxmlview.cpp b/libk3b/projects/videocd/k3bvcdxmlview.cpp index 0857013..203f54f 100644 --- a/libk3b/projects/videocd/k3bvcdxmlview.cpp +++ b/libk3b/projects/videocd/k3bvcdxmlview.cpp @@ -245,16 +245,16 @@ bool K3bVcdXmlView::write( const TQString& fname ) return false; } -void K3bVcdXmlView::addComment( TQDomDocument& doc, TQDomElement& tqparent, const TQString& text ) +void K3bVcdXmlView::addComment( TQDomDocument& doc, TQDomElement& parent, const TQString& text ) { TQDomComment comment = doc.createComment( text ); - tqparent.appendChild( comment ); + parent.appendChild( comment ); } -TQDomElement K3bVcdXmlView::addSubElement( TQDomDocument& doc, TQDomElement& tqparent, const TQString& name, const TQString& value ) +TQDomElement K3bVcdXmlView::addSubElement( TQDomDocument& doc, TQDomElement& parent, const TQString& name, const TQString& value ) { TQDomElement element = doc.createElement( name ); - tqparent.appendChild( element ); + parent.appendChild( element ); if ( !value.isNull() ) { TQDomText t = doc.createTextNode( value ); element.appendChild( t ); @@ -262,10 +262,10 @@ TQDomElement K3bVcdXmlView::addSubElement( TQDomDocument& doc, TQDomElement& tqp return element; } -TQDomElement K3bVcdXmlView::addSubElement( TQDomDocument& doc, TQDomElement& tqparent, const TQString& name, const int& value ) +TQDomElement K3bVcdXmlView::addSubElement( TQDomDocument& doc, TQDomElement& parent, const TQString& name, const int& value ) { TQDomElement element = doc.createElement( name ); - tqparent.appendChild( element ); + parent.appendChild( element ); if ( value >= -1 ) { TQDomText t = doc.createTextNode( TQString( "%1" ).tqarg( value ) ); element.appendChild( t ); @@ -273,17 +273,17 @@ TQDomElement K3bVcdXmlView::addSubElement( TQDomDocument& doc, TQDomElement& tqp return element; } -TQDomElement K3bVcdXmlView::addFolderElement( TQDomDocument& doc, TQDomElement& tqparent, const TQString& name ) +TQDomElement K3bVcdXmlView::addFolderElement( TQDomDocument& doc, TQDomElement& parent, const TQString& name ) { - TQDomElement elemFolder = addSubElement( doc, tqparent, "folder" ); + TQDomElement elemFolder = addSubElement( doc, parent, "folder" ); addSubElement( doc, elemFolder, "name", name ); return elemFolder; } -void K3bVcdXmlView::addFileElement( TQDomDocument& doc, TQDomElement& tqparent, const TQString& src, const TQString& name, bool mixed ) +void K3bVcdXmlView::addFileElement( TQDomDocument& doc, TQDomElement& parent, const TQString& src, const TQString& name, bool mixed ) { - TQDomElement elemFile = addSubElement( doc, tqparent, "file" ); + TQDomElement elemFile = addSubElement( doc, parent, "file" ); elemFile.setAttribute( "src", TQString( "%1" ).tqarg( src ) ); if ( mixed ) elemFile.setAttribute( "format", "mixed" ); @@ -291,11 +291,11 @@ void K3bVcdXmlView::addFileElement( TQDomDocument& doc, TQDomElement& tqparent, addSubElement( doc, elemFile, "name", name ); } -void K3bVcdXmlView::doPbc( TQDomDocument& doc, TQDomElement& tqparent, K3bVcdTrack* track ) +void K3bVcdXmlView::doPbc( TQDomDocument& doc, TQDomElement& parent, K3bVcdTrack* track ) { TQString ref = ( track->isSegment() ) ? "segment" : "sequence"; - TQDomElement elemSelection = addSubElement( doc, tqparent, "selection" ); + TQDomElement elemSelection = addSubElement( doc, parent, "selection" ); elemSelection.setAttribute( "id", TQString( "select-%1-%2" ).tqarg( ref ).tqarg( TQString::number( track->index() ).rightJustify( 3, '0' ) ) ); setNumkeyBSN( doc, elemSelection, track ); @@ -374,7 +374,7 @@ void K3bVcdXmlView::doPbc( TQDomDocument& doc, TQDomElement& tqparent, K3bVcdTra setNumkeySEL( doc, elemSelection, track ); } -void K3bVcdXmlView::setNumkeyBSN( TQDomDocument& doc, TQDomElement& tqparent, K3bVcdTrack* track ) +void K3bVcdXmlView::setNumkeyBSN( TQDomDocument& doc, TQDomElement& parent, K3bVcdTrack* track ) { if ( track->PbcNumKeys() ) { if ( track->PbcNumKeysUserdefined() ) { @@ -387,18 +387,18 @@ void K3bVcdXmlView::setNumkeyBSN( TQDomDocument& doc, TQDomElement& tqparent, K3 m_startkey = trackIt.key(); if ( m_startkey > 0 ) - addSubElement( doc, tqparent, "bsn", m_startkey ); + addSubElement( doc, parent, "bsn", m_startkey ); else // user has no numKeys defined for this track track->setPbcNumKeys( false ); } else { // default start with key #1 - addSubElement( doc, tqparent, "bsn", 1 ); + addSubElement( doc, parent, "bsn", 1 ); } } } -void K3bVcdXmlView::setNumkeySEL( TQDomDocument& doc, TQDomElement& tqparent, K3bVcdTrack* track ) +void K3bVcdXmlView::setNumkeySEL( TQDomDocument& doc, TQDomElement& parent, K3bVcdTrack* track ) { if ( track->PbcNumKeys() ) { TQDomElement elemPbcSelectionNumKeySEL; @@ -412,27 +412,27 @@ void K3bVcdXmlView::setNumkeySEL( TQDomDocument& doc, TQDomElement& tqparent, K3 kdDebug() << TQString( "trackIt key: %1 none: %2" ).tqarg( trackIt.key() ).tqarg( none ) << endl; while ( none < trackIt.key() ) { - elemPbcSelectionNumKeySEL = addSubElement( doc, tqparent, "select" ); + elemPbcSelectionNumKeySEL = addSubElement( doc, parent, "select" ); elemPbcSelectionNumKeySEL.setAttribute( "ref", TQString( "select-%1-%2" ).tqarg( ref ).tqarg( TQString::number( track->index() ).rightJustify( 3, '0' ) ) ); - addComment( doc, tqparent, TQString( "key %1 -> %2 (normal none)" ).tqarg( none ).tqarg( TQFile::encodeName( track->absPath() ).data() ) ); + addComment( doc, parent, TQString( "key %1 -> %2 (normal none)" ).tqarg( none ).tqarg( TQFile::encodeName( track->absPath() ).data() ) ); none++; } if ( trackIt.data() ) { TQString ref = ( trackIt.data() ->isSegment() ) ? "segment" : "sequence"; - elemPbcSelectionNumKeySEL = addSubElement( doc, tqparent, "select" ); + elemPbcSelectionNumKeySEL = addSubElement( doc, parent, "select" ); elemPbcSelectionNumKeySEL.setAttribute( "ref", TQString( "select-%1-%2" ).tqarg( ref ).tqarg( TQString::number( trackIt.data() ->index() ).rightJustify( 3, '0' ) ) ); - addComment( doc, tqparent, TQString( "key %1 -> %2" ).tqarg( trackIt.key() ).tqarg( TQFile::encodeName( trackIt.data() ->absPath() ).data() ) ); + addComment( doc, parent, TQString( "key %1 -> %2" ).tqarg( trackIt.key() ).tqarg( TQFile::encodeName( trackIt.data() ->absPath() ).data() ) ); } else { - elemPbcSelectionNumKeySEL = addSubElement( doc, tqparent, "select" ); + elemPbcSelectionNumKeySEL = addSubElement( doc, parent, "select" ); elemPbcSelectionNumKeySEL.setAttribute( "ref", "end" ); - addComment( doc, tqparent, TQString( "key %1 -> end" ).tqarg( trackIt.key() ) ); + addComment( doc, parent, TQString( "key %1 -> end" ).tqarg( trackIt.key() ) ); } none++; } } else { // default reference to itSelf - elemPbcSelectionNumKeySEL = addSubElement( doc, tqparent, "select" ); + elemPbcSelectionNumKeySEL = addSubElement( doc, parent, "select" ); elemPbcSelectionNumKeySEL.setAttribute( "ref", TQString( "select-%1-%2" ).tqarg( ref ).tqarg( TQString::number( track->index() ).rightJustify( 3, '0' ) ) ); } } diff --git a/libk3b/projects/videocd/k3bvcdxmlview.h b/libk3b/projects/videocd/k3bvcdxmlview.h index cce8341..6368dec 100644 --- a/libk3b/projects/videocd/k3bvcdxmlview.h +++ b/libk3b/projects/videocd/k3bvcdxmlview.h @@ -43,7 +43,7 @@ class K3bVcdXmlView private: TQString m_xmlstring; - void addComment( TQDomDocument& doc, TQDomElement& tqparent, const TQString& text ); + void addComment( TQDomDocument& doc, TQDomElement& parent, const TQString& text ); TQDomElement addSubElement( TQDomDocument&, TQDomElement&, const TQString& name, const TQString& value = TQString() ); TQDomElement addSubElement( TQDomDocument&, TQDomElement&, const TQString& name, const int& value ); |