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 /kandy | |
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 'kandy')
-rw-r--r-- | kandy/src/cmdpropertiesdialog.cpp | 10 | ||||
-rw-r--r-- | kandy/src/cmdpropertiesdialog.h | 2 | ||||
-rw-r--r-- | kandy/src/commanditem.cpp | 8 | ||||
-rw-r--r-- | kandy/src/commanditem.h | 4 | ||||
-rw-r--r-- | kandy/src/commandscheduler.cpp | 4 | ||||
-rw-r--r-- | kandy/src/commandscheduler.h | 2 | ||||
-rw-r--r-- | kandy/src/commandset.cpp | 8 | ||||
-rw-r--r-- | kandy/src/commandset.h | 4 | ||||
-rw-r--r-- | kandy/src/kandyprefsdialog.cpp | 4 | ||||
-rw-r--r-- | kandy/src/kandyprefsdialog.h | 2 | ||||
-rw-r--r-- | kandy/src/kandyview.cpp | 4 | ||||
-rw-r--r-- | kandy/src/kandyview.h | 2 | ||||
-rw-r--r-- | kandy/src/mobilegui.cpp | 12 | ||||
-rw-r--r-- | kandy/src/mobilegui.h | 4 | ||||
-rw-r--r-- | kandy/src/modem.cpp | 4 | ||||
-rw-r--r-- | kandy/src/modem.h | 2 |
16 files changed, 38 insertions, 38 deletions
diff --git a/kandy/src/cmdpropertiesdialog.cpp b/kandy/src/cmdpropertiesdialog.cpp index b71a62f2f..3e72754f4 100644 --- a/kandy/src/cmdpropertiesdialog.cpp +++ b/kandy/src/cmdpropertiesdialog.cpp @@ -36,8 +36,8 @@ class ParameterItem : public TQCheckListItem { public: - ParameterItem(ATParameter *p,TQListView *tqparent) : - TQCheckListItem(tqparent,p->name(),CheckBox),mParameter(p) + ParameterItem(ATParameter *p,TQListView *parent) : + TQCheckListItem(parent,p->name(),CheckBox),mParameter(p) { setText(1,p->value()); setOn(p->userInput()); @@ -56,16 +56,16 @@ class ParameterItem : public TQCheckListItem { /* - * Constructs a CmdPropertiesDialog which is a child of 'tqparent', with the + * Constructs a CmdPropertiesDialog 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. */ -CmdPropertiesDialog::CmdPropertiesDialog(ATCommand *cmd, TQWidget* tqparent, +CmdPropertiesDialog::CmdPropertiesDialog(ATCommand *cmd, TQWidget* parent, const char* name, bool modal, WFlags fl ) - : CmdPropertiesDialog_base( tqparent, name, modal, fl ) + : CmdPropertiesDialog_base( parent, name, modal, fl ) { mCmd = cmd; diff --git a/kandy/src/cmdpropertiesdialog.h b/kandy/src/cmdpropertiesdialog.h index 052425153..9edf76c92 100644 --- a/kandy/src/cmdpropertiesdialog.h +++ b/kandy/src/cmdpropertiesdialog.h @@ -33,7 +33,7 @@ class CmdPropertiesDialog : public CmdPropertiesDialog_base Q_OBJECT TQ_OBJECT public: - CmdPropertiesDialog(ATCommand *cmd,TQWidget* tqparent=0,const char* name=0, + CmdPropertiesDialog(ATCommand *cmd,TQWidget* parent=0,const char* name=0, bool modal=false,WFlags fl=0); ~CmdPropertiesDialog(); diff --git a/kandy/src/commanditem.cpp b/kandy/src/commanditem.cpp index f8eceb2c9..9586abbd2 100644 --- a/kandy/src/commanditem.cpp +++ b/kandy/src/commanditem.cpp @@ -70,13 +70,13 @@ void CommandItem::load(TQDomElement *c) setItemText(); } -void CommandItem::save(TQDomDocument *doc,TQDomElement *tqparent) +void CommandItem::save(TQDomDocument *doc,TQDomElement *parent) { TQDomElement c = doc->createElement("command"); c.setAttribute("name",mCommand->cmdName()); c.setAttribute("string",mCommand->cmdString()); c.setAttribute("hexoutput",mCommand->hexOutput() ? "y" : "n"); - tqparent->appendChild(c); + parent->appendChild(c); TQPtrList<ATParameter> paras = mCommand->parameters(); for(uint i=0;i<paras.count();++i) { @@ -85,13 +85,13 @@ void CommandItem::save(TQDomDocument *doc,TQDomElement *tqparent) } void CommandItem::saveParameter(ATParameter *p, TQDomDocument *doc, - TQDomElement *tqparent) + TQDomElement *parent) { TQDomElement e = doc->createElement("parameter"); e.setAttribute("name",p->name()); e.setAttribute("value",p->value()); e.setAttribute("userinput",p->userInput() ? "y" : "n"); - tqparent->appendChild(e); + parent->appendChild(e); } void CommandItem::setItemText() diff --git a/kandy/src/commanditem.h b/kandy/src/commanditem.h index d92c9e744..46a648dd1 100644 --- a/kandy/src/commanditem.h +++ b/kandy/src/commanditem.h @@ -43,12 +43,12 @@ class CommandItem : public TQListViewItem { ATCommand *command(); void load(TQDomElement *c); - void save(TQDomDocument *doc,TQDomElement *tqparent); + void save(TQDomDocument *doc,TQDomElement *parent); void setItemText(); protected: - void saveParameter(ATParameter *p, TQDomDocument *doc,TQDomElement *tqparent); + void saveParameter(ATParameter *p, TQDomDocument *doc,TQDomElement *parent); private: ATCommand *mCommand; diff --git a/kandy/src/commandscheduler.cpp b/kandy/src/commandscheduler.cpp index 3a1001ed3..076582140 100644 --- a/kandy/src/commandscheduler.cpp +++ b/kandy/src/commandscheduler.cpp @@ -30,9 +30,9 @@ #include "commandscheduler.h" #include "commandscheduler.moc" -CommandScheduler::CommandScheduler(Modem *modem,TQObject *tqparent, +CommandScheduler::CommandScheduler(Modem *modem,TQObject *parent, const char *name) : - TQObject(tqparent,name), + TQObject(parent,name), mModem(modem) { connect(mModem,TQT_SIGNAL(gotLine(const char *)), diff --git a/kandy/src/commandscheduler.h b/kandy/src/commandscheduler.h index d18f82dc9..c99476bdc 100644 --- a/kandy/src/commandscheduler.h +++ b/kandy/src/commandscheduler.h @@ -36,7 +36,7 @@ class CommandScheduler : public TQObject { Q_OBJECT TQ_OBJECT public: - CommandScheduler (Modem *modem,TQObject *tqparent = 0, const char *name = 0); + CommandScheduler (Modem *modem,TQObject *parent = 0, const char *name = 0); void execute(const TQString &command); void execute(ATCommand *command); diff --git a/kandy/src/commandset.cpp b/kandy/src/commandset.cpp index d1bcc6316..e6e5d70f8 100644 --- a/kandy/src/commandset.cpp +++ b/kandy/src/commandset.cpp @@ -129,13 +129,13 @@ void CommandSet::loadCommand(ATCommand *command,TQDomElement *c) } void CommandSet::saveCommand(ATCommand *command,TQDomDocument *doc, - TQDomElement *tqparent) + TQDomElement *parent) { TQDomElement c = doc->createElement("command"); c.setAttribute("name",command->cmdName()); c.setAttribute("string",command->cmdString()); c.setAttribute("hexoutput",command->hexOutput() ? "y" : "n"); - tqparent->appendChild(c); + parent->appendChild(c); TQPtrList<ATParameter> paras = command->parameters(); for(uint i=0;i<paras.count();++i) { @@ -144,11 +144,11 @@ void CommandSet::saveCommand(ATCommand *command,TQDomDocument *doc, } void CommandSet::saveParameter(ATParameter *p, TQDomDocument *doc, - TQDomElement *tqparent) + TQDomElement *parent) { TQDomElement e = doc->createElement("parameter"); e.setAttribute("name",p->name()); e.setAttribute("value",p->value()); e.setAttribute("userinput",p->userInput() ? "y" : "n"); - tqparent->appendChild(e); + parent->appendChild(e); } diff --git a/kandy/src/commandset.h b/kandy/src/commandset.h index d297fe630..586542330 100644 --- a/kandy/src/commandset.h +++ b/kandy/src/commandset.h @@ -51,8 +51,8 @@ class CommandSet { protected: void loadCommand(ATCommand *,TQDomElement *c); - void saveCommand(ATCommand *,TQDomDocument *doc,TQDomElement *tqparent); - void saveParameter(ATParameter *p, TQDomDocument *doc,TQDomElement *tqparent); + void saveCommand(ATCommand *,TQDomDocument *doc,TQDomElement *parent); + void saveParameter(ATParameter *p, TQDomDocument *doc,TQDomElement *parent); private: TQPtrList<ATCommand> mList; diff --git a/kandy/src/kandyprefsdialog.cpp b/kandy/src/kandyprefsdialog.cpp index 1e233aaa8..1bb03eb1a 100644 --- a/kandy/src/kandyprefsdialog.cpp +++ b/kandy/src/kandyprefsdialog.cpp @@ -54,8 +54,8 @@ #include "kandyprefsdialog.moc" -KandyPrefsDialog::KandyPrefsDialog(TQWidget *tqparent, char *name, bool modal) : - KPrefsDialog(KandyPrefs::self(),tqparent,name,modal) +KandyPrefsDialog::KandyPrefsDialog(TQWidget *parent, char *name, bool modal) : + KPrefsDialog(KandyPrefs::self(),parent,name,modal) { setupSerialTab(); setupAddressbookTab(); diff --git a/kandy/src/kandyprefsdialog.h b/kandy/src/kandyprefsdialog.h index 886e35048..4e367fafa 100644 --- a/kandy/src/kandyprefsdialog.h +++ b/kandy/src/kandyprefsdialog.h @@ -45,7 +45,7 @@ class KandyPrefsDialog : public KPrefsDialog TQ_OBJECT public: /** Initialize dialog and pages */ - KandyPrefsDialog(TQWidget *tqparent=0,char *name=0,bool modal=false); + KandyPrefsDialog(TQWidget *parent=0,char *name=0,bool modal=false); ~KandyPrefsDialog(); protected: diff --git a/kandy/src/kandyview.cpp b/kandy/src/kandyview.cpp index 6e76235be..d47f5bcb7 100644 --- a/kandy/src/kandyview.cpp +++ b/kandy/src/kandyview.cpp @@ -57,8 +57,8 @@ #include "kandyview.h" #include "kandyview.moc" -KandyView::KandyView(CommandScheduler *scheduler,TQWidget *tqparent) - : TQWidget(tqparent) +KandyView::KandyView(CommandScheduler *scheduler,TQWidget *parent) + : TQWidget(parent) { mModified = false; mScheduler = scheduler; diff --git a/kandy/src/kandyview.h b/kandy/src/kandyview.h index 41153a54f..8547dbf4c 100644 --- a/kandy/src/kandyview.h +++ b/kandy/src/kandyview.h @@ -56,7 +56,7 @@ class KandyView : public TQWidget /** * Default constructor */ - KandyView(CommandScheduler *,TQWidget *tqparent); + KandyView(CommandScheduler *,TQWidget *parent); /** * Destructor diff --git a/kandy/src/mobilegui.cpp b/kandy/src/mobilegui.cpp index 08cf54cc7..70d0656f3 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 ); } diff --git a/kandy/src/mobilegui.h b/kandy/src/mobilegui.h index cb28f1885..b8bfeba26 100644 --- a/kandy/src/mobilegui.h +++ b/kandy/src/mobilegui.h @@ -42,7 +42,7 @@ class MobileGui : public MobileGui_base, virtual public KandyIface TQ_OBJECT public: - MobileGui( CommandScheduler *, KandyPrefs *kprefs, TQWidget* tqparent=0, + MobileGui( CommandScheduler *, KandyPrefs *kprefs, TQWidget* parent=0, const char* name=0, WFlags fl=0 ); ~MobileGui(); @@ -80,7 +80,7 @@ class MobileGui : public MobileGui_base, virtual public KandyIface CommandScheduler *mScheduler; AddressSyncer *mSyncer; KandyPrefs *mPrefs; - TQWidget *mtqparent; + TQWidget *mparent; /* String Formatting Routines */ TQString quote( const TQString & ); diff --git a/kandy/src/modem.cpp b/kandy/src/modem.cpp index 113f2e4bc..3956376a8 100644 --- a/kandy/src/modem.cpp +++ b/kandy/src/modem.cpp @@ -74,8 +74,8 @@ -Modem::Modem( KandyPrefs *kprefs, TQObject *tqparent, const char *name ) : - TQObject(tqparent, name) +Modem::Modem( KandyPrefs *kprefs, TQObject *parent, const char *name ) : + TQObject(parent, name) { mOpen = false; diff --git a/kandy/src/modem.h b/kandy/src/modem.h index 0b30a05bf..5c8521c13 100644 --- a/kandy/src/modem.h +++ b/kandy/src/modem.h @@ -48,7 +48,7 @@ class Modem : public TQObject Q_OBJECT TQ_OBJECT public: - Modem(KandyPrefs *kprefs, TQObject *tqparent = 0, const char *name = 0); + Modem(KandyPrefs *kprefs, TQObject *parent = 0, const char *name = 0); virtual ~Modem(); void setSpeed(int speed); |