diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:20:47 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 01:10:54 +0200 |
commit | edee609d80715382db83adbc8b00c7f74793edcb (patch) | |
tree | b11a53fb2d6b02c5f7613b8fcd724f4b7d5837bf /lskat | |
parent | 00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (diff) | |
download | tdegames-edee609d80715382db83adbc8b00c7f74793edcb.tar.gz tdegames-edee609d80715382db83adbc8b00c7f74793edcb.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 36770452958a79a095f9d9e605e79f66cfa79a2b)
Diffstat (limited to 'lskat')
-rw-r--r-- | lskat/lskat/KEMessage.cpp | 2 | ||||
-rw-r--r-- | lskat/lskat/namedlg.cpp | 6 | ||||
-rw-r--r-- | lskat/lskat/networkdlgbase.ui | 4 | ||||
-rw-r--r-- | lskat/lskatproc/KEMessage.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
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 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout9</cstring> + <cstring>layout9</cstring> </property> <hbox> <property name="name"> @@ -220,7 +220,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout11</cstring> + <cstring>layout11</cstring> </property> <hbox> <property name="name"> 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(); |