diff options
Diffstat (limited to 'kmobile/devices/gnokii/gnokii_mobile.cpp')
-rw-r--r-- | kmobile/devices/gnokii/gnokii_mobile.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmobile/devices/gnokii/gnokii_mobile.cpp b/kmobile/devices/gnokii/gnokii_mobile.cpp index 2fef0da67..bd35ddf8b 100644 --- a/kmobile/devices/gnokii/gnokii_mobile.cpp +++ b/kmobile/devices/gnokii/gnokii_mobile.cpp @@ -56,10 +56,10 @@ K_EXPORT_COMPONENT_FACTORY( libkmobile_gnokii, KMobileGnokii() ) /* createObject needs to be reimplemented by every KMobileDevice driver */ -TQObject *KMobileGnokii::createObject( TQObject *tqparent, const char *name, +TQObject *KMobileGnokii::createObject( TQObject *parent, const char *name, const char *, const TQStringList &args ) { - return new KMobileGnokii( tqparent, name, args ); + return new KMobileGnokii( parent, name, args ); } @@ -494,7 +494,7 @@ static gn_error read_phone_entry_highlevel( int index, const gn_memory_type memt // connect the tqdevice and ask user to turn tqdevice on (if necessary) -bool KMobileGnokii::connectDevice(TQWidget * /*tqparent*/) +bool KMobileGnokii::connectDevice(TQWidget * /*parent*/) { if (connected()) return true; @@ -506,7 +506,7 @@ bool KMobileGnokii::connectDevice(TQWidget * /*tqparent*/) } // disconnect the tqdevice and return true, if sucessful -bool KMobileGnokii::disconnectDevice(TQWidget * /*tqparent*/) +bool KMobileGnokii::disconnectDevice(TQWidget * /*parent*/) { if (!connected()) return true; @@ -517,11 +517,11 @@ bool KMobileGnokii::disconnectDevice(TQWidget * /*tqparent*/) } // provice the own configuration dialog -bool KMobileGnokii::configDialog(TQWidget *tqparent) +bool KMobileGnokii::configDialog(TQWidget *parent) { TQString model, connection, port, baud; int ok = 0; - GnokiiConfig *dialog = new GnokiiConfig(tqparent); + GnokiiConfig *dialog = new GnokiiConfig(parent); if (dialog) { dialog->setValues(m_modelnr, m_connection, m_port, m_baud); ok = dialog->exec(); |