From 36770452958a79a095f9d9e605e79f66cfa79a2b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:20:47 -0600 Subject: Rename obsolete tq methods to standard names --- lskat/lskat/KEMessage.cpp | 2 +- lskat/lskat/namedlg.cpp | 6 +++--- lskat/lskat/networkdlgbase.ui | 4 ++-- lskat/lskatproc/KEMessage.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lskat') diff --git a/lskat/lskat/KEMessage.cpp b/lskat/lskat/KEMessage.cpp index b11a70a5..38cd2e8d 100644 --- a/lskat/lskat/KEMessage.cpp +++ b/lskat/lskat/KEMessage.cpp @@ -202,7 +202,7 @@ TQString KEMessage::StringToEntry(TQString str,KMessageEntry *entry) cnt=size.toInt(); entry->SetType((KGM_TYPE)type.toInt()); - // I hope this works with tqunicode strings as well + // I hope this works with unicode strings as well p=data.latin1(); q=(char *)calloc(data.length()/2,sizeof(char)); if (!q) return TQString(); diff --git a/lskat/lskat/namedlg.cpp b/lskat/lskat/namedlg.cpp index 6067619c..262631cd 100644 --- a/lskat/lskat/namedlg.cpp +++ b/lskat/lskat/namedlg.cpp @@ -45,9 +45,9 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /* player_names = new TQGroupBox( page, "player_names" ); player_names->setTitle(i18n("Player Names") ); player_names->setColumnLayout(0, Qt::Vertical ); - player_names->tqlayout()->setSpacing( 0 ); - player_names->tqlayout()->setMargin( 0 ); - vbox_2 = new TQVBoxLayout( player_names->tqlayout() ); + player_names->layout()->setSpacing( 0 ); + player_names->layout()->setMargin( 0 ); + vbox_2 = new TQVBoxLayout( player_names->layout() ); vbox_2->setAlignment( TQt::AlignTop ); vbox_2->setSpacing( 6 ); vbox_2->setMargin( 11 ); diff --git a/lskat/lskat/networkdlgbase.ui b/lskat/lskat/networkdlgbase.ui index dce143d9..d064c13b 100644 --- a/lskat/lskat/networkdlgbase.ui +++ b/lskat/lskat/networkdlgbase.ui @@ -144,7 +144,7 @@ - tqlayout9 + layout9 @@ -220,7 +220,7 @@ - tqlayout11 + layout11 diff --git a/lskat/lskatproc/KEMessage.cpp b/lskat/lskatproc/KEMessage.cpp index aa88298a..ce8985f3 100644 --- a/lskat/lskatproc/KEMessage.cpp +++ b/lskat/lskatproc/KEMessage.cpp @@ -202,7 +202,7 @@ TQString KEMessage::StringToEntry(TQString str,KMessageEntry *entry) cnt=size.toInt(); entry->SetType((KGM_TYPE)type.toInt()); - // I hope this works with tqunicode strings as well + // I hope this works with unicode strings as well p=data.latin1(); q=(char *)calloc(data.length()/2,sizeof(char)); if (!q) return TQString(); -- cgit v1.2.1