Update various qt function definitions and static methods for tqt3

pull/1/head
Timothy Pearson 13 years ago
parent 20d45c62f5
commit 6186b3b04f

@ -39,7 +39,7 @@ SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *p
m_game = 0;
m_mainLayout = new TQVBoxLayout(this, KDialog::marginHint());
Q_CHECK_PTR(m_mainLayout);
TQ_CHECK_PTR(m_mainLayout);
// Game configuration.
m_configBox = new TQVGroupBox(i18n("Game Configuration"), this, "configBox");

@ -37,7 +37,7 @@ SelectGame::SelectGame(AtlanticCore *atlanticCore, TQWidget *parent, const char
connect(m_atlanticCore, TQT_SIGNAL(removeGUI(Game *)), this, TQT_SLOT(delGame(Game *)));
m_mainLayout = new TQVBoxLayout(this, KDialog::marginHint());
Q_CHECK_PTR(m_mainLayout);
TQ_CHECK_PTR(m_mainLayout);
TQVGroupBox *groupBox;
groupBox = new TQVGroupBox(i18n("Create or Select monopd Game"), this, "groupBox");

@ -33,7 +33,7 @@ SelectServer::SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServe
m_hideDevelopmentServers = hideDevelopmentServers;
m_mainLayout = new TQVBoxLayout(this, KDialog::marginHint());
Q_CHECK_PTR(m_mainLayout);
TQ_CHECK_PTR(m_mainLayout);
// Custom server group
TQHGroupBox *customGroup = new TQHGroupBox(i18n("Enter Custom monopd Server"), this, "customGroup");

@ -43,7 +43,7 @@ AuctionWidget::AuctionWidget(AtlanticCore *atlanticCore, Auction *auction, TQWid
connect(this, TQT_SIGNAL(bid(Auction *, int)), m_auction, TQT_SIGNAL(bid(Auction *, int)));
m_mainLayout = new TQVBoxLayout(this, KDialog::marginHint());
Q_CHECK_PTR(m_mainLayout);
TQ_CHECK_PTR(m_mainLayout);
// Player list
Estate *estate = auction->estate();

@ -52,7 +52,7 @@ EstateDetails::EstateDetails(Estate *estate, TQString text, TQWidget *parent, co
m_buttons.setAutoDelete(true);
m_mainLayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
Q_CHECK_PTR(m_mainLayout);
TQ_CHECK_PTR(m_mainLayout);
m_mainLayout->addItem(new TQSpacerItem(KDialog::spacingHint(), KDialog::spacingHint()+50, TQSizePolicy::Fixed, TQSizePolicy::Minimum));

@ -69,7 +69,7 @@ AbTop::AbTop()
setMoveNo(0);
connect( board, TQT_SIGNAL(searchBreak()), TQT_TQOBJECT(this), TQT_SLOT(searchBreak()) );
Q_CHECK_PTR(board);
TQ_CHECK_PTR(board);
boardWidget = new BoardWidget(*board,this);
#ifdef SPION

@ -14,7 +14,7 @@ Deck::Deck( Dealer* parent, int m, int s )
: Pile( 0, parent ), mult( m )
{
_deck = new Card * [mult*NumberOfCards];
Q_CHECK_PTR (_deck);
TQ_CHECK_PTR (_deck);
// only allow 1, 2, or 4 suits
if ( s == 1 || s == 2 )

Loading…
Cancel
Save