summaryrefslogtreecommitdiffstats
path: root/src/k3bemptydiscwaiter.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/k3bemptydiscwaiter.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/k3bemptydiscwaiter.cpp')
-rw-r--r--src/k3bemptydiscwaiter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/k3bemptydiscwaiter.cpp b/src/k3bemptydiscwaiter.cpp
index a361994..619db8c 100644
--- a/src/k3bemptydiscwaiter.cpp
+++ b/src/k3bemptydiscwaiter.cpp
@@ -84,10 +84,10 @@ public:
-K3bEmptyDiscWaiter::K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* tqparent, const char* name )
+K3bEmptyDiscWaiter::K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* parent, const char* name )
: KDialogBase( KDialogBase::Plain, i18n("Waiting for Disk"),
KDialogBase::Cancel|KDialogBase::User1|KDialogBase::User2|KDialogBase::User3,
- KDialogBase::User3, tqparent, name, true, true, i18n("Force"), i18n("Eject"), i18n("Load") )
+ KDialogBase::User3, parent, name, true, true, i18n("Force"), i18n("Eject"), i18n("Load") )
{
d = new Private();
d->device = device;
@@ -683,9 +683,9 @@ void K3bEmptyDiscWaiter::slotReloadingAfterErasingFinished( K3bDevice::DeviceHan
}
-int K3bEmptyDiscWaiter::wait( K3bDevice::Device* device, bool appendable, int mediaType, TQWidget* tqparent )
+int K3bEmptyDiscWaiter::wait( K3bDevice::Device* device, bool appendable, int mediaType, TQWidget* parent )
{
- K3bEmptyDiscWaiter d( device, tqparent ? tqparent : TQT_TQWIDGET(tqApp->activeWindow()) );
+ K3bEmptyDiscWaiter d( device, parent ? parent : TQT_TQWIDGET(tqApp->activeWindow()) );
int mediaState = K3bDevice::STATE_EMPTY;
if( appendable ) mediaState |= K3bDevice::STATE_INCOMPLETE;
return d.waitForDisc( mediaState, mediaType );
@@ -696,16 +696,16 @@ int K3bEmptyDiscWaiter::wait( K3bDevice::Device* device,
int mediaState,
int mediaType,
const TQString& message,
- TQWidget* tqparent )
+ TQWidget* parent )
{
- K3bEmptyDiscWaiter d( device, tqparent ? tqparent : TQT_TQWIDGET(tqApp->activeWindow()) );
+ K3bEmptyDiscWaiter d( device, parent ? parent : TQT_TQWIDGET(tqApp->activeWindow()) );
return d.waitForDisc( mediaState, mediaType, message );
}
void K3bEmptyDiscWaiter::prepareErasingDialog()
{
- // we hide the emptydiskwaiter so the info dialog needs to have the same tqparent
+ // we hide the emptydiskwaiter so the info dialog needs to have the same parent
if( !d->erasingInfoDialog )
d->erasingInfoDialog = new K3bProgressDialog( TQString(), parentWidget() );