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 /plugins/project | |
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 'plugins/project')
4 files changed, 20 insertions, 20 deletions
diff --git a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp index db68657..5211b36 100644 --- a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp +++ b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp @@ -74,9 +74,9 @@ public: K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc* doc, - TQWidget* tqparent, + TQWidget* parent, const char* name ) - : TQWidget( tqparent, name ) + : TQWidget( parent, name ) { d = new Private(); d->doc = dynamic_cast<K3bDataDoc*>(doc); @@ -352,14 +352,14 @@ TQString K3bAudioMetainfoRenamerPluginWidget::createNewName( K3bFileItem* item ) bool K3bAudioMetainfoRenamerPluginWidget::existsOtherItemWithSameName( K3bFileItem* item, const TQString& name ) { - K3bDirItem* dir = item->tqparent(); + K3bDirItem* dir = item->parent(); K3bDataItem* otherItem = dir->find( name ); if( otherItem && otherItem != item ) return true; TQListViewItem* dirViewItem = d->dirItemDict[dir]; TQListViewItem* current = dirViewItem->firstChild(); - while( current && current->tqparent() == dirViewItem ) { + while( current && current->parent() == dirViewItem ) { if( current->text(0) == name ) return true; current = current->nextSibling(); @@ -370,9 +370,9 @@ bool K3bAudioMetainfoRenamerPluginWidget::existsOtherItemWithSameName( K3bFileIt -K3bAudioMetainfoRenamerPlugin::K3bAudioMetainfoRenamerPlugin( TQObject* tqparent, +K3bAudioMetainfoRenamerPlugin::K3bAudioMetainfoRenamerPlugin( TQObject* parent, const char* name ) - : K3bProjectPlugin( DATA_PROJECTS, true, tqparent, name ) + : K3bProjectPlugin( DATA_PROJECTS, true, parent, name ) { setText( i18n("Rename Audio Files") ); setToolTip( i18n("Rename audio files based on their meta info.") ); @@ -384,9 +384,9 @@ K3bAudioMetainfoRenamerPlugin::~K3bAudioMetainfoRenamerPlugin() } -K3bProjectPluginGUIBase* K3bAudioMetainfoRenamerPlugin::createGUI( K3bDoc* doc, TQWidget* tqparent, const char* name ) +K3bProjectPluginGUIBase* K3bAudioMetainfoRenamerPlugin::createGUI( K3bDoc* doc, TQWidget* parent, const char* name ) { - return new K3bAudioMetainfoRenamerPluginWidget( doc, tqparent, name ); + return new K3bAudioMetainfoRenamerPluginWidget( doc, parent, name ); } #include "k3baudiometainforenamerplugin.moc" diff --git a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h index 66f5167..e64e81d 100644 --- a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h +++ b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h @@ -33,7 +33,7 @@ class K3bAudioMetainfoRenamerPluginWidget : public TQWidget, public K3bProjectPl TQ_OBJECT public: - K3bAudioMetainfoRenamerPluginWidget( K3bDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioMetainfoRenamerPluginWidget( K3bDoc* doc, TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioMetainfoRenamerPluginWidget(); TQWidget* qWidget() { return this; } @@ -51,7 +51,7 @@ class K3bAudioMetainfoRenamerPluginWidget : public TQWidget, public K3bProjectPl void slotScanClicked(); private: - void scanDir( K3bDirItem*, TQListViewItem* tqparent ); + void scanDir( K3bDirItem*, TQListViewItem* parent ); TQString createNewName( K3bFileItem* ); bool existsOtherItemWithSameName( K3bFileItem*, const TQString& ); @@ -66,7 +66,7 @@ class K3bAudioMetainfoRenamerPlugin : public K3bProjectPlugin TQ_OBJECT public: - K3bAudioMetainfoRenamerPlugin( TQObject* tqparent, const char* name ); + K3bAudioMetainfoRenamerPlugin( TQObject* parent, const char* name ); ~K3bAudioMetainfoRenamerPlugin(); int pluginSystemVersion() const { return 3; } diff --git a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp index 844071b..2f93124 100644 --- a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp +++ b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp @@ -44,9 +44,9 @@ K_EXPORT_COMPONENT_FACTORY( libk3baudioprojectcddbplugin, K3bPluginFactory<K3bAudioProjectCddbPlugin>( "libk3baudioprojectcddbplugin" ) ) -K3bAudioProjectCddbPlugin::K3bAudioProjectCddbPlugin( TQObject* tqparent, +K3bAudioProjectCddbPlugin::K3bAudioProjectCddbPlugin( TQObject* parent, const char* name ) - : K3bProjectPlugin( AUDIO_CD, false, tqparent, name ), + : K3bProjectPlugin( AUDIO_CD, false, parent, name ), m_cddb(0), m_progress(0) { @@ -61,14 +61,14 @@ K3bAudioProjectCddbPlugin::~K3bAudioProjectCddbPlugin() } -void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* tqparent ) +void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* parent ) { m_doc = dynamic_cast<K3bAudioDoc*>( doc ); - m_parentWidget = tqparent; + m_parentWidget = parent; m_canceled = false; if( !m_doc || m_doc->numOfTracks() == 0 ) { - KMessageBox::sorry( tqparent, i18n("Please select a non-empty audio project for a cddb query.") ); + KMessageBox::sorry( parent, i18n("Please select a non-empty audio project for a cddb query.") ); } else { if( !m_cddb ) { @@ -77,7 +77,7 @@ void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* tqparent ) this, TQT_SLOT(slotCddbQueryFinished(int)) ); } if( !m_progress ) { - m_progress = new K3bProgressDialog( i18n("Query Cddb"), tqparent, i18n("Audio Project") ); + m_progress = new K3bProgressDialog( i18n("Query Cddb"), parent, i18n("Audio Project") ); connect( m_progress, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(slotCancelClicked()) ); } @@ -141,7 +141,7 @@ void K3bAudioProjectCddbPlugin::slotCddbQueryFinished( int error ) } } - // make sure the progress dialog does not get deleted by it's tqparent + // make sure the progress dialog does not get deleted by it's parent delete m_progress; m_doc = 0; m_parentWidget = 0; diff --git a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h index 40aabd5..b53a472 100644 --- a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h +++ b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h @@ -30,12 +30,12 @@ class K3bAudioProjectCddbPlugin : public K3bProjectPlugin TQ_OBJECT public: - K3bAudioProjectCddbPlugin( TQObject* tqparent, const char* name ); + K3bAudioProjectCddbPlugin( TQObject* parent, const char* name ); ~K3bAudioProjectCddbPlugin(); int pluginSystemVersion() const { return 3; } - void activate( K3bDoc* doc, TQWidget* tqparent ); + void activate( K3bDoc* doc, TQWidget* parent ); private slots: void slotCddbQueryFinished( int result ); |