summaryrefslogtreecommitdiffstats
path: root/kmobile/devices
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
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /kmobile/devices
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmobile/devices')
-rw-r--r--kmobile/devices/gnokii/gnokii_mobile.cpp12
-rw-r--r--kmobile/devices/gnokii/gnokii_mobile.h8
-rw-r--r--kmobile/devices/gnokii/gnokiiconfig.cpp4
-rw-r--r--kmobile/devices/gnokii/gnokiiconfig.h2
-rw-r--r--kmobile/devices/skeleton/skeleton.cpp8
-rw-r--r--kmobile/devices/skeleton/skeleton.h6
6 files changed, 20 insertions, 20 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();
diff --git a/kmobile/devices/gnokii/gnokii_mobile.h b/kmobile/devices/gnokii/gnokii_mobile.h
index 9562c2221..96f32a5c0 100644
--- a/kmobile/devices/gnokii/gnokii_mobile.h
+++ b/kmobile/devices/gnokii/gnokii_mobile.h
@@ -36,15 +36,15 @@ public:
~KMobileGnokii();
// createObject needs to be reimplemented by every KMobileDevice driver
- TQObject *createObject( TQObject *tqparent=0, const char *name=0,
+ TQObject *createObject( TQObject *parent=0, const char *name=0,
const char *classname=TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args=TQStringList() );
// connect, disconnect and current status
- bool connectDevice(TQWidget *tqparent);
- bool disconnectDevice(TQWidget *tqparent);
+ bool connectDevice(TQWidget *parent);
+ bool disconnectDevice(TQWidget *parent);
// provide a tqdevice-specific configure dialog
- bool configDialog(TQWidget *tqparent);
+ bool configDialog(TQWidget *parent);
// filename and path to gnokii-icon
TQString iconFileName() const;
diff --git a/kmobile/devices/gnokii/gnokiiconfig.cpp b/kmobile/devices/gnokii/gnokiiconfig.cpp
index e8ad19bdd..07bc46f46 100644
--- a/kmobile/devices/gnokii/gnokiiconfig.cpp
+++ b/kmobile/devices/gnokii/gnokiiconfig.cpp
@@ -43,8 +43,8 @@
#define BAUDRATES "57600 38400 19200 14400 9600 4800 2400"
-GnokiiConfig::GnokiiConfig( TQWidget* tqparent, const char* name, bool modal, WFlags fl )
- : GnokiiConfigUI(tqparent, name, modal, fl)
+GnokiiConfig::GnokiiConfig( TQWidget* parent, const char* name, bool modal, WFlags fl )
+ : GnokiiConfigUI(parent, name, modal, fl)
{
TQStringList list = TQStringList::split(" ", MODELS);
cb_Model->insertStringList(list);
diff --git a/kmobile/devices/gnokii/gnokiiconfig.h b/kmobile/devices/gnokii/gnokiiconfig.h
index bb6ffe771..9422fcedc 100644
--- a/kmobile/devices/gnokii/gnokiiconfig.h
+++ b/kmobile/devices/gnokii/gnokiiconfig.h
@@ -28,7 +28,7 @@ class GnokiiConfig : public GnokiiConfigUI
Q_OBJECT
TQ_OBJECT
public:
- GnokiiConfig( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ GnokiiConfig( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~GnokiiConfig();
void setValues(const TQString &model, const TQString &connection, const TQString &port, const TQString &baud);
diff --git a/kmobile/devices/skeleton/skeleton.cpp b/kmobile/devices/skeleton/skeleton.cpp
index c1bcd4929..b5073de87 100644
--- a/kmobile/devices/skeleton/skeleton.cpp
+++ b/kmobile/devices/skeleton/skeleton.cpp
@@ -35,10 +35,10 @@
K_EXPORT_COMPONENT_FACTORY( libkmobile_skeleton, KMobileSkeleton() )
/* createObject needs to be reimplemented by every KMobileDevice driver */
-TQObject *KMobileSkeleton::createObject( TQObject *tqparent, const char *name,
+TQObject *KMobileSkeleton::createObject( TQObject *parent, const char *name,
const char *, const TQStringList &args )
{
- return new KMobileSkeleton( tqparent, name, args );
+ return new KMobileSkeleton( parent, name, args );
}
@@ -61,9 +61,9 @@ KMobileSkeleton::~KMobileSkeleton()
}
// connect the tqdevice and ask user to turn tqdevice on (if necessary)
-bool KMobileSkeleton::connectDevice(TQWidget *tqparent)
+bool KMobileSkeleton::connectDevice(TQWidget *parent)
{
- if (KMessageBox::Continue != KMessageBox::warningContinueCancel(tqparent,
+ if (KMessageBox::Continue != KMessageBox::warningContinueCancel(parent,
i18n("Please turn on your %1 on now and press continue to proceed.").tqarg(m_tqdeviceName),
m_tqdeviceClassName ) )
return false;
diff --git a/kmobile/devices/skeleton/skeleton.h b/kmobile/devices/skeleton/skeleton.h
index 8d5c3db4c..6ae0287b9 100644
--- a/kmobile/devices/skeleton/skeleton.h
+++ b/kmobile/devices/skeleton/skeleton.h
@@ -35,12 +35,12 @@ public:
~KMobileSkeleton();
// createObject needs to be reimplemented by every KMobileDevice driver
- TQObject *createObject( TQObject *tqparent=0, const char *name=0,
+ TQObject *createObject( TQObject *parent=0, const char *name=0,
const char *classname=TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args=TQStringList() );
// connect, disconnect and current status
- bool connectDevice(TQWidget *tqparent);
- bool disconnectDevice(TQWidget *tqparent);
+ bool connectDevice(TQWidget *parent);
+ bool disconnectDevice(TQWidget *parent);
// returns true, if this tqdevice is read-only (default: false)
bool isReadOnly() const;