diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /kmobile/devices/skeleton | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-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/skeleton')
-rw-r--r-- | kmobile/devices/skeleton/skeleton.cpp | 8 | ||||
-rw-r--r-- | kmobile/devices/skeleton/skeleton.h | 6 |
2 files changed, 7 insertions, 7 deletions
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; |