diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | df8e67b86696f691708af8592d86282b09bab011 (patch) | |
tree | ca90d734c9011d457a42f0a7004a9507b2c2c1bd /libk3b/projects/movixcd | |
parent | 33881ea4441221b1ca0789a72c4c7249d923a0df (diff) | |
download | k3b-df8e67b86696f691708af8592d86282b09bab011.tar.gz k3b-df8e67b86696f691708af8592d86282b09bab011.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/projects/movixcd')
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixdoc.cpp | 8 | ||||
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixdoc.h | 4 | ||||
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixdocpreparer.cpp | 10 | ||||
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixdocpreparer.h | 2 | ||||
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixfileitem.cpp | 4 | ||||
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixjob.cpp | 4 | ||||
-rw-r--r-- | libk3b/projects/movixcd/k3bmovixjob.h | 2 |
7 files changed, 17 insertions, 17 deletions
diff --git a/libk3b/projects/movixcd/k3bmovixdoc.cpp b/libk3b/projects/movixcd/k3bmovixdoc.cpp index d73e39a..cedf255 100644 --- a/libk3b/projects/movixcd/k3bmovixdoc.cpp +++ b/libk3b/projects/movixcd/k3bmovixdoc.cpp @@ -34,8 +34,8 @@ #include <tqfileinfo.h> -K3bMovixDoc::K3bMovixDoc( TQObject* tqparent ) - : K3bDataDoc( tqparent ) +K3bMovixDoc::K3bMovixDoc( TQObject* parent ) + : K3bDataDoc( parent ) { connect( this, TQT_SIGNAL(itemRemoved(K3bDataItem*)), this, TQT_SLOT(slotDataItemRemoved(K3bDataItem*)) ); @@ -47,9 +47,9 @@ K3bMovixDoc::~K3bMovixDoc() } -K3bBurnJob* K3bMovixDoc::newBurnJob( K3bJobHandler* hdl, TQObject* tqparent ) +K3bBurnJob* K3bMovixDoc::newBurnJob( K3bJobHandler* hdl, TQObject* parent ) { - return new K3bMovixJob( this, hdl, tqparent ); + return new K3bMovixJob( this, hdl, parent ); } diff --git a/libk3b/projects/movixcd/k3bmovixdoc.h b/libk3b/projects/movixcd/k3bmovixdoc.h index cd46dbf..90a4f1f 100644 --- a/libk3b/projects/movixcd/k3bmovixdoc.h +++ b/libk3b/projects/movixcd/k3bmovixdoc.h @@ -37,12 +37,12 @@ class LIBK3B_EXPORT K3bMovixDoc : public K3bDataDoc TQ_OBJECT public: - K3bMovixDoc( TQObject* tqparent = 0 ); + K3bMovixDoc( TQObject* parent = 0 ); virtual ~K3bMovixDoc(); virtual int type() const { return MOVIX; } - virtual K3bBurnJob* newBurnJob( K3bJobHandler* hdl, TQObject* tqparent ); + virtual K3bBurnJob* newBurnJob( K3bJobHandler* hdl, TQObject* parent ); bool newDocument(); diff --git a/libk3b/projects/movixcd/k3bmovixdocpreparer.cpp b/libk3b/projects/movixcd/k3bmovixdocpreparer.cpp index 38d8f81..79c70b3 100644 --- a/libk3b/projects/movixcd/k3bmovixdocpreparer.cpp +++ b/libk3b/projects/movixcd/k3bmovixdocpreparer.cpp @@ -68,8 +68,8 @@ public: }; -K3bMovixDocPreparer::K3bMovixDocPreparer( K3bMovixDoc* doc, K3bJobHandler* jh, TQObject* tqparent, const char* name ) - : K3bJob( jh, tqparent, name ) +K3bMovixDocPreparer::K3bMovixDocPreparer( K3bMovixDoc* doc, K3bJobHandler* jh, TQObject* parent, const char* name ) + : K3bJob( jh, parent, name ) { d = new Private(); d->doc = doc; @@ -406,7 +406,7 @@ bool K3bMovixDocPreparer::addMovixFilesNew() // set the proper sort weight bootItem->setSortWeight( 200 ); - bootItem->tqparent()->setSortWeight( 100 ); + bootItem->parent()->setSortWeight( 100 ); } else if( fileName != "movixrc" ) { // we create our own movixrc K3bFileItem* item = createItem( filePath, docPath ); @@ -478,8 +478,8 @@ K3bDirItem* K3bMovixDocPreparer::createDir( const TQString& docPath ) // remember the dir to remove it if( dir != d->doc->root() ) { K3bDirItem* delDir = dir; - while( delDir->tqparent() != d->doc->root() ) - delDir = delDir->tqparent(); + while( delDir->parent() != d->doc->root() ) + delDir = delDir->parent(); if( d->newMovixItems.findRef( delDir ) == -1 ) d->newMovixItems.append( delDir ); } diff --git a/libk3b/projects/movixcd/k3bmovixdocpreparer.h b/libk3b/projects/movixcd/k3bmovixdocpreparer.h index 8d4ba1e..4f1129c 100644 --- a/libk3b/projects/movixcd/k3bmovixdocpreparer.h +++ b/libk3b/projects/movixcd/k3bmovixdocpreparer.h @@ -33,7 +33,7 @@ class K3bMovixDocPreparer : public K3bJob TQ_OBJECT public: - explicit K3bMovixDocPreparer( K3bMovixDoc* doc, K3bJobHandler*, TQObject* tqparent = 0, const char* name = 0 ); + explicit K3bMovixDocPreparer( K3bMovixDoc* doc, K3bJobHandler*, TQObject* parent = 0, const char* name = 0 ); ~K3bMovixDocPreparer(); K3bMovixDoc* doc() const; diff --git a/libk3b/projects/movixcd/k3bmovixfileitem.cpp b/libk3b/projects/movixcd/k3bmovixfileitem.cpp index 5242061..f727404 100644 --- a/libk3b/projects/movixcd/k3bmovixfileitem.cpp +++ b/libk3b/projects/movixcd/k3bmovixfileitem.cpp @@ -40,8 +40,8 @@ K3bMovixFileItem::~K3bMovixFileItem() // it is important to do it here and not // rely on the K3bFileItem destructor becasue // otherwise the doc is not informed early enough - if( tqparent() ) - tqparent()->takeDataItem( this ); + if( parent() ) + parent()->takeDataItem( this ); } diff --git a/libk3b/projects/movixcd/k3bmovixjob.cpp b/libk3b/projects/movixcd/k3bmovixjob.cpp index 220a8da..8edcaae 100644 --- a/libk3b/projects/movixcd/k3bmovixjob.cpp +++ b/libk3b/projects/movixcd/k3bmovixjob.cpp @@ -27,8 +27,8 @@ #include <kdebug.h> -K3bMovixJob::K3bMovixJob( K3bMovixDoc* doc, K3bJobHandler* jh, TQObject* tqparent ) - : K3bBurnJob( jh, tqparent ), +K3bMovixJob::K3bMovixJob( K3bMovixDoc* doc, K3bJobHandler* jh, TQObject* parent ) + : K3bBurnJob( jh, parent ), m_doc(doc) { m_dataJob = new K3bDataJob( doc, this, this ); diff --git a/libk3b/projects/movixcd/k3bmovixjob.h b/libk3b/projects/movixcd/k3bmovixjob.h index d1689f6..98338fa 100644 --- a/libk3b/projects/movixcd/k3bmovixjob.h +++ b/libk3b/projects/movixcd/k3bmovixjob.h @@ -34,7 +34,7 @@ class K3bMovixJob : public K3bBurnJob TQ_OBJECT public: - K3bMovixJob( K3bMovixDoc* doc, K3bJobHandler*, TQObject* tqparent = 0 ); + K3bMovixJob( K3bMovixDoc* doc, K3bJobHandler*, TQObject* parent = 0 ); ~K3bMovixJob(); K3bDoc* doc() const; |