diff options
Diffstat (limited to 'kpoker/betbox.cpp')
-rw-r--r-- | kpoker/betbox.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kpoker/betbox.cpp b/kpoker/betbox.cpp index e152573f..91fcab8b 100644 --- a/kpoker/betbox.cpp +++ b/kpoker/betbox.cpp @@ -15,8 +15,8 @@ */ -#include <qpushbutton.h> -#include <qlayout.h> +#include <tqpushbutton.h> +#include <tqlayout.h> #include <kglobal.h> #include <klocale.h> @@ -24,42 +24,42 @@ #include "betbox.h" -BetBox::BetBox(QWidget* parent, const char* name) - : QGroupBox(parent, name) +BetBox::BetBox(TQWidget* parent, const char* name) + : TQGroupBox(parent, name) { - QVBoxLayout* topLayout = new QVBoxLayout(this, 1, 1); - QGridLayout* g = new QGridLayout(topLayout, 2, 2, 1); - QHBoxLayout* l = new QHBoxLayout(topLayout, 1); + TQVBoxLayout* topLayout = new TQVBoxLayout(this, 1, 1); + TQGridLayout* g = new TQGridLayout(topLayout, 2, 2, 1); + TQHBoxLayout* l = new TQHBoxLayout(topLayout, 1); - bet5Up = new QPushButton(this); + bet5Up = new TQPushButton(this); g->addWidget(bet5Up, 0, 0); - bet10Up = new QPushButton(this); + bet10Up = new TQPushButton(this); g->addWidget(bet10Up, 0, 1); - bet5Down = new QPushButton(this); + bet5Down = new TQPushButton(this); g->addWidget(bet5Down, 1, 0); - bet10Down = new QPushButton(this); + bet10Down = new TQPushButton(this); g->addWidget(bet10Down, 1, 1); - adjustBet = new QPushButton(this); + adjustBet = new TQPushButton(this); l->addWidget(adjustBet, 0); l->addStretch(1); - foldButton = new QPushButton(this); + foldButton = new TQPushButton(this); l->addWidget(foldButton, 0); - bet5Up->setText(QString("+%1").arg(KGlobal::locale()->formatMoney(5))); - bet10Up->setText(QString("+%1").arg(KGlobal::locale()->formatMoney(10))); - bet5Down->setText(QString("-%1").arg(KGlobal::locale()->formatMoney(5))); - bet10Down->setText(QString("-%1").arg(KGlobal::locale()->formatMoney(10))); + bet5Up->setText(TQString("+%1").arg(KGlobal::locale()->formatMoney(5))); + bet10Up->setText(TQString("+%1").arg(KGlobal::locale()->formatMoney(10))); + bet5Down->setText(TQString("-%1").arg(KGlobal::locale()->formatMoney(5))); + bet10Down->setText(TQString("-%1").arg(KGlobal::locale()->formatMoney(10))); adjustBet->setText(i18n("Adjust Bet")); foldButton->setText(i18n("Fold")); //connects - connect(bet5Up, SIGNAL(clicked()), SLOT(bet5UpClicked())); - connect(bet10Up, SIGNAL(clicked()), SLOT(bet10UpClicked())); - connect(bet5Down, SIGNAL(clicked()), SLOT(bet5DownClicked())); - connect(bet10Down, SIGNAL(clicked()), SLOT(bet10DownClicked())); - connect(foldButton, SIGNAL(clicked()), SLOT(foldClicked())); - connect(adjustBet, SIGNAL(clicked()), SLOT(adjustBetClicked())); + connect(bet5Up, TQT_SIGNAL(clicked()), TQT_SLOT(bet5UpClicked())); + connect(bet10Up, TQT_SIGNAL(clicked()), TQT_SLOT(bet10UpClicked())); + connect(bet5Down, TQT_SIGNAL(clicked()), TQT_SLOT(bet5DownClicked())); + connect(bet10Down, TQT_SIGNAL(clicked()), TQT_SLOT(bet10DownClicked())); + connect(foldButton, TQT_SIGNAL(clicked()), TQT_SLOT(foldClicked())); + connect(adjustBet, TQT_SIGNAL(clicked()), TQT_SLOT(adjustBetClicked())); stopRaise(); } |