From 84ace1135cac57993b72fee7105b92def1638d32 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:53 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065. --- kpat/pwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpat/pwidget.cpp') 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("Couldn't load wallpaper
%1
").arg(bgpath)); + KMessageBox::sorry(this, i18n("Couldn't load wallpaper
%1
").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, -- cgit v1.2.1