summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/atlanticd/atlanticclient.cpp2
-rw-r--r--atlantik/atlanticd/atlanticclient.h2
-rw-r--r--atlantik/client/atlantik.cpp2
-rw-r--r--atlantik/client/atlantik.h2
-rw-r--r--atlantik/client/configdlg.cpp38
-rw-r--r--atlantik/client/configdlg.h10
-rw-r--r--atlantik/client/eventlogwidget.cpp4
-rw-r--r--atlantik/client/eventlogwidget.h2
-rw-r--r--atlantik/client/monopigator.cpp4
-rw-r--r--atlantik/client/monopigator.h2
-rw-r--r--atlantik/client/selectconfiguration_widget.cpp2
-rw-r--r--atlantik/client/selectconfiguration_widget.h2
-rw-r--r--atlantik/client/selectgame_widget.cpp2
-rw-r--r--atlantik/client/selectgame_widget.h2
-rw-r--r--atlantik/client/selectserver_widget.cpp2
-rw-r--r--atlantik/client/selectserver_widget.h2
-rw-r--r--atlantik/libatlantic/atlantic_core.cpp2
-rw-r--r--atlantik/libatlantic/atlantic_core.h2
-rw-r--r--atlantik/libatlantikui/auction_widget.cpp2
-rw-r--r--atlantik/libatlantikui/auction_widget.h2
-rw-r--r--atlantik/libatlantikui/board.cpp2
-rw-r--r--atlantik/libatlantikui/board.h2
-rw-r--r--atlantik/libatlantikui/estatedetails.cpp2
-rw-r--r--atlantik/libatlantikui/estatedetails.h2
-rw-r--r--atlantik/libatlantikui/estateview.cpp2
-rw-r--r--atlantik/libatlantikui/estateview.h2
-rw-r--r--atlantik/libatlantikui/kwrappedlistviewitem.cpp18
-rw-r--r--atlantik/libatlantikui/kwrappedlistviewitem.h6
-rw-r--r--atlantik/libatlantikui/portfolioestate.cpp2
-rw-r--r--atlantik/libatlantikui/portfolioestate.h2
-rw-r--r--atlantik/libatlantikui/portfolioview.cpp2
-rw-r--r--atlantik/libatlantikui/portfolioview.h2
-rw-r--r--atlantik/libatlantikui/token.cpp4
-rw-r--r--atlantik/libatlantikui/token.h2
-rw-r--r--atlantik/libatlantikui/trade_widget.cpp4
-rw-r--r--atlantik/libatlantikui/trade_widget.h2
36 files changed, 72 insertions, 72 deletions
diff --git a/atlantik/atlanticd/atlanticclient.cpp b/atlantik/atlanticd/atlanticclient.cpp
index a3baf2e6..0e4e3e12 100644
--- a/atlantik/atlanticd/atlanticclient.cpp
+++ b/atlantik/atlanticd/atlanticclient.cpp
@@ -20,7 +20,7 @@
#include "atlanticclient.h"
#include "atlanticclient.moc"
-AtlanticClient::AtlanticClient(TQObject *tqparent, const char *name) : TQSocket(tqparent, name)
+AtlanticClient::AtlanticClient(TQObject *parent, const char *name) : TQSocket(parent, name)
{
connect(this, TQT_SIGNAL(readyRead()), this, TQT_SLOT(readData()));
}
diff --git a/atlantik/atlanticd/atlanticclient.h b/atlantik/atlanticd/atlanticclient.h
index 7b4dc19a..05f1058a 100644
--- a/atlantik/atlanticd/atlanticclient.h
+++ b/atlantik/atlanticd/atlanticclient.h
@@ -25,7 +25,7 @@ Q_OBJECT
TQ_OBJECT
public:
- AtlanticClient(TQObject *tqparent = 0, const char *name = 0);
+ AtlanticClient(TQObject *parent = 0, const char *name = 0);
void sendData(const TQString &data);
private slots:
diff --git a/atlantik/client/atlantik.cpp b/atlantik/client/atlantik.cpp
index 2ad1bf98..7d2f8e9f 100644
--- a/atlantik/client/atlantik.cpp
+++ b/atlantik/client/atlantik.cpp
@@ -64,7 +64,7 @@
#include "selectgame_widget.h"
#include "selectconfiguration_widget.h"
-LogTextEdit::LogTextEdit( TQWidget *tqparent, const char *name ) : TQTextEdit( tqparent, name )
+LogTextEdit::LogTextEdit( TQWidget *parent, const char *name ) : TQTextEdit( parent, name )
{
#ifdef KDE_3_2_FEATURES
m_clear = KStdAction::clear( TQT_TQOBJECT(this), TQT_SLOT( clear() ), 0 );
diff --git a/atlantik/client/atlantik.h b/atlantik/client/atlantik.h
index 24b989d3..7e8ff1b0 100644
--- a/atlantik/client/atlantik.h
+++ b/atlantik/client/atlantik.h
@@ -74,7 +74,7 @@ Q_OBJECT
TQ_OBJECT
public:
- LogTextEdit( TQWidget *tqparent = 0, const char *name = 0 );
+ LogTextEdit( TQWidget *parent = 0, const char *name = 0 );
virtual ~LogTextEdit();
TQPopupMenu *createPopupMenu( const TQPoint & pos );
diff --git a/atlantik/client/configdlg.cpp b/atlantik/client/configdlg.cpp
index b5d1ecae..d6f32a9a 100644
--- a/atlantik/client/configdlg.cpp
+++ b/atlantik/client/configdlg.cpp
@@ -40,9 +40,9 @@
#include "atlantik.h"
#include "configdlg.moc"
-ConfigDialog::ConfigDialog(Atlantik* tqparent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, tqparent, "config_atlantik", false, name)
+ConfigDialog::ConfigDialog(Atlantik* parent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, parent, "config_atlantik", false, name)
{
- m_parent = tqparent;
+ m_parent = parent;
p_general = addPage(i18n("General"), i18n("General"), BarIcon("configure", KIcon::SizeMedium));
p_p13n = addPage(i18n("Personalization"), i18n("Personalization"), BarIcon("personal", KIcon::SizeMedium));
p_board = addPage(i18n("Board"), i18n("Board"), BarIcon("monop_board", KIcon::SizeMedium));
@@ -111,21 +111,21 @@ AtlantikConfig ConfigDialog::config()
return m_parent->config();
}
-ConfigPlayer::ConfigPlayer(ConfigDialog* configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+ConfigPlayer::ConfigPlayer(ConfigDialog* configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
- TQLabel *label = new TQLabel(i18n("Player name:"), tqparent);
+ TQLabel *label = new TQLabel(i18n("Player name:"), parent);
tqlayout->addWidget(label);
- m_playerName = new TQLineEdit(tqparent);
+ m_playerName = new TQLineEdit(parent);
tqlayout->addWidget(m_playerName);
- TQLabel *label2 = new TQLabel(i18n("Player image:"), tqparent);
+ TQLabel *label2 = new TQLabel(i18n("Player image:"), parent);
tqlayout->addWidget(label2);
- m_playerIcon = new KPushButton(tqparent, "playerIcon");
+ m_playerIcon = new KPushButton(parent, "playerIcon");
tqlayout->addWidget(m_playerIcon);
connect( m_playerIcon, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseImage()) );
@@ -182,12 +182,12 @@ void ConfigPlayer::reset()
setImage();
}
-ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
- m_connectOnStart = new TQCheckBox(i18n("Request list of Internet servers on start-up"), tqparent);
+ m_connectOnStart = new TQCheckBox(i18n("Request list of Internet servers on start-up"), parent);
tqlayout->addWidget(m_connectOnStart);
TQString message=i18n(
@@ -195,7 +195,7 @@ ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *tqpar
"request a list of Internet servers.\n");
TQWhatsThis::add(m_connectOnStart, message);
- m_hideDevelopmentServers = new TQCheckBox(i18n("Hide development servers"), tqparent);
+ m_hideDevelopmentServers = new TQCheckBox(i18n("Hide development servers"), parent);
tqlayout->addWidget(m_hideDevelopmentServers);
message=i18n(
@@ -225,12 +225,12 @@ void ConfigMonopigator::reset()
m_hideDevelopmentServers->setChecked(m_configDialog->config().hideDevelopmentServers);
}
-ConfigGeneral::ConfigGeneral(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+ConfigGeneral::ConfigGeneral(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
- m_chatTimestamps = new TQCheckBox(i18n("Show timestamps in chat messages"), tqparent);
+ m_chatTimestamps = new TQCheckBox(i18n("Show timestamps in chat messages"), parent);
tqlayout->addWidget(m_chatTimestamps);
TQString message=i18n(
@@ -253,12 +253,12 @@ void ConfigGeneral::reset()
m_chatTimestamps->setChecked(m_configDialog->config().chatTimestamps);
}
-ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
- TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game tqStatus Feedback"), tqparent);
+ TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game tqStatus Feedback"), parent);
tqlayout->addWidget(box);
m_indicateUnowned = new TQCheckBox(i18n("Display title deed card on unowned properties"), box);
@@ -291,7 +291,7 @@ ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const c
"will have a Quartz effect similar to the Quartz KWin style.\n");
TQWhatsThis::add(m_quartzEffects, message);
-// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), tqparent);
+// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), parent);
// tqlayout->addWidget(box);
tqlayout->addStretch(1);
diff --git a/atlantik/client/configdlg.h b/atlantik/client/configdlg.h
index c28e3a98..305a9b8f 100644
--- a/atlantik/client/configdlg.h
+++ b/atlantik/client/configdlg.h
@@ -38,7 +38,7 @@ Q_OBJECT
TQ_OBJECT
public:
- ConfigPlayer(ConfigDialog *configDialog, TQWidget *tqparent, const char *name=0);
+ ConfigPlayer(ConfigDialog *configDialog, TQWidget *parent, const char *name=0);
TQString playerName();
TQString playerImage();
@@ -62,7 +62,7 @@ Q_OBJECT
TQ_OBJECT
public:
- ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const char *name=0);
+ ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const char *name=0);
bool indicateUnowned();
bool highliteUnowned();
@@ -83,7 +83,7 @@ Q_OBJECT
TQ_OBJECT
public:
- ConfigMonopigator(ConfigDialog *dialog, TQWidget *tqparent, const char *name = 0);
+ ConfigMonopigator(ConfigDialog *dialog, TQWidget *parent, const char *name = 0);
bool connectOnStart();
bool hideDevelopmentServers();
@@ -101,7 +101,7 @@ Q_OBJECT
TQ_OBJECT
public:
- ConfigGeneral(ConfigDialog *dialog, TQWidget *tqparent, const char *name = 0);
+ ConfigGeneral(ConfigDialog *dialog, TQWidget *parent, const char *name = 0);
bool chatTimestamps();
@@ -118,7 +118,7 @@ Q_OBJECT
TQ_OBJECT
public:
- ConfigDialog(Atlantik *tqparent, const char *name=0);
+ ConfigDialog(Atlantik *parent, const char *name=0);
bool chatTimestamps();
bool indicateUnowned();
diff --git a/atlantik/client/eventlogwidget.cpp b/atlantik/client/eventlogwidget.cpp
index 2821253a..9636e6e2 100644
--- a/atlantik/client/eventlogwidget.cpp
+++ b/atlantik/client/eventlogwidget.cpp
@@ -47,8 +47,8 @@ TQPtrList<Event> EventLog::events()
return m_events;
}
-EventLogWidget::EventLogWidget(EventLog *eventLog, TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name,
+EventLogWidget::EventLogWidget(EventLog *eventLog, TQWidget *parent, const char *name)
+ : TQWidget(parent, name,
WType_Dialog | WStyle_Customize | WStyle_DialogBorder | WStyle_Title |
WStyle_Minimize | WStyle_ContextHelp )
{
diff --git a/atlantik/client/eventlogwidget.h b/atlantik/client/eventlogwidget.h
index 3b2d1883..753a59fc 100644
--- a/atlantik/client/eventlogwidget.h
+++ b/atlantik/client/eventlogwidget.h
@@ -55,7 +55,7 @@ Q_OBJECT
public:
enum EventLogType { Default, Net_In, Net_Out };
- EventLogWidget(EventLog *eventLog, TQWidget *tqparent=0, const char *name = 0);
+ EventLogWidget(EventLog *eventLog, TQWidget *parent=0, const char *name = 0);
public slots:
void addEvent(Event *event);
diff --git a/atlantik/client/monopigator.cpp b/atlantik/client/monopigator.cpp
index 1fe68cef..e07a184a 100644
--- a/atlantik/client/monopigator.cpp
+++ b/atlantik/client/monopigator.cpp
@@ -108,12 +108,12 @@ void Monopigator::processData(const TQByteArray &data, bool okSoFar)
}
}
-MonopigatorEntry::MonopigatorEntry(TQListView *tqparent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip) : TQObject(), TQListViewItem(tqparent, host, latency, version, users, port)
+MonopigatorEntry::MonopigatorEntry(TQListView *parent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip) : TQObject(), TQListViewItem(parent, host, latency, version, users, port)
{
m_isDev = ( version.find( TQRegExp("(CVS|-dev)") ) != -1 ) ? true : false;
setEnabled(false);
- tqparent->sort();
+ parent->sort();
if ( !ip.isEmpty() )
host = ip;
diff --git a/atlantik/client/monopigator.h b/atlantik/client/monopigator.h
index c785b980..abdc2b7a 100644
--- a/atlantik/client/monopigator.h
+++ b/atlantik/client/monopigator.h
@@ -62,7 +62,7 @@ Q_OBJECT
TQ_OBJECT
public:
- MonopigatorEntry(TQListView *tqparent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip);
+ MonopigatorEntry(TQListView *parent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip);
int compare(TQListViewItem *i, int col, bool ascending) const;
bool isDev() const;
diff --git a/atlantik/client/selectconfiguration_widget.cpp b/atlantik/client/selectconfiguration_widget.cpp
index 1cb7a142..700856f2 100644
--- a/atlantik/client/selectconfiguration_widget.cpp
+++ b/atlantik/client/selectconfiguration_widget.cpp
@@ -33,7 +33,7 @@
#include "selectconfiguration_widget.moc"
-SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_atlanticCore = atlanticCore;
m_game = 0;
diff --git a/atlantik/client/selectconfiguration_widget.h b/atlantik/client/selectconfiguration_widget.h
index 0ad747d0..88108f8f 100644
--- a/atlantik/client/selectconfiguration_widget.h
+++ b/atlantik/client/selectconfiguration_widget.h
@@ -38,7 +38,7 @@ Q_OBJECT
TQ_OBJECT
public:
- SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name=0);
+ SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *parent, const char *name=0);
void setCanStart(const bool &canStart);
TQString hostToConnect() const;
diff --git a/atlantik/client/selectgame_widget.cpp b/atlantik/client/selectgame_widget.cpp
index e634b3c2..a4072044 100644
--- a/atlantik/client/selectgame_widget.cpp
+++ b/atlantik/client/selectgame_widget.cpp
@@ -29,7 +29,7 @@
#include "selectgame_widget.h"
-SelectGame::SelectGame(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+SelectGame::SelectGame(AtlanticCore *atlanticCore, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_atlanticCore = atlanticCore;
diff --git a/atlantik/client/selectgame_widget.h b/atlantik/client/selectgame_widget.h
index 42ec3350..5b9a523d 100644
--- a/atlantik/client/selectgame_widget.h
+++ b/atlantik/client/selectgame_widget.h
@@ -33,7 +33,7 @@ Q_OBJECT
TQ_OBJECT
public:
- SelectGame(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name=0);
+ SelectGame(AtlanticCore *atlanticCore, TQWidget *parent, const char *name=0);
void initPage();
bool validateNext();
diff --git a/atlantik/client/selectserver_widget.cpp b/atlantik/client/selectserver_widget.cpp
index 2404ebd1..3b5bcf1a 100644
--- a/atlantik/client/selectserver_widget.cpp
+++ b/atlantik/client/selectserver_widget.cpp
@@ -28,7 +28,7 @@
#include "selectserver_widget.moc"
-SelectServer::SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+SelectServer::SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_hideDevelopmentServers = hideDevelopmentServers;
diff --git a/atlantik/client/selectserver_widget.h b/atlantik/client/selectserver_widget.h
index 7e4ba45d..f663422d 100644
--- a/atlantik/client/selectserver_widget.h
+++ b/atlantik/client/selectserver_widget.h
@@ -35,7 +35,7 @@ Q_OBJECT
TQ_OBJECT
public:
- SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *tqparent, const char *name=0);
+ SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *parent, const char *name=0);
virtual ~SelectServer();
void initPage();
diff --git a/atlantik/libatlantic/atlantic_core.cpp b/atlantik/libatlantic/atlantic_core.cpp
index c73b6e0f..9139e6ed 100644
--- a/atlantik/libatlantic/atlantic_core.cpp
+++ b/atlantik/libatlantic/atlantic_core.cpp
@@ -26,7 +26,7 @@
#include "player.h"
#include "trade.h"
-AtlanticCore::AtlanticCore(TQObject *tqparent, const char *name) : TQObject(tqparent, name)
+AtlanticCore::AtlanticCore(TQObject *parent, const char *name) : TQObject(parent, name)
{
m_playerSelf = 0;
}
diff --git a/atlantik/libatlantic/atlantic_core.h b/atlantik/libatlantic/atlantic_core.h
index 2ea9f25c..b0b4aeda 100644
--- a/atlantik/libatlantic/atlantic_core.h
+++ b/atlantik/libatlantic/atlantic_core.h
@@ -36,7 +36,7 @@ Q_OBJECT
TQ_OBJECT
public:
- AtlanticCore(TQObject *tqparent, const char *name);
+ AtlanticCore(TQObject *parent, const char *name);
void reset(bool deletePermanents = false);
diff --git a/atlantik/libatlantikui/auction_widget.cpp b/atlantik/libatlantikui/auction_widget.cpp
index 2bb582fe..d4d7bdfa 100644
--- a/atlantik/libatlantikui/auction_widget.cpp
+++ b/atlantik/libatlantikui/auction_widget.cpp
@@ -33,7 +33,7 @@
#include "auction_widget.moc"
-AuctionWidget::AuctionWidget(AtlanticCore *atlanticCore, Auction *auction, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+AuctionWidget::AuctionWidget(AtlanticCore *atlanticCore, Auction *auction, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_atlanticCore = atlanticCore;
diff --git a/atlantik/libatlantikui/auction_widget.h b/atlantik/libatlantikui/auction_widget.h
index 5a21c95b..8c77d025 100644
--- a/atlantik/libatlantikui/auction_widget.h
+++ b/atlantik/libatlantikui/auction_widget.h
@@ -39,7 +39,7 @@ Q_OBJECT
TQ_OBJECT
public:
- AuctionWidget(AtlanticCore *atlanticCore, Auction *auction, TQWidget *tqparent, const char *name=0);
+ AuctionWidget(AtlanticCore *atlanticCore, Auction *auction, TQWidget *parent, const char *name=0);
private slots:
void auctionChanged();
diff --git a/atlantik/libatlantikui/board.cpp b/atlantik/libatlantikui/board.cpp
index 6b48b40d..c2c8fded 100644
--- a/atlantik/libatlantikui/board.cpp
+++ b/atlantik/libatlantikui/board.cpp
@@ -35,7 +35,7 @@
#include "board.h"
#include "board.moc"
-AtlantikBoard::AtlantikBoard(AtlanticCore *atlanticCore, int maxEstates, DisplayMode mode, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+AtlantikBoard::AtlantikBoard(AtlanticCore *atlanticCore, int maxEstates, DisplayMode mode, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_atlanticCore = atlanticCore;
m_maxEstates = maxEstates;
diff --git a/atlantik/libatlantikui/board.h b/atlantik/libatlantikui/board.h
index 6240568d..c9e160ac 100644
--- a/atlantik/libatlantikui/board.h
+++ b/atlantik/libatlantikui/board.h
@@ -40,7 +40,7 @@ Q_OBJECT
public:
enum DisplayMode { Play, Edit };
- AtlantikBoard(AtlanticCore *atlanticCore, int maxEstates, DisplayMode mode, TQWidget *tqparent, const char *name=0);
+ AtlantikBoard(AtlanticCore *atlanticCore, int maxEstates, DisplayMode mode, TQWidget *parent, const char *name=0);
~AtlantikBoard();
void reset();
diff --git a/atlantik/libatlantikui/estatedetails.cpp b/atlantik/libatlantikui/estatedetails.cpp
index ca859eb6..c92b5cc2 100644
--- a/atlantik/libatlantikui/estatedetails.cpp
+++ b/atlantik/libatlantikui/estatedetails.cpp
@@ -39,7 +39,7 @@
#include "estatedetails.h"
#include "kwrappedlistviewitem.h"
-EstateDetails::EstateDetails(Estate *estate, TQString text, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+EstateDetails::EstateDetails(Estate *estate, TQString text, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_pixmap = 0;
m_quartzBlocks = 0;
diff --git a/atlantik/libatlantikui/estatedetails.h b/atlantik/libatlantikui/estatedetails.h
index 315bfa5f..3ecdf77f 100644
--- a/atlantik/libatlantikui/estatedetails.h
+++ b/atlantik/libatlantikui/estatedetails.h
@@ -38,7 +38,7 @@ class EstateDetails : public TQWidget
TQ_OBJECT
public:
- EstateDetails(Estate *estate, TQString text, TQWidget *tqparent, const char *name = 0);
+ EstateDetails(Estate *estate, TQString text, TQWidget *parent, const char *name = 0);
~EstateDetails();
Estate *estate() { return m_estate; }
diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp
index 19eec4d5..472f9125 100644
--- a/atlantik/libatlantikui/estateview.cpp
+++ b/atlantik/libatlantikui/estateview.cpp
@@ -36,7 +36,7 @@
#include "estateview.moc"
#include "config.h"
-EstateView::EstateView(Estate *estate, EstateOrientation orientation, const TQString &_icon, bool indicateUnowned, bool highliteUnowned, bool darkenMortgaged, bool quartzEffects, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name, WResizeNoErase)
+EstateView::EstateView(Estate *estate, EstateOrientation orientation, const TQString &_icon, bool indicateUnowned, bool highliteUnowned, bool darkenMortgaged, bool quartzEffects, TQWidget *parent, const char *name) : TQWidget(parent, name, WResizeNoErase)
{
m_estate = estate;
m_orientation = orientation;
diff --git a/atlantik/libatlantikui/estateview.h b/atlantik/libatlantikui/estateview.h
index a24d6888..5b0de0e4 100644
--- a/atlantik/libatlantikui/estateview.h
+++ b/atlantik/libatlantikui/estateview.h
@@ -35,7 +35,7 @@ Q_OBJECT
TQ_OBJECT
public:
- EstateView(Estate *estate, EstateOrientation orientation, const TQString &, bool indicateUnowned, bool highliteUnowned, bool darkenMortgaged, bool quartzEffects, TQWidget *tqparent, const char *name = 0);
+ EstateView(Estate *estate, EstateOrientation orientation, const TQString &, bool indicateUnowned, bool highliteUnowned, bool darkenMortgaged, bool quartzEffects, TQWidget *parent, const char *name = 0);
void setViewProperties(bool indicateUnowned, bool highliteUnowned, bool darkenMortgaged, bool quartzEffects);
Estate *estate() { return m_estate; }
void updatePE();
diff --git a/atlantik/libatlantikui/kwrappedlistviewitem.cpp b/atlantik/libatlantikui/kwrappedlistviewitem.cpp
index 12801aab..38c0d636 100644
--- a/atlantik/libatlantikui/kwrappedlistviewitem.cpp
+++ b/atlantik/libatlantikui/kwrappedlistviewitem.cpp
@@ -31,16 +31,16 @@
#include "kwrappedlistviewitem.h"
-KWrappedListViewItem::KWrappedListViewItem( TQListView *tqparent, TQString text, TQString t2 )
-: TQObject(), KListViewItem( tqparent )
+KWrappedListViewItem::KWrappedListViewItem( TQListView *parent, TQString text, TQString t2 )
+: TQObject(), KListViewItem( parent )
{
- init( tqparent, text, t2 );
+ init( parent, text, t2 );
}
-KWrappedListViewItem::KWrappedListViewItem( TQListView *tqparent, TQListViewItem *after, TQString text, TQString t2 )
-: TQObject(), KListViewItem( tqparent, after )
+KWrappedListViewItem::KWrappedListViewItem( TQListView *parent, TQListViewItem *after, TQString text, TQString t2 )
+: TQObject(), KListViewItem( parent, after )
{
- init( tqparent, text, t2 );
+ init( parent, text, t2 );
}
void KWrappedListViewItem::setup()
@@ -91,11 +91,11 @@ void KWrappedListViewItem::wrapColumn( int c )
delete wrap;
}
-void KWrappedListViewItem::init( TQListView *tqparent, TQString text, TQString t2 )
+void KWrappedListViewItem::init( TQListView *parent, TQString text, TQString t2 )
{
m_wrapColumn = 0;
setMultiLinesEnabled( true );
- tqparent->setResizeMode( TQListView::LastColumn );
+ parent->setResizeMode( TQListView::LastColumn );
m_origText = text;
@@ -110,7 +110,7 @@ void KWrappedListViewItem::init( TQListView *tqparent, TQString text, TQString t
wrapColumn( m_wrapColumn );
- connect( tqparent->header(), TQT_SIGNAL(sizeChange(int, int, int)), this, TQT_SLOT(wrapColumn(int)));
+ connect( parent->header(), TQT_SIGNAL(sizeChange(int, int, int)), this, TQT_SLOT(wrapColumn(int)));
}
#include "kwrappedlistviewitem.moc"
diff --git a/atlantik/libatlantikui/kwrappedlistviewitem.h b/atlantik/libatlantikui/kwrappedlistviewitem.h
index 0107fef3..dea51256 100644
--- a/atlantik/libatlantikui/kwrappedlistviewitem.h
+++ b/atlantik/libatlantikui/kwrappedlistviewitem.h
@@ -38,8 +38,8 @@ Q_OBJECT
TQ_OBJECT
public:
- KWrappedListViewItem( TQListView *tqparent, TQString text, TQString=TQString() );
- KWrappedListViewItem( TQListView *tqparent, TQListViewItem *after, TQString text, TQString=TQString() );
+ KWrappedListViewItem( TQListView *parent, TQString text, TQString=TQString() );
+ KWrappedListViewItem( TQListView *parent, TQListViewItem *after, TQString text, TQString=TQString() );
void setup();
// int width(const TQFontMetrics& fm, const TQListView* lv, int c) const;
@@ -47,7 +47,7 @@ private slots:
void wrapColumn( int c );
private:
- void init( TQListView *tqparent, TQString text, TQString=TQString() );
+ void init( TQListView *parent, TQString text, TQString=TQString() );
TQString m_origText;
int m_wrapColumn;
};
diff --git a/atlantik/libatlantikui/portfolioestate.cpp b/atlantik/libatlantikui/portfolioestate.cpp
index 9b55b565..1117b6e8 100644
--- a/atlantik/libatlantikui/portfolioestate.cpp
+++ b/atlantik/libatlantikui/portfolioestate.cpp
@@ -21,7 +21,7 @@
#include "portfolioestate.moc"
#include "estate.h"
-PortfolioEstate::PortfolioEstate(Estate *estate, Player *player, bool alwaysOwned, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+PortfolioEstate::PortfolioEstate(Estate *estate, Player *player, bool alwaysOwned, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_estate = estate;
m_player = player;
diff --git a/atlantik/libatlantikui/portfolioestate.h b/atlantik/libatlantikui/portfolioestate.h
index 93ddde8d..546b332a 100644
--- a/atlantik/libatlantikui/portfolioestate.h
+++ b/atlantik/libatlantikui/portfolioestate.h
@@ -32,7 +32,7 @@ Q_OBJECT
TQ_OBJECT
public:
- PortfolioEstate(Estate *estate, Player *player, bool alwaysOwned, TQWidget *tqparent, const char *name = 0);
+ PortfolioEstate(Estate *estate, Player *player, bool alwaysOwned, TQWidget *parent, const char *name = 0);
Estate *estate() { return m_estate; }
static TQPixmap drawPixmap(Estate *estate, Player *player = 0, bool alwaysOwned = true);
diff --git a/atlantik/libatlantikui/portfolioview.cpp b/atlantik/libatlantikui/portfolioview.cpp
index 83d2b0d2..f73d2999 100644
--- a/atlantik/libatlantikui/portfolioview.cpp
+++ b/atlantik/libatlantikui/portfolioview.cpp
@@ -40,7 +40,7 @@
#define PE_MARGINH 2
#define ICONSIZE 48
-PortfolioView::PortfolioView(AtlanticCore *core, Player *player, TQColor activeColor, TQColor inactiveColor, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
+PortfolioView::PortfolioView(AtlanticCore *core, Player *player, TQColor activeColor, TQColor inactiveColor, TQWidget *parent, const char *name) : TQWidget(parent, name)
{
m_atlanticCore = core;
m_player = player;
diff --git a/atlantik/libatlantikui/portfolioview.h b/atlantik/libatlantikui/portfolioview.h
index d07aacda..39893f87 100644
--- a/atlantik/libatlantikui/portfolioview.h
+++ b/atlantik/libatlantikui/portfolioview.h
@@ -36,7 +36,7 @@ Q_OBJECT
TQ_OBJECT
public:
- PortfolioView(AtlanticCore *core, Player *_player, TQColor activeColor, TQColor inactiveColor, TQWidget *tqparent, const char *name = 0);
+ PortfolioView(AtlanticCore *core, Player *_player, TQColor activeColor, TQColor inactiveColor, TQWidget *parent, const char *name = 0);
~PortfolioView();
void buildPortfolio();
diff --git a/atlantik/libatlantikui/token.cpp b/atlantik/libatlantikui/token.cpp
index 0a4f5193..d6df61dc 100644
--- a/atlantik/libatlantikui/token.cpp
+++ b/atlantik/libatlantikui/token.cpp
@@ -33,11 +33,11 @@
#define TOKEN_ICONSIZE 32
-Token::Token(Player *player, AtlantikBoard *tqparent, const char *name) : TQWidget(tqparent, name)
+Token::Token(Player *player, AtlantikBoard *parent, const char *name) : TQWidget(parent, name)
{
setBackgroundMode(NoBackground); // avoid flickering
- m_parentBoard = tqparent;
+ m_parentBoard = parent;
m_player = player;
connect(m_player, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged()));
diff --git a/atlantik/libatlantikui/token.h b/atlantik/libatlantikui/token.h
index ea45888d..84a2dbef 100644
--- a/atlantik/libatlantikui/token.h
+++ b/atlantik/libatlantikui/token.h
@@ -31,7 +31,7 @@ Q_OBJECT
TQ_OBJECT
public:
- Token (Player *player, AtlantikBoard *tqparent, const char *name = 0);
+ Token (Player *player, AtlantikBoard *parent, const char *name = 0);
~Token();
Player *player();
void setLocation(Estate *estate);
diff --git a/atlantik/libatlantikui/trade_widget.cpp b/atlantik/libatlantikui/trade_widget.cpp
index bf4eeac6..d6cfe4d4 100644
--- a/atlantik/libatlantikui/trade_widget.cpp
+++ b/atlantik/libatlantikui/trade_widget.cpp
@@ -44,8 +44,8 @@
#include "trade_widget.moc"
-TradeDisplay::TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name,
+TradeDisplay::TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, TQWidget *parent, const char *name)
+ : TQWidget(parent, name,
WType_Dialog | WStyle_Customize | WStyle_DialogBorder | WStyle_Title |
WStyle_Minimize | WStyle_ContextHelp )
{
diff --git a/atlantik/libatlantikui/trade_widget.h b/atlantik/libatlantikui/trade_widget.h
index ebaba426..8c967f40 100644
--- a/atlantik/libatlantikui/trade_widget.h
+++ b/atlantik/libatlantikui/trade_widget.h
@@ -42,7 +42,7 @@ Q_OBJECT
TQ_OBJECT
public:
- TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, TQWidget *tqparent=0, const char *name = 0);
+ TradeDisplay(Trade *trade, AtlanticCore *atlanticCore, TQWidget *parent=0, const char *name = 0);
Trade *trade() { return mTrade; }