summaryrefslogtreecommitdiffstats
path: root/src/k3bservicemenuinstaller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3bservicemenuinstaller.cpp')
-rw-r--r--src/k3bservicemenuinstaller.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/k3bservicemenuinstaller.cpp b/src/k3bservicemenuinstaller.cpp
index dd409e1..43413d9 100644
--- a/src/k3bservicemenuinstaller.cpp
+++ b/src/k3bservicemenuinstaller.cpp
@@ -77,7 +77,7 @@ bool K3bServiceInstaller::allInstalled() const
}
-bool K3bServiceInstaller::install( TQWidget* tqparent )
+bool K3bServiceInstaller::install( TQWidget* parent )
{
d->update();
@@ -87,11 +87,11 @@ bool K3bServiceInstaller::install( TQWidget* tqparent )
for( unsigned int i = 0; i < d->allServiceMenus.count(); ++i )
if( !KIO::NetAccess::file_copy( KURL::fromPathOrURL( d->allServiceMenus[i] ),
KURL::fromPathOrURL( d->konqiServicemenusFolder + d->allServiceMenuFiles[i] ), -1,
- true, false, tqparent ) )
+ true, false, parent ) )
success = false;
- if( !success && tqparent )
- KMessageBox::error( tqparent,
+ if( !success && parent )
+ KMessageBox::error( parent,
KIO::NetAccess::lastErrorString(),
i18n("Failed to copy service menu files") );
@@ -99,19 +99,19 @@ bool K3bServiceInstaller::install( TQWidget* tqparent )
}
-bool K3bServiceInstaller::remove( TQWidget* tqparent )
+bool K3bServiceInstaller::remove( TQWidget* parent )
{
d->update();
bool success = true;
for( unsigned int i = 0; i < d->allServiceMenuFiles.count(); ++i )
- if( KIO::NetAccess::exists( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], true, tqparent ) )
- if( !KIO::NetAccess::del( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], tqparent ) )
+ if( KIO::NetAccess::exists( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], true, parent ) )
+ if( !KIO::NetAccess::del( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], parent ) )
success = false;
- if( !success && tqparent )
- KMessageBox::error( tqparent,
+ if( !success && parent )
+ KMessageBox::error( parent,
KIO::NetAccess::lastErrorString(),
i18n("Failed to remove service menu files") );