summaryrefslogtreecommitdiffstats
path: root/atlantik/client/configdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/client/configdlg.cpp')
-rw-r--r--atlantik/client/configdlg.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/atlantik/client/configdlg.cpp b/atlantik/client/configdlg.cpp
index 9e936147..b5d1ecae 100644
--- a/atlantik/client/configdlg.cpp
+++ b/atlantik/client/configdlg.cpp
@@ -40,9 +40,9 @@
#include "atlantik.h"
#include "configdlg.moc"
-ConfigDialog::ConfigDialog(Atlantik* parent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, parent, "config_atlantik", false, name)
+ConfigDialog::ConfigDialog(Atlantik* tqparent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, tqparent, "config_atlantik", false, name)
{
- m_parent = parent;
+ m_parent = tqparent;
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));
@@ -53,7 +53,7 @@ ConfigDialog::ConfigDialog(Atlantik* parent, const char *name) : KDialogBase(Ico
configBoard = new ConfigBoard(this, p_board, "configBoard");
configMonopigator = new ConfigMonopigator(this, p_monopigator, "configMonopigator");
- setMinimumSize(sizeHint());
+ setMinimumSize(tqsizeHint());
}
bool ConfigDialog::chatTimestamps()
@@ -111,26 +111,26 @@ AtlantikConfig ConfigDialog::config()
return m_parent->config();
}
-ConfigPlayer::ConfigPlayer(ConfigDialog* configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
+ConfigPlayer::ConfigPlayer(ConfigDialog* configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *layout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
- TQLabel *label = new TQLabel(i18n("Player name:"), parent);
- layout->addWidget(label);
+ TQLabel *label = new TQLabel(i18n("Player name:"), tqparent);
+ tqlayout->addWidget(label);
- m_playerName = new TQLineEdit(parent);
- layout->addWidget(m_playerName);
+ m_playerName = new TQLineEdit(tqparent);
+ tqlayout->addWidget(m_playerName);
- TQLabel *label2 = new TQLabel(i18n("Player image:"), parent);
- layout->addWidget(label2);
+ TQLabel *label2 = new TQLabel(i18n("Player image:"), tqparent);
+ tqlayout->addWidget(label2);
- m_playerIcon = new KPushButton(parent, "playerIcon");
- layout->addWidget(m_playerIcon);
+ m_playerIcon = new KPushButton(tqparent, "playerIcon");
+ tqlayout->addWidget(m_playerIcon);
connect( m_playerIcon, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseImage()) );
- layout->addStretch(1);
+ tqlayout->addStretch(1);
reset();
}
@@ -182,21 +182,21 @@ void ConfigPlayer::reset()
setImage();
}
-ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
+ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *layout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
- m_connectOnStart = new TQCheckBox(i18n("Request list of Internet servers on start-up"), parent);
- layout->addWidget(m_connectOnStart);
+ m_connectOnStart = new TQCheckBox(i18n("Request list of Internet servers on start-up"), tqparent);
+ tqlayout->addWidget(m_connectOnStart);
TQString message=i18n(
"If checked, Atlantik connects to a meta server on start-up to\n"
"request a list of Internet servers.\n");
TQWhatsThis::add(m_connectOnStart, message);
- m_hideDevelopmentServers = new TQCheckBox(i18n("Hide development servers"), parent);
- layout->addWidget(m_hideDevelopmentServers);
+ m_hideDevelopmentServers = new TQCheckBox(i18n("Hide development servers"), tqparent);
+ tqlayout->addWidget(m_hideDevelopmentServers);
message=i18n(
"Some of the Internet servers might be running development\n"
@@ -204,7 +204,7 @@ ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *paren
"display these servers.\n");
TQWhatsThis::add(m_hideDevelopmentServers, message);
- layout->addStretch(1);
+ tqlayout->addStretch(1);
reset();
}
@@ -225,20 +225,20 @@ void ConfigMonopigator::reset()
m_hideDevelopmentServers->setChecked(m_configDialog->config().hideDevelopmentServers);
}
-ConfigGeneral::ConfigGeneral(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
+ConfigGeneral::ConfigGeneral(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *layout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
- m_chatTimestamps = new TQCheckBox(i18n("Show timestamps in chat messages"), parent);
- layout->addWidget(m_chatTimestamps);
+ m_chatTimestamps = new TQCheckBox(i18n("Show timestamps in chat messages"), tqparent);
+ tqlayout->addWidget(m_chatTimestamps);
TQString message=i18n(
"If checked, Atlantik will add timestamps in front of chat\n"
"messages.\n");
TQWhatsThis::add(m_chatTimestamps, message);
- layout->addStretch(1);
+ tqlayout->addStretch(1);
reset();
}
@@ -253,13 +253,13 @@ void ConfigGeneral::reset()
m_chatTimestamps->setChecked(m_configDialog->config().chatTimestamps);
}
-ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name)
+ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name)
{
m_configDialog = configDialog;
- TQVBoxLayout *layout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint());
- TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game Status Feedback"), parent);
- layout->addWidget(box);
+ TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game tqStatus Feedback"), tqparent);
+ tqlayout->addWidget(box);
m_indicateUnowned = new TQCheckBox(i18n("Display title deed card on unowned properties"), box);
TQString message=i18n(
@@ -291,10 +291,10 @@ ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const cha
"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"), parent);
-// layout->addWidget(box);
+// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), tqparent);
+// tqlayout->addWidget(box);
- layout->addStretch(1);
+ tqlayout->addStretch(1);
reset();
}