summaryrefslogtreecommitdiffstats
path: root/lskat
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /lskat
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lskat')
-rw-r--r--lskat/lskat/KChildConnect.cpp2
-rw-r--r--lskat/lskat/KEInput.cpp4
-rw-r--r--lskat/lskat/KEInput.h2
-rw-r--r--lskat/lskat/lskatdoc.cpp2
-rw-r--r--lskat/lskat/lskatdoc.h2
-rw-r--r--lskat/lskat/lskatview.cpp2
-rw-r--r--lskat/lskat/lskatview.h4
-rw-r--r--lskat/lskat/msgdlg.cpp4
-rw-r--r--lskat/lskat/msgdlg.h2
-rw-r--r--lskat/lskat/namedlg.cpp6
-rw-r--r--lskat/lskat/namedlg.h2
-rw-r--r--lskat/lskat/networkdlg.cpp4
-rw-r--r--lskat/lskat/networkdlg.h2
-rw-r--r--lskat/lskatproc/KChildConnect.cpp2
14 files changed, 20 insertions, 20 deletions
diff --git a/lskat/lskat/KChildConnect.cpp b/lskat/lskat/KChildConnect.cpp
index 679b3f65..b3ecfb18 100644
--- a/lskat/lskat/KChildConnect.cpp
+++ b/lskat/lskat/KChildConnect.cpp
@@ -57,7 +57,7 @@ bool KChildConnect::SendMsg(KEMessage *msg)
return Send(sendstring);
}
-// Send string to tqparent
+// Send string to parent
bool KChildConnect::Send(TQString str)
{
if (!str || str.length()<1) return true; // no need to send crap
diff --git a/lskat/lskat/KEInput.cpp b/lskat/lskat/KEInput.cpp
index ea2def79..b2f53f65 100644
--- a/lskat/lskat/KEInput.cpp
+++ b/lskat/lskat/KEInput.cpp
@@ -22,8 +22,8 @@
#include "KEInput.moc"
-KEInput::KEInput(TQObject * tqparent)
- : TQObject(tqparent,0)
+KEInput::KEInput(TQObject * parent)
+ : TQObject(parent,0)
{
number_of_inputs=0;
locked=FALSE;
diff --git a/lskat/lskat/KEInput.h b/lskat/lskat/KEInput.h
index 0a599e9a..4a97e864 100644
--- a/lskat/lskat/KEInput.h
+++ b/lskat/lskat/KEInput.h
@@ -47,7 +47,7 @@ class KEInput : public TQObject
TQMemArray<KConnectEntry> playerArray;
public:
- KEInput(TQObject * tqparent=0);
+ KEInput(TQObject * parent=0);
~KEInput();
int QueryNumberOfInputs();
int QueryNext();
diff --git a/lskat/lskat/lskatdoc.cpp b/lskat/lskat/lskatdoc.cpp
index f8b955e5..cdb51054 100644
--- a/lskat/lskat/lskatdoc.cpp
+++ b/lskat/lskat/lskatdoc.cpp
@@ -36,7 +36,7 @@
TQPtrList<LSkatView> *LSkatDoc::pViewList = 0L;
-LSkatDoc::LSkatDoc(TQWidget *tqparent, const char *name) : TQObject(tqparent, name)
+LSkatDoc::LSkatDoc(TQWidget *parent, const char *name) : TQObject(parent, name)
{
int i;
if(!pViewList)
diff --git a/lskat/lskat/lskatdoc.h b/lskat/lskat/lskatdoc.h
index a556f3de..e4b52c17 100644
--- a/lskat/lskat/lskatdoc.h
+++ b/lskat/lskat/lskatdoc.h
@@ -50,7 +50,7 @@ class LSkatDoc : public TQObject
TQ_OBJECT
public:
/** Constructor for the fileclass of the application */
- LSkatDoc(TQWidget *tqparent, const char *name=0);
+ LSkatDoc(TQWidget *parent, const char *name=0);
/** Destructor for the fileclass of the application */
~LSkatDoc();
diff --git a/lskat/lskat/lskatview.cpp b/lskat/lskat/lskatview.cpp
index a71f1b24..1905ad48 100644
--- a/lskat/lskat/lskatview.cpp
+++ b/lskat/lskat/lskatview.cpp
@@ -104,7 +104,7 @@
#define MOVECOUNTER 20 // so many moves when playing card
#define MOVE_TIMER_DELAY 7 // timer in milllisec default 7
-LSkatView::LSkatView(TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+LSkatView::LSkatView(TQWidget *parent, const char *name) : TQWidget(parent, name)
{
setBackgroundMode(PaletteBase);
// setBackgroundMode(NoBackground);
diff --git a/lskat/lskat/lskatview.h b/lskat/lskat/lskatview.h
index 8fd86025..20fe80a7 100644
--- a/lskat/lskat/lskatview.h
+++ b/lskat/lskat/lskatview.h
@@ -42,9 +42,9 @@ class LSkatView : public TQWidget
TQ_OBJECT
public:
/** Constructor for the main view */
- LSkatView(TQWidget *tqparent = 0, const char *name=0);
+ LSkatView(TQWidget *parent = 0, const char *name=0);
- /** returns a pointer to the document connected to the view instance. Mind that this method requires a LSkatApp instance as a tqparent
+ /** returns a pointer to the document connected to the view instance. Mind that this method requires a LSkatApp instance as a parent
* widget to get to the window document pointer by calling the LSkatApp::getDocument() method.
*
* @see LSkatApp#getDocument
diff --git a/lskat/lskat/msgdlg.cpp b/lskat/lskat/msgdlg.cpp
index e1a6923a..cb3e6334 100644
--- a/lskat/lskat/msgdlg.cpp
+++ b/lskat/lskat/msgdlg.cpp
@@ -37,8 +37,8 @@
// Create the dialog for changing the player names
-MsgDlg::MsgDlg( TQWidget *tqparent, const char *name,const char * /*sufi */ )
- : TQDialog( tqparent, name,TRUE )
+MsgDlg::MsgDlg( TQWidget *parent, const char *name,const char * /*sufi */ )
+ : TQDialog( parent, name,TRUE )
{
setCaption(i18n("Send Message to Remote Player"));
setMinimumSize(400,160);
diff --git a/lskat/lskat/msgdlg.h b/lskat/lskat/msgdlg.h
index b2b0bfe0..52c36817 100644
--- a/lskat/lskat/msgdlg.h
+++ b/lskat/lskat/msgdlg.h
@@ -26,7 +26,7 @@ class MsgDlg : public TQDialog
TQ_OBJECT
public:
- MsgDlg (TQWidget* tqparent = NULL,const char* name = NULL,const char *sufi=NULL);
+ MsgDlg (TQWidget* parent = NULL,const char* name = NULL,const char *sufi=NULL);
TQString GetMsg();
protected slots:
diff --git a/lskat/lskat/namedlg.cpp b/lskat/lskat/namedlg.cpp
index 66296195..8267d4ea 100644
--- a/lskat/lskat/namedlg.cpp
+++ b/lskat/lskat/namedlg.cpp
@@ -19,15 +19,15 @@
#define NAME_MAX_LEN 12
/*
- * Constructs a NameDlg which is a child of 'tqparent', with the
+ * Constructs a NameDlg which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-NameDlg::NameDlg( TQWidget *tqparent, const char *name,bool /* modal */, WFlags /* fl */ )
+NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /* fl */ )
: KDialogBase( Plain, i18n("Configure Names"), Ok|Cancel, Ok,
- tqparent, name, true,true )
+ parent, name, true,true )
{
TQWidget *page = plainPage();
diff --git a/lskat/lskat/namedlg.h b/lskat/lskat/namedlg.h
index f8f26881..dbf369d3 100644
--- a/lskat/lskat/namedlg.h
+++ b/lskat/lskat/namedlg.h
@@ -24,7 +24,7 @@ class NameDlg : public KDialogBase
TQ_OBJECT
public:
- NameDlg( TQWidget* tqparent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ NameDlg( TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
~NameDlg();
void SetNames(TQString n1,TQString n2);
void GetNames(TQString &n1,TQString &n2);
diff --git a/lskat/lskat/networkdlg.cpp b/lskat/lskat/networkdlg.cpp
index 1bf3f18f..9fe30baf 100644
--- a/lskat/lskat/networkdlg.cpp
+++ b/lskat/lskat/networkdlg.cpp
@@ -25,8 +25,8 @@
extern const char* LSKAT_SERVICE;
// Create the dialog
-NetworkDlg::NetworkDlg( TQWidget *tqparent, const char *name )
- : NetworkDlgBase( tqparent, name, TRUE )
+NetworkDlg::NetworkDlg( TQWidget *parent, const char *name )
+ : NetworkDlgBase( parent, name, TRUE )
{
browser = new DNSSD::ServiceBrowser(TQString::tqfromLatin1(LSKAT_SERVICE));
connect(browser,TQT_SIGNAL(finished()),TQT_SLOT(gamesFound()));
diff --git a/lskat/lskat/networkdlg.h b/lskat/lskat/networkdlg.h
index 9657280d..9dea97c2 100644
--- a/lskat/lskat/networkdlg.h
+++ b/lskat/lskat/networkdlg.h
@@ -28,7 +28,7 @@ class NetworkDlg : public NetworkDlgBase
TQ_OBJECT
public:
- NetworkDlg(TQWidget* tqparent=NULL, const char* name=NULL);
+ NetworkDlg(TQWidget* parent=NULL, const char* name=NULL);
~NetworkDlg();
void SetName(const TQString& name);
void SetHost(const TQString& host);
diff --git a/lskat/lskatproc/KChildConnect.cpp b/lskat/lskatproc/KChildConnect.cpp
index 448eb206..838847be 100644
--- a/lskat/lskatproc/KChildConnect.cpp
+++ b/lskat/lskatproc/KChildConnect.cpp
@@ -57,7 +57,7 @@ bool KChildConnect::SendMsg(KEMessage *msg)
return Send(sendstring);
}
-// Send string to tqparent
+// Send string to parent
bool KChildConnect::Send(TQString str)
{
if (!str || str.length()<1) return true; // no need to send crap