summaryrefslogtreecommitdiffstats
path: root/kpat/pwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /kpat/pwidget.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'kpat/pwidget.cpp')
-rw-r--r--kpat/pwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/pwidget.cpp b/kpat/pwidget.cpp
index 4901d75f..428981bf 100644
--- a/kpat/pwidget.cpp
+++ b/kpat/pwidget.cpp
@@ -75,7 +75,7 @@ pWidget::pWidget()
actionCollection(), "save");
(void)new KAction(i18n("&Choose Game..."), 0, TQT_TQOBJECT(this), TQT_SLOT(chooseGame()),
actionCollection(), "choose_game");
- (void)new KAction(i18n("Restart &Game"), TQString::fromLatin1("reload"), 0,
+ (void)new KAction(i18n("Restart &Game"), TQString::tqfromLatin1("reload"), 0,
TQT_TQOBJECT(this), TQT_SLOT(restart()),
actionCollection(), "restart_game");
(void)KStdAction::help(TQT_TQOBJECT(this), TQT_SLOT(helpGame()), actionCollection(), "help_game");
@@ -239,7 +239,7 @@ void pWidget::changeWallpaper()
return;
background = TQPixmap(bgpath);
if (background.isNull()) {
- KMessageBox::sorry(this, i18n("<qt>Couldn't load wallpaper<br/>%1</qt>").arg(bgpath));
+ KMessageBox::sorry(this, i18n("<qt>Couldn't load wallpaper<br/>%1</qt>").tqarg(bgpath));
return;
}
@@ -468,11 +468,11 @@ void pWidget::gameLost()
// The following code is taken out of kmessagebox.cpp in tdeui.
// Is there a better way?
KConfig *config = 0;
- TQString grpNotifMsgs = TQString::fromLatin1("Notification Messages");
+ TQString grpNotifMsgs = TQString::tqfromLatin1("Notification Messages");
config = KGlobal::config();
KConfigGroupSaver saver(config,
- TQString::fromLatin1("Notification Messages"));
+ TQString::tqfromLatin1("Notification Messages"));
TQString dontAsk = config->readEntry(dontAskAgainName).lower();
// If we are ordered never to ask again and to continue the game,