summaryrefslogtreecommitdiffstats
path: root/src/projects/k3bdatafileview.cpp
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 /src/projects/k3bdatafileview.cpp
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 'src/projects/k3bdatafileview.cpp')
-rw-r--r--src/projects/k3bdatafileview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/projects/k3bdatafileview.cpp b/src/projects/k3bdatafileview.cpp
index 996ca69..e5c0e84 100644
--- a/src/projects/k3bdatafileview.cpp
+++ b/src/projects/k3bdatafileview.cpp
@@ -47,8 +47,8 @@
#include <kdeversion.h>
-K3bDataFileView::K3bDataFileView( K3bView* view, K3bDataDirTreeView* dirTreeView, K3bDataDoc* doc, TQWidget* tqparent )
- : K3bListView( tqparent ),
+K3bDataFileView::K3bDataFileView( K3bView* view, K3bDataDirTreeView* dirTreeView, K3bDataDoc* doc, TQWidget* parent )
+ : K3bListView( parent ),
m_view(view),
m_dropDirItem(0)
{
@@ -126,7 +126,7 @@ void K3bDataFileView::clearItems()
void K3bDataFileView::slotItemAdded( K3bDataItem* item )
{
- if( item->tqparent() == currentDir() ) {
+ if( item->parent() == currentDir() ) {
K3bDataViewItem* vi = 0;
if( item->isDir() )
vi = new K3bDataDirViewItem( static_cast<K3bDirItem*>(item), this );
@@ -174,7 +174,7 @@ void K3bDataFileView::checkForNewItems()
// now check if some of the items have been moved out of the currently showing dir.
for( TQListViewItemIterator it( this ); it.current(); ++it ) {
K3bDataViewItem* dataViewItem = dynamic_cast<K3bDataViewItem*>( it.current() );
- if( dataViewItem && dataViewItem->dataItem()->tqparent() != currentDir() )
+ if( dataViewItem && dataViewItem->dataItem()->parent() != currentDir() )
delete dataViewItem;
}
}
@@ -373,7 +373,7 @@ void K3bDataFileView::showPopupMenu( KListView*, TQListViewItem* item, const TQP
void K3bDataFileView::slotNewDir()
{
- K3bDirItem* tqparent = currentDir();
+ K3bDirItem* parent = currentDir();
TQString name;
bool ok;
@@ -382,7 +382,7 @@ void K3bDataFileView::slotNewDir()
i18n("Please insert the name for the new directory:"),
i18n("New Directory"), &ok, this );
- while( ok && K3bDataDoc::nameAlreadyInDir( name, tqparent ) ) {
+ while( ok && K3bDataDoc::nameAlreadyInDir( name, parent ) ) {
name = KInputDialog::getText( i18n("New Directory"),
i18n("A file with that name already exists. "
"Please insert the name for the new directory:"),
@@ -393,7 +393,7 @@ void K3bDataFileView::slotNewDir()
return;
- m_doc->addEmptyDir( name, tqparent );
+ m_doc->addEmptyDir( name, parent );
}
@@ -418,7 +418,7 @@ void K3bDataFileView::slotRemoveItem()
void K3bDataFileView::slotParentDir()
{
if( currentDir() != m_doc->root() ) {
- slotSetCurrentDir( currentDir()->tqparent() );
+ slotSetCurrentDir( currentDir()->parent() );
emit dirSelected( currentDir() );
}