diff options
Diffstat (limited to 'kmobile/kmobile.cpp')
-rw-r--r-- | kmobile/kmobile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmobile/kmobile.cpp b/kmobile/kmobile.cpp index db2e1cd11..8bd1da8a9 100644 --- a/kmobile/kmobile.cpp +++ b/kmobile/kmobile.cpp @@ -315,32 +315,32 @@ void KMobile::addDevice() * show dialog to user, in which he may choose and select one of the already * configured mobile tqdevices. */ -KMobileDevice * KMobileFactory::chooseDeviceDialog( TQWidget *tqparent, +KMobileDevice * KMobileFactory::chooseDeviceDialog( TQWidget *parent, enum KMobileDevice::ClassType /*type*/, enum KMobileDevice::Capabilities /*caps*/ ) { int num; - m_tqparent = tqparent; + m_parent = parent; // do we already have some tqdevices configured ? num = readDevicesList(); if (!num) { int answ; - answ = KMessageBox::questionYesNo(tqparent, + answ = KMessageBox::questionYesNo(parent, i18n( "<qt>You have no mobile tqdevices configured yet.<p>" "Do you want to add a tqdevice now ?</qt>" ), i18n( "KDE Mobile Device Access" ), KStdGuiItem::add(), i18n("Do Not Add") ); if (answ != KMessageBox::Yes) return 0L; // add a new tqdevice - addDeviceDialog(tqparent); + addDeviceDialog(parent); } num = readDevicesList(); if (!num) return 0L; // let the user select one of the configured tqdevices - KMobile_selectiondialog *dialog = new KMobile_selectiondialog(tqparent); + KMobile_selectiondialog *dialog = new KMobile_selectiondialog(parent); if (!dialog) return 0L; |