summaryrefslogtreecommitdiffstats
path: root/arts/message
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /arts/message
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/message')
-rw-r--r--arts/message/artsmessage.cc10
1 files changed, 5 insertions, 5 deletions
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 <qregexp.h>
+#include <tqregexp.h>
#include <klocale.h>
#include <kglobal.h>
@@ -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);