From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kandy/src/mobilegui.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kandy/src/mobilegui.cpp') diff --git a/kandy/src/mobilegui.cpp b/kandy/src/mobilegui.cpp index 08cf54cc..70d0656f 100644 --- a/kandy/src/mobilegui.cpp +++ b/kandy/src/mobilegui.cpp @@ -176,21 +176,21 @@ class PhoneBookItem : public TQCheckListItem /* - * Constructs a MobileGui which is a child of 'tqparent', with the + * Constructs a MobileGui which is a child of 'parent', with the * name 'name' and widget flags set to 'f' * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ MobileGui::MobileGui( CommandScheduler *scheduler, KandyPrefs *kprefs, - TQWidget* tqparent, const char* name, WFlags fl ) : - DCOPObject( "KandyIface" ), MobileGui_base( tqparent, name, fl ) + TQWidget* parent, const char* name, WFlags fl ) : + DCOPObject( "KandyIface" ), MobileGui_base( parent, name, fl ) { // Setup links to related classes mScheduler = scheduler; mSyncer = new AddressSyncer; mPrefs = kprefs; - mtqparent = tqparent; + mparent = parent; // Setup mobile phone specific data mMobManufacturer = ""; @@ -1463,7 +1463,7 @@ void MobileGui::toggleConnection() setKabState( UNLOADED ); setMobState( UNLOADED ); - ((MobileMain *) mtqparent)->statusBar()->changeItem( i18n(" Connected "), 1 ); + ((MobileMain *) mparent)->statusBar()->changeItem( i18n(" Connected "), 1 ); } else { warnKabState( UNLOADED ); @@ -1510,7 +1510,7 @@ void MobileGui::disconnectGUI() mPBIndexOccupied.resize( 0, false ); - ((MobileMain *) mtqparent)->statusBar()->changeItem( i18n(" Disconnected "), + ((MobileMain *) mparent)->statusBar()->changeItem( i18n(" Disconnected "), 1 ); } -- cgit v1.2.3