From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- arts/message/artsmessage.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arts/message/artsmessage.cc') diff --git a/arts/message/artsmessage.cc b/arts/message/artsmessage.cc index 7a127d4a4..f77ecd581 100644 --- a/arts/message/artsmessage.cc +++ b/arts/message/artsmessage.cc @@ -29,7 +29,7 @@ Gnome, etc. and used instead. */ -#include +#include #include #include @@ -63,7 +63,7 @@ int main(int argc, char **argv) { KApplication app; KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); - QString msg; + TQString msg; // must be at least one argument if (args->count() == 0) { @@ -75,15 +75,15 @@ int main(int argc, char **argv) { if (i == 0) msg = args->arg(i); else - msg += QString(" ") + args->arg(i); + msg += TQString(" ") + args->arg(i); } const int notifyOptions = 0; // never activate KNotify if (args->isSet("w")) { KMessageBox::sorry(0, msg, i18n("Warning"), notifyOptions); } else if (args->isSet("i")) { - QString id = msg; - id.replace(QRegExp("[\\[\\]\\s=]"), "_"); + TQString id = msg; + id.replace(TQRegExp("[\\[\\]\\s=]"), "_"); KMessageBox::information(0, msg, i18n("Informational"), id, notifyOptions); } else { KMessageBox::error(0, msg, i18n("Error"), notifyOptions); -- cgit v1.2.1