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 | 90363652674deb94cd07057428b24fcb1735dbce (patch) | |
tree | 35013223cb731f194f8584cc1c06a023c3c75c85 /atlantikdesigner | |
parent | 627b091fad9df13695f249588e8a58f524eda0fa (diff) | |
download | tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.tar.gz tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'atlantikdesigner')
-rw-r--r-- | atlantikdesigner/designer/boardinfo.cpp | 6 | ||||
-rw-r--r-- | atlantikdesigner/designer/boardinfo.h | 4 | ||||
-rw-r--r-- | atlantikdesigner/designer/designer.cpp | 4 | ||||
-rw-r--r-- | atlantikdesigner/designer/designer.h | 2 | ||||
-rw-r--r-- | atlantikdesigner/designer/editor.cpp | 26 | ||||
-rw-r--r-- | atlantikdesigner/designer/editor.h | 16 | ||||
-rw-r--r-- | atlantikdesigner/designer/group.cpp | 4 | ||||
-rw-r--r-- | atlantikdesigner/designer/group.h | 2 |
8 files changed, 32 insertions, 32 deletions
diff --git a/atlantikdesigner/designer/boardinfo.cpp b/atlantikdesigner/designer/boardinfo.cpp index b7399b0..77b00a8 100644 --- a/atlantikdesigner/designer/boardinfo.cpp +++ b/atlantikdesigner/designer/boardinfo.cpp @@ -15,8 +15,8 @@ #include "boardinfo.h" -BoardInfoDlg::BoardInfoDlg(bool editable, BoardInfo *info, TQWidget *tqparent, const char *_name, bool modal) - : KDialogBase(KDialogBase::Tabbed, i18n("Gameboard Information"), (editable? Ok|Apply|Cancel : Close), (editable? Ok : Close), tqparent, _name, modal) +BoardInfoDlg::BoardInfoDlg(bool editable, BoardInfo *info, TQWidget *parent, const char *_name, bool modal) + : KDialogBase(KDialogBase::Tabbed, i18n("Gameboard Information"), (editable? Ok|Apply|Cancel : Close), (editable? Ok : Close), parent, _name, modal) { if (!info) return; @@ -110,7 +110,7 @@ void BoardInfoDlg::slotOk() /////////////////////////////////// -LotsaEdits::LotsaEdits(bool editable, TQStringList defaults, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +LotsaEdits::LotsaEdits(bool editable, TQStringList defaults, TQWidget *parent, const char *name) : TQWidget(parent, name) { list.setAutoDelete(true); this->editable = editable; diff --git a/atlantikdesigner/designer/boardinfo.h b/atlantikdesigner/designer/boardinfo.h index 9faff57..25d6e71 100644 --- a/atlantikdesigner/designer/boardinfo.h +++ b/atlantikdesigner/designer/boardinfo.h @@ -33,7 +33,7 @@ class LotsaEdits : public TQWidget TQ_OBJECT public: - LotsaEdits(bool, TQStringList=TQStringList(), TQWidget *tqparent=0, const char *name=0); + LotsaEdits(bool, TQStringList=TQStringList(), TQWidget *parent=0, const char *name=0); public slots: TQStringList save(); @@ -54,7 +54,7 @@ class BoardInfoDlg : public KDialogBase TQ_OBJECT public: - BoardInfoDlg(bool editable, BoardInfo *, TQWidget *tqparent=0, const char *_name=0, bool = true); + BoardInfoDlg(bool editable, BoardInfo *, TQWidget *parent=0, const char *_name=0, bool = true); protected slots: void slotOk(); diff --git a/atlantikdesigner/designer/designer.cpp b/atlantikdesigner/designer/designer.cpp index 744840c..3f39fb6 100644 --- a/atlantikdesigner/designer/designer.cpp +++ b/atlantikdesigner/designer/designer.cpp @@ -35,8 +35,8 @@ #include "editor.h" #include "designer.h" -AtlanticDesigner::AtlanticDesigner(TQWidget *tqparent, const char *name) - : KMainWindow(tqparent, name) +AtlanticDesigner::AtlanticDesigner(TQWidget *parent, const char *name) + : KMainWindow(parent, name) { firstBoard = true; estates.setAutoDelete(true); diff --git a/atlantikdesigner/designer/designer.h b/atlantikdesigner/designer/designer.h index f8c9674..553a921 100644 --- a/atlantikdesigner/designer/designer.h +++ b/atlantikdesigner/designer/designer.h @@ -28,7 +28,7 @@ class AtlanticDesigner : public KMainWindow TQ_OBJECT public: - AtlanticDesigner(TQWidget *tqparent = 0, const char *name = 0); + AtlanticDesigner(TQWidget *parent = 0, const char *name = 0); ~AtlanticDesigner(); protected: diff --git a/atlantikdesigner/designer/editor.cpp b/atlantikdesigner/designer/editor.cpp index 4cf95ed..81e2135 100644 --- a/atlantikdesigner/designer/editor.cpp +++ b/atlantikdesigner/designer/editor.cpp @@ -144,8 +144,8 @@ void ConfigEstate::setPassMoney(const int passMoney) TQStringList types; -EstateEdit::EstateEdit(ConfigEstateGroupList *newGroups, EstateList *estates, TQValueList<CardStack> *cards, TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +EstateEdit::EstateEdit(ConfigEstateGroupList *newGroups, EstateList *estates, TQValueList<CardStack> *cards, TQWidget *parent, const char *name) + : TQWidget(parent, name) { groups = newGroups; @@ -378,8 +378,8 @@ bool EstateEdit::rightArrow()const ///////////////////////////////// -TaxDlg::TaxDlg(TQWidget *tqparent, char *name) - : EstateDlg(tqparent, name) +TaxDlg::TaxDlg(TQWidget *parent, char *name) + : EstateDlg(parent, name) { TQGridLayout *taxBox = new TQGridLayout(this, 2, 2, KDialog::marginHint(), KDialog::spacingHint()); taxBox->addWidget(new TQLabel(i18n("Fixed tax:"), this), 0, 0); @@ -406,8 +406,8 @@ void TaxDlg::update() ///////////////////////////////// -GenericDlg::GenericDlg(TQWidget *tqparent, char *name) - : EstateDlg(tqparent, name) +GenericDlg::GenericDlg(TQWidget *parent, char *name) + : EstateDlg(parent, name) { TQHBoxLayout *tqlayout = new TQHBoxLayout(this, KDialog::spacingHint()); tqlayout->addWidget(new TQLabel(i18n("Background:"), this)); @@ -429,8 +429,8 @@ void GenericDlg::update() ///////////////////////////////// -CardsDlg::CardsDlg(EstateList *newEstates, TQValueList<CardStack> *newCards, TQWidget *tqparent, char *name) - : EstateDlg(tqparent, name) +CardsDlg::CardsDlg(EstateList *newEstates, TQValueList<CardStack> *newCards, TQWidget *parent, char *name) + : EstateDlg(parent, name) { estates = newEstates; stacks = newCards; @@ -515,8 +515,8 @@ void CardsDlg::update() ///////////////////////////////// -ChooseWidget::ChooseWidget(EstateList *estates, int id, Card *card, TQWidget *tqparent, char *name) - : TQWidget (tqparent, name) +ChooseWidget::ChooseWidget(EstateList *estates, int id, Card *card, TQWidget *parent, char *name) + : TQWidget (parent, name) { this->id = id; this->card = card; @@ -640,7 +640,7 @@ Skipped: ///////////////////////////////// -CardView::CardView(EstateList *estates, CardStack *stack, TQWidget *tqparent, char *name) : TQWidget(tqparent, name) +CardView::CardView(EstateList *estates, CardStack *stack, TQWidget *parent, char *name) : TQWidget(parent, name) { card = 0; @@ -812,8 +812,8 @@ void CardView::updateButtonsEnabled() ///////////////////////////////// -StreetDlg::StreetDlg(ConfigEstateGroupList *newGroups, TQWidget *tqparent, char *name) - : EstateDlg(tqparent, name) +StreetDlg::StreetDlg(ConfigEstateGroupList *newGroups, TQWidget *parent, char *name) + : EstateDlg(parent, name) { groups = newGroups; diff --git a/atlantikdesigner/designer/editor.h b/atlantikdesigner/designer/editor.h index 4abc9ce..051df1f 100644 --- a/atlantikdesigner/designer/editor.h +++ b/atlantikdesigner/designer/editor.h @@ -90,7 +90,7 @@ class EstateDlg : public TQWidget TQ_OBJECT public: - EstateDlg(TQWidget *tqparent = 0, char *name = 0) : TQWidget(tqparent, name) { estate = 0; } + EstateDlg(TQWidget *parent = 0, char *name = 0) : TQWidget(parent, name) { estate = 0; } signals: void updateBackground(); @@ -113,7 +113,7 @@ class EstateEdit : public TQWidget TQ_OBJECT public: - EstateEdit(ConfigEstateGroupList *, EstateList *, TQValueList<CardStack> *, TQWidget *tqparent = 0, const char *name = 0); + EstateEdit(ConfigEstateGroupList *, EstateList *, TQValueList<CardStack> *, TQWidget *parent = 0, const char *name = 0); ConfigEstate *theEstate() { return estate; } bool upArrow()const; bool downArrow()const; @@ -169,7 +169,7 @@ class ChooseWidget : public TQWidget TQ_OBJECT public: - ChooseWidget(EstateList *, int id, Card *, TQWidget *tqparent = 0, char *name = 0); + ChooseWidget(EstateList *, int id, Card *, TQWidget *parent = 0, char *name = 0); public slots: void typeChanged(int); @@ -197,7 +197,7 @@ class CardView : public TQWidget TQ_OBJECT public: - CardView(EstateList *, CardStack *, TQWidget *tqparent = 0, char *name = 0); + CardView(EstateList *, CardStack *, TQWidget *parent = 0, char *name = 0); private slots: void selected(int); @@ -232,7 +232,7 @@ class TaxDlg : public EstateDlg TQ_OBJECT public: - TaxDlg(TQWidget *tqparent = 0, char *name = 0); + TaxDlg(TQWidget *parent = 0, char *name = 0); protected: virtual void save(); @@ -249,7 +249,7 @@ class GenericDlg : public EstateDlg TQ_OBJECT public: - GenericDlg(TQWidget *tqparent = 0, char *name = 0); + GenericDlg(TQWidget *parent = 0, char *name = 0); protected: virtual void save(); @@ -265,7 +265,7 @@ class CardsDlg : public EstateDlg TQ_OBJECT public: - CardsDlg(EstateList *, TQValueList<CardStack> *, TQWidget *tqparent = 0, char *name = 0); + CardsDlg(EstateList *, TQValueList<CardStack> *, TQWidget *parent = 0, char *name = 0); protected: virtual void save(); @@ -290,7 +290,7 @@ class StreetDlg : public EstateDlg TQ_OBJECT public: - StreetDlg(ConfigEstateGroupList *, TQWidget *tqparent = 0, char *name = 0); + StreetDlg(ConfigEstateGroupList *, TQWidget *parent = 0, char *name = 0); protected: virtual void save(); diff --git a/atlantikdesigner/designer/group.cpp b/atlantikdesigner/designer/group.cpp index cd804e6..b3da81f 100644 --- a/atlantikdesigner/designer/group.cpp +++ b/atlantikdesigner/designer/group.cpp @@ -19,8 +19,8 @@ #include "group.h" -GroupEditor::GroupEditor(ConfigEstateGroupList *newList, TQWidget *tqparent) - : KDialogBase(KDialogBase::Plain, i18n("Group Editor"), Ok|Apply|Cancel, Ok, tqparent, "Group Editor", false, true), mylist(*newList) +GroupEditor::GroupEditor(ConfigEstateGroupList *newList, TQWidget *parent) + : KDialogBase(KDialogBase::Plain, i18n("Group Editor"), Ok|Apply|Cancel, Ok, parent, "Group Editor", false, true), mylist(*newList) { setWFlags(WDestructiveClose); list = newList; diff --git a/atlantikdesigner/designer/group.h b/atlantikdesigner/designer/group.h index 97b0446..606189b 100644 --- a/atlantikdesigner/designer/group.h +++ b/atlantikdesigner/designer/group.h @@ -56,7 +56,7 @@ class GroupEditor : public KDialogBase TQ_OBJECT public: - GroupEditor(ConfigEstateGroupList *, TQWidget *tqparent=0); + GroupEditor(ConfigEstateGroupList *, TQWidget *parent=0); signals: void changed(); |