summaryrefslogtreecommitdiffstats
path: root/kalarm/functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/functions.cpp')
-rw-r--r--kalarm/functions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp
index a4cf2b04a..9fb76f21f 100644
--- a/kalarm/functions.cpp
+++ b/kalarm/functions.cpp
@@ -633,7 +633,7 @@ void outputAlarmWarnings(TQWidget* parent, const KAEvent* event)
if (event && event->action() == KAEvent::EMAIL
&& Preferences::emailAddress().isEmpty())
KMessageBox::information(parent, i18n("Please set the 'From' email address...",
- "%1\nPlease set it in the Preferences dialog.").tqarg(KAMail::i18n_NeedFromEmailAddress()));
+ "%1\nPlease set it in the Preferences dialog.").arg(KAMail::i18n_NeedFromEmailAddress()));
if (!Daemon::monitoringAlarms())
{
@@ -705,7 +705,7 @@ TQString runKMail(bool minimise)
TQCString dcopName;
TQString errmsg;
if (!runProgram("kmail", (minimise ? KMAIL_DCOP_WINDOW : ""), dcopName, errmsg))
- return i18n("Unable to start KMail\n(%1)").tqarg(errmsg);
+ return i18n("Unable to start KMail\n(%1)").arg(errmsg);
return TQString();
}
@@ -748,8 +748,8 @@ bool readConfigWindowSize(const char* window, TQSize& result)
KConfig* config = KGlobal::config();
config->setGroup(TQString::fromLatin1(window));
TQWidget* desktop = TQT_TQWIDGET(KApplication::desktop());
- TQSize s = TQSize(config->readNumEntry(TQString::fromLatin1("Width %1").tqarg(desktop->width()), 0),
- config->readNumEntry(TQString::fromLatin1("Height %1").tqarg(desktop->height()), 0));
+ TQSize s = TQSize(config->readNumEntry(TQString::fromLatin1("Width %1").arg(desktop->width()), 0),
+ config->readNumEntry(TQString::fromLatin1("Height %1").arg(desktop->height()), 0));
if (s.isEmpty())
return false;
result = s;
@@ -765,8 +765,8 @@ void writeConfigWindowSize(const char* window, const TQSize& size)
KConfig* config = KGlobal::config();
config->setGroup(TQString::fromLatin1(window));
TQWidget* desktop = TQT_TQWIDGET(KApplication::desktop());
- config->writeEntry(TQString::fromLatin1("Width %1").tqarg(desktop->width()), size.width());
- config->writeEntry(TQString::fromLatin1("Height %1").tqarg(desktop->height()), size.height());
+ config->writeEntry(TQString::fromLatin1("Width %1").arg(desktop->width()), size.width());
+ config->writeEntry(TQString::fromLatin1("Height %1").arg(desktop->height()), size.height());
config->sync();
}