summaryrefslogtreecommitdiffstats
path: root/kpoker/newgamedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpoker/newgamedlg.cpp')
-rw-r--r--kpoker/newgamedlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpoker/newgamedlg.cpp b/kpoker/newgamedlg.cpp
index 21023ccd..962c239d 100644
--- a/kpoker/newgamedlg.cpp
+++ b/kpoker/newgamedlg.cpp
@@ -41,7 +41,7 @@ NewGameDlg::NewGameDlg(TQWidget* parent)
TQVBoxLayout *topLayout = new TQVBoxLayout(plainPage(), spacingHint());
TQHBoxLayout *l = new TQHBoxLayout(topLayout);
- TDEConfig* conf = kapp->config();
+ TDEConfig* conf = tdeApp->config();
conf->setGroup("NewGameDlg");
bool showNewGameDlg = conf->readBoolEntry("showNewGameDlgOnStartup",
SHOWNEWGAME_DEFAULT);
@@ -60,8 +60,8 @@ NewGameDlg::NewGameDlg(TQWidget* parent)
readFromConfigLabel->hide();
readFromConfigLabel->adjustSize();
l->addWidget(readFromConfigLabel);
- connect(readFromConfig, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(changeReadFromConfig(bool)));
+ connect(readFromConfig, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(changeReadFromConfig(bool)));
players = new KIntNumInput(playerNr, plainPage());
players->setRange(1, MAX_PLAYERS);
@@ -100,7 +100,7 @@ NewGameDlg::NewGameDlg(TQWidget* parent)
NewGameDlg::~NewGameDlg()
{
if (result() == Accepted) {
- TDEConfig* conf = kapp->config();
+ TDEConfig* conf = tdeApp->config();
conf->setGroup("NewGameDlg"); // defaults for the newGameDlg only
conf->writeEntry("showNewGameDlgOnStartup", showOnStartup());
conf->writeEntry("readFromConfig", readFromConfigFile()); // just a default!
@@ -123,11 +123,11 @@ NewGameDlg::~NewGameDlg()
void NewGameDlg::setPlayerNames(int no, TQString playerName)
{
if (no < 0) {
- kapp->config()->setGroup("Save");
- player1Name->setText(kapp->config()->readEntry("Name_0", i18n("You")));
+ tdeApp->config()->setGroup("Save");
+ player1Name->setText(tdeApp->config()->readEntry("Name_0", i18n("You")));
computerNames->clear();
for (int i = 1; i < MAX_PLAYERS; i++) {
- computerNames->insertItem(kapp->config()->readEntry(TQString("Name_%1").arg(i), i18n("Computer %1").arg(i)));
+ computerNames->insertItem(tdeApp->config()->readEntry(TQString("Name_%1").arg(i), i18n("Computer %1").arg(i)));
}
} else if (no == 0) {
player1Name->setText(playerName);