diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 12:28:49 +0900 |
commit | c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch) | |
tree | 50b08262da538c5b91f77e83e4b80d7fd6dbe0de /libtdegames/kcarddialog.cpp | |
parent | 51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff) | |
download | tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdegames/kcarddialog.cpp')
-rw-r--r-- | libtdegames/kcarddialog.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libtdegames/kcarddialog.cpp b/libtdegames/kcarddialog.cpp index 39afd3e1..77b63205 100644 --- a/libtdegames/kcarddialog.cpp +++ b/libtdegames/kcarddialog.cpp @@ -304,8 +304,8 @@ void KCardDialog::setupDialog(bool showResizeBox) d->randomDeck = new TQCheckBox(plainPage()); d->randomDeck->setChecked(false); - connect(d->randomDeck, TQT_SIGNAL(toggled(bool)), this, - TQT_SLOT(slotRandomDeckToggled(bool))); + connect(d->randomDeck, TQ_SIGNAL(toggled(bool)), this, + TQ_SLOT(slotRandomDeckToggled(bool))); d->randomDeck->setText(i18n("Random backside")); l->addWidget(d->randomDeck, 0, AlignTop|AlignHCenter); @@ -315,11 +315,11 @@ void KCardDialog::setupDialog(bool showResizeBox) l->addWidget(d->globalDeck, 0, AlignTop|AlignHCenter); TQPushButton* b = new TQPushButton(i18n("Make Backside Global"), plainPage()); - connect(b, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotSetGlobalDeck())); + connect(b, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotSetGlobalDeck())); l->addWidget(b, 0, AlignTop|AlignHCenter); - connect(d->deckIconView,TQT_SIGNAL(clicked(TQIconViewItem *)), - this,TQT_SLOT(slotDeckClicked(TQIconViewItem *))); + connect(d->deckIconView,TQ_SIGNAL(clicked(TQIconViewItem *)), + this,TQ_SLOT(slotDeckClicked(TQIconViewItem *))); } if (! (flags() & NoCards)) @@ -354,8 +354,8 @@ void KCardDialog::setupDialog(bool showResizeBox) d->randomCardDir = new TQCheckBox(plainPage()); d->randomCardDir->setChecked(false); - connect(d->randomCardDir, TQT_SIGNAL(toggled(bool)), this, - TQT_SLOT(slotRandomCardDirToggled(bool))); + connect(d->randomCardDir, TQ_SIGNAL(toggled(bool)), this, + TQ_SLOT(slotRandomCardDirToggled(bool))); d->randomCardDir->setText(i18n("Random frontside")); l->addWidget(d->randomCardDir, 0, AlignTop|AlignHCenter); @@ -365,11 +365,11 @@ void KCardDialog::setupDialog(bool showResizeBox) l->addWidget(d->globalCardDir, 0, AlignTop|AlignHCenter); TQPushButton* b = new TQPushButton(i18n("Make Frontside Global"), plainPage()); - connect(b, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotSetGlobalCardDir())); + connect(b, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotSetGlobalCardDir())); l->addWidget(b, 0, AlignTop|AlignHCenter); - connect(d->cardIconView,TQT_SIGNAL(clicked(TQIconViewItem *)), - this,TQT_SLOT(slotCardClicked(TQIconViewItem *))); + connect(d->cardIconView,TQ_SIGNAL(clicked(TQIconViewItem *)), + this,TQ_SLOT(slotCardClicked(TQIconViewItem *))); } // Insert deck icons @@ -433,11 +433,11 @@ void KCardDialog::setupDialog(bool showResizeBox) d->scaleSlider = new TQSlider(1, SLIDER_MAX, 1, (-1000+SLIDER_MIN+SLIDER_MAX),TQt::Horizontal, box); d->scaleSlider->setMinValue(SLIDER_MIN); - connect(d->scaleSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotCardResized(int))); + connect(d->scaleSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotCardResized(int))); boxLayout->addWidget(d->scaleSlider, 0, AlignLeft); TQPushButton* b = new TQPushButton(i18n("Default Size"), box); - connect(b, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotDefaultSize())); + connect(b, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotDefaultSize())); boxLayout->addWidget(b, 0, AlignLeft); TQLabel* l = new TQLabel(i18n("Preview:"), box); |