summaryrefslogtreecommitdiffstats
path: root/plugins/project/audiometainforenamer
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitdf8e67b86696f691708af8592d86282b09bab011 (patch)
treeca90d734c9011d457a42f0a7004a9507b2c2c1bd /plugins/project/audiometainforenamer
parent33881ea4441221b1ca0789a72c4c7249d923a0df (diff)
downloadk3b-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/audiometainforenamer')
-rw-r--r--plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp16
-rw-r--r--plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h6
2 files changed, 11 insertions, 11 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; }