summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/fibs
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/engines/fibs')
-rw-r--r--kbackgammon/engines/fibs/kbgfibs.cpp20
-rw-r--r--kbackgammon/engines/fibs/kbgfibs.h2
-rw-r--r--kbackgammon/engines/fibs/kbgfibschat.cpp8
-rw-r--r--kbackgammon/engines/fibs/kbgfibschat.h2
-rw-r--r--kbackgammon/engines/fibs/kplayerlist.cpp6
-rw-r--r--kbackgammon/engines/fibs/kplayerlist.h2
6 files changed, 20 insertions, 20 deletions
diff --git a/kbackgammon/engines/fibs/kbgfibs.cpp b/kbackgammon/engines/fibs/kbgfibs.cpp
index c99b19f0..57eb6666 100644
--- a/kbackgammon/engines/fibs/kbgfibs.cpp
+++ b/kbackgammon/engines/fibs/kbgfibs.cpp
@@ -642,7 +642,7 @@ bool KBgEngineFIBS::queryClose()
if (connection->state() == TQSocket::Idle)
return true;
- switch (KMessageBox::warningYesNoCancel((TQWidget *)tqparent(),i18n("Still connected. Log out first?"),TQString(),i18n("Log Out"), i18n("Stay Connected"))) {
+ switch (KMessageBox::warningYesNoCancel((TQWidget *)parent(),i18n("Still connected. Log out first?"),TQString(),i18n("Log Out"), i18n("Stay Connected"))) {
case KMessageBox::Yes :
disconnectFIBS();
return true;
@@ -731,7 +731,7 @@ void KBgEngineFIBS::away()
bool ret;
TQString msg = KLineEditDlg::getText(i18n("Please type the message that should be displayed to other\n"
"users while you are away."),
- lastAway, &ret, (TQWidget *)tqparent());
+ lastAway, &ret, (TQWidget *)parent());
if (ret) {
lastAway = msg;
emit serverString("away " + msg);
@@ -1052,7 +1052,7 @@ bool KBgEngineFIBS::queryConnection(const bool newlogin)
msg = KLineEditDlg::getText(i18n("Enter the name of the server you want to connect to.\n"
"This should almost always be \"fibs.com\"."),
- infoFIBS[FIBSHost], &ret, (TQWidget *)tqparent());
+ infoFIBS[FIBSHost], &ret, (TQWidget *)parent());
if (ret)
infoFIBS[FIBSHost] = msg;
@@ -1064,7 +1064,7 @@ bool KBgEngineFIBS::queryConnection(const bool newlogin)
msg = KLineEditDlg::getText(i18n("Enter the port number on the server. "
"It should almost always be \"4321\"."),
- infoFIBS[FIBSPort], &ret, (TQWidget *)tqparent());
+ infoFIBS[FIBSPort], &ret, (TQWidget *)parent());
if (ret)
infoFIBS[FIBSPort] = msg;
@@ -1088,7 +1088,7 @@ bool KBgEngineFIBS::queryConnection(const bool newlogin)
first = true;
do {
msg = (KLineEditDlg::getText(text, infoFIBS[FIBSUser], &ret,
- (TQWidget *)tqparent())).stripWhiteSpace();
+ (TQWidget *)parent())).stripWhiteSpace();
if (first) {
text += i18n("The login may not contain spaces or colons!");
first = false;
@@ -1400,7 +1400,7 @@ void KBgEngineFIBS::handleMessageConnect(const TQString &line, const TQString &r
if (rxCollect.isEmpty()) {
rxtqStatus = RxIgnore;
int ret = KMessageBox::warningContinueCancel
- ((TQWidget *)tqparent(), i18n("There was a problem with "
+ ((TQWidget *)parent(), i18n("There was a problem with "
"your login and password. "
"You can reenter\n"
"your login and password and "
@@ -1574,7 +1574,7 @@ void KBgEngineFIBS::handleMessageNewLogin(const TQString &line)
do {
msg = (KLineEditDlg::getText(text, infoFIBS[FIBSUser], &ret,
- (TQWidget *)tqparent())).stripWhiteSpace();
+ (TQWidget *)parent())).stripWhiteSpace();
if (first) {
text += i18n("\n\nThe login may not contain spaces or colons!");
first = false;
@@ -2091,13 +2091,13 @@ void KBgEngineFIBS::handleMessageNormal(TQString &line, TQString &rawline)
/*
* Constructor
*/
-KBgEngineFIBS::KBgEngineFIBS(TQWidget *tqparent, TQString *name, TQPopupMenu *pmenu)
- : KBgEngine(tqparent, name, pmenu)
+KBgEngineFIBS::KBgEngineFIBS(TQWidget *parent, TQString *name, TQPopupMenu *pmenu)
+ : KBgEngine(parent, name, pmenu)
{
/*
* No connection, not playing, ready for login
*/
- connection = new TQSocket(TQT_TQOBJECT(tqparent), "fibs connection");
+ connection = new TQSocket(TQT_TQOBJECT(parent), "fibs connection");
playing = false;
login = true;
diff --git a/kbackgammon/engines/fibs/kbgfibs.h b/kbackgammon/engines/fibs/kbgfibs.h
index d044c642..24555ef2 100644
--- a/kbackgammon/engines/fibs/kbgfibs.h
+++ b/kbackgammon/engines/fibs/kbgfibs.h
@@ -67,7 +67,7 @@ public:
/**
* Constructor
*/
- KBgEngineFIBS(TQWidget *tqparent = 0, TQString *name = 0, TQPopupMenu *pmenu = 0);
+ KBgEngineFIBS(TQWidget *parent = 0, TQString *name = 0, TQPopupMenu *pmenu = 0);
/**
* Destructor
diff --git a/kbackgammon/engines/fibs/kbgfibschat.cpp b/kbackgammon/engines/fibs/kbgfibschat.cpp
index f4dce656..c3490cec 100644
--- a/kbackgammon/engines/fibs/kbgfibschat.cpp
+++ b/kbackgammon/engines/fibs/kbgfibschat.cpp
@@ -71,10 +71,10 @@ public:
/*
* Constructor
*/
- KLBT(TQWidget *tqparent, const TQString &text = TQString(), const TQString &player = TQString())
+ KLBT(TQWidget *parent, const TQString &text = TQString(), const TQString &player = TQString())
: TQListBoxText(text)
{
- w = tqparent;
+ w = parent;
n = new TQString(player);
t = new TQSimpleRichText(text, w->font());
@@ -189,8 +189,8 @@ public:
/*
* Constructor of the chat window.
*/
-KBgChat::KBgChat(TQWidget *tqparent, const char *name)
- : KChat(tqparent, false)
+KBgChat::KBgChat(TQWidget *parent, const char *name)
+ : KChat(parent, false)
{
d = new KBgChatPrivate();
KActionCollection* actions = new KActionCollection(this);
diff --git a/kbackgammon/engines/fibs/kbgfibschat.h b/kbackgammon/engines/fibs/kbgfibschat.h
index a34a0c93..edfafc98 100644
--- a/kbackgammon/engines/fibs/kbgfibschat.h
+++ b/kbackgammon/engines/fibs/kbgfibschat.h
@@ -62,7 +62,7 @@ public:
/**
* Constructor
*/
- KBgChat(TQWidget *tqparent = 0, const char *name = 0);
+ KBgChat(TQWidget *parent = 0, const char *name = 0);
/**
* Destructor
diff --git a/kbackgammon/engines/fibs/kplayerlist.cpp b/kbackgammon/engines/fibs/kplayerlist.cpp
index 72714f4c..e79e1118 100644
--- a/kbackgammon/engines/fibs/kplayerlist.cpp
+++ b/kbackgammon/engines/fibs/kplayerlist.cpp
@@ -79,7 +79,7 @@ public:
/*
* Constructor
*/
- KFibsPlayerListLVI(KFibsPlayerList *tqparent) : KListViewItem(tqparent) { _plist = tqparent; }
+ KFibsPlayerListLVI(KFibsPlayerList *parent) : KListViewItem(parent) { _plist = parent; }
/*
* Destructor
@@ -200,8 +200,8 @@ public:
/*
* Construct the playerlist and do some initial setup
*/
-KFibsPlayerList::KFibsPlayerList(TQWidget *tqparent, const char *name)
- : KListView(tqparent, name)
+KFibsPlayerList::KFibsPlayerList(TQWidget *parent, const char *name)
+ : KListView(parent, name)
{
d = new KFibsPlayerListPrivate();
KActionCollection* actions = new KActionCollection(this);
diff --git a/kbackgammon/engines/fibs/kplayerlist.h b/kbackgammon/engines/fibs/kplayerlist.h
index 7fe45218..793e1b39 100644
--- a/kbackgammon/engines/fibs/kplayerlist.h
+++ b/kbackgammon/engines/fibs/kplayerlist.h
@@ -64,7 +64,7 @@ public:
/**
* Constructor
*/
- KFibsPlayerList(TQWidget *tqparent = 0, const char *name = 0);
+ KFibsPlayerList(TQWidget *parent = 0, const char *name = 0);
/**
* Destructor