diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /atlantikdesigner/designer/editor.cpp | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'atlantikdesigner/designer/editor.cpp')
-rw-r--r-- | atlantikdesigner/designer/editor.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/atlantikdesigner/designer/editor.cpp b/atlantikdesigner/designer/editor.cpp index 3301ba6..1f031fc 100644 --- a/atlantikdesigner/designer/editor.cpp +++ b/atlantikdesigner/designer/editor.cpp @@ -170,12 +170,12 @@ EstateEdit::EstateEdit(ConfigEstateGroupList *newGroups, EstateList *estates, TQ ready = false; locked = false; - connect(this, TQT_SIGNAL(somethingChanged()), this, TQT_SLOT(saveEstate())); + connect(this, TQ_SIGNAL(somethingChanged()), this, TQ_SLOT(saveEstate())); layout = new TQGridLayout(this, 7, 1, KDialog::marginHint(), KDialog::spacingHint()); nameEdit = new TQLineEdit(this, "Name Edit"); layout->addWidget(nameEdit, 0, 0); - connect(nameEdit, TQT_SIGNAL(returnPressed()), this, TQT_SIGNAL(somethingChanged())); + connect(nameEdit, TQ_SIGNAL(returnPressed()), this, TQ_SIGNAL(somethingChanged())); confDlg = 0; @@ -190,12 +190,12 @@ EstateEdit::EstateEdit(ConfigEstateGroupList *newGroups, EstateList *estates, TQ typeLayout->addWidget(typeLabel); typeCombo = new KComboBox(false, this, "Type Combo"); typeLayout->addWidget(typeCombo); - connect(typeCombo, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(somethingChanged())); - connect(typeCombo, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(updateBackground())); + connect(typeCombo, TQ_SIGNAL(activated(int)), this, TQ_SIGNAL(somethingChanged())); + connect(typeCombo, TQ_SIGNAL(activated(int)), this, TQ_SIGNAL(updateBackground())); goCheck = new TQCheckBox(i18n("This estate is 'Go'"), this); - connect(goCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(somethingChanged())); - connect(goCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(goToggled(bool))); + connect(goCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(somethingChanged())); + connect(goCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(goToggled(bool))); layout->addWidget(goCheck, 5, 0); TQHBoxLayout *passMoneyLayout = new TQHBoxLayout(KDialog::spacingHint()); @@ -325,7 +325,7 @@ void EstateEdit::configure() confDlg->slotUpdate(estate); - connect(confDlg, TQT_SIGNAL(updateBackground()), this, TQT_SIGNAL(updateBackground())); + connect(confDlg, TQ_SIGNAL(updateBackground()), this, TQ_SIGNAL(updateBackground())); layout->addWidget(confDlg, 1, 0); confDlg->show(); @@ -442,7 +442,7 @@ CardsDlg::CardsDlg(EstateList *newEstates, TQValueList<CardStack> *newCards, TQW TQHBoxLayout *layout = new TQHBoxLayout(vlayout, KDialog::spacingHint()); KPushButton *addB = new KPushButton(i18n("&New Stack"), this); - connect(addB, TQT_SIGNAL(clicked()), this, TQT_SLOT(addStack())); + connect(addB, TQ_SIGNAL(clicked()), this, TQ_SLOT(addStack())); layout->addWidget(addB); layout->addStretch(); @@ -454,7 +454,7 @@ CardsDlg::CardsDlg(EstateList *newEstates, TQValueList<CardStack> *newCards, TQW cards = new TQComboBox(this); cards->insertStringList(cardNames); layout->addWidget(cards); - connect(cards, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(updateView(const TQString &))); + connect(cards, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(updateView(const TQString &))); vlayout->addWidget(new KSeparator(this)); } @@ -547,7 +547,7 @@ ChooseWidget::ChooseWidget(EstateList *estates, int id, Card *card, TQWidget *pa _types.append(i18n("Pay for Each Hotel")); typeCombo->insertStringList(_types); hlayout->addWidget(typeCombo); - connect(typeCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(typeChanged(int))); + connect(typeCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(typeChanged(int))); hlayout->addStretch(); } @@ -589,7 +589,7 @@ void ChooseWidget::typeChanged(int i) value = new TQSpinBox(0, 2000, (key == "advance" || key == "goback")? 1 : 5, this); hlayout->addWidget(value); - connect(value, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int))); + connect(value, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(valueChanged(int))); value->show(); } @@ -603,7 +603,7 @@ void ChooseWidget::typeChanged(int i) for (curestate = estates->first(); curestate; curestate = estates->next()) estateStrings.append(curestate->name()); estate->insertStringList(estateStrings); - connect(estate, TQT_SIGNAL(activated(int)), this, TQT_SLOT(estateChanged(int))); + connect(estate, TQ_SIGNAL(activated(int)), this, TQ_SLOT(estateChanged(int))); hlayout->addWidget(estate); estate->show(); @@ -653,31 +653,31 @@ CardView::CardView(EstateList *estates, CardStack *stack, TQWidget *parent, char TQHBoxLayout *hlayout = new TQHBoxLayout(layout, KDialog::spacingHint()); addButton = new KPushButton(i18n("&Add Card..."), this); - connect(addButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(add())); + connect(addButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(add())); hlayout->addWidget(addButton); hlayout->addStretch(); renameButton = new KPushButton(i18n("&Rename..."), this); - connect(renameButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(rename())); + connect(renameButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(rename())); hlayout->addWidget(renameButton); hlayout->addStretch(); delButton = new KPushButton(i18n("&Delete"), this); - connect(delButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(del())); + connect(delButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(del())); hlayout->addWidget(delButton); List = new TDEListBox(this); layout->addWidget(List); - connect(List, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(selected(int))); + connect(List, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(selected(int))); // it gets very big (and won't shrink) otherwise List->setMaximumHeight(90); hlayout = new TQHBoxLayout(layout, KDialog::spacingHint()); moreButton = new KPushButton(i18n("&More Properties"), this); - connect(moreButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(more())); + connect(moreButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(more())); hlayout->addWidget(moreButton); hlayout->addStretch(); lessButton = new KPushButton(i18n("&Fewer Properties"), this); - connect(lessButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(less())); + connect(lessButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(less())); hlayout->addWidget(lessButton); for (CardStack::Iterator it = stack->begin(); it != stack->end(); ++it) @@ -861,7 +861,7 @@ StreetDlg::StreetDlg(ConfigEstateGroupList *newGroups, TQWidget *parent, char *n pricesBox->addWidget(groupLabel, 1, 0); groupCombo = new KComboBox(this, "Group Combo"); groupUpdate(); - connect(groupCombo, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(groupChanged(const TQString &))); + connect(groupCombo, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(groupChanged(const TQString &))); pricesBox->addWidget(groupCombo, 1, 1); } |