summaryrefslogtreecommitdiffstats
path: root/lskat
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:20:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:20:47 -0600
commit36770452958a79a095f9d9e605e79f66cfa79a2b (patch)
tree8c5656dfa9510a332be71bc62e896540eaf76b52 /lskat
parentc0f375feba0103bed2bac1b1f05e76e9ae28fa89 (diff)
downloadtdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.tar.gz
tdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'lskat')
-rw-r--r--lskat/lskat/KEMessage.cpp2
-rw-r--r--lskat/lskat/namedlg.cpp6
-rw-r--r--lskat/lskat/networkdlgbase.ui4
-rw-r--r--lskat/lskatproc/KEMessage.cpp2
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();