From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knewsticker/knewstickerstub/knewstickerstub.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'knewsticker/knewstickerstub') diff --git a/knewsticker/knewstickerstub/knewstickerstub.cpp b/knewsticker/knewstickerstub/knewstickerstub.cpp index 7f5960a4..ac4ddeeb 100644 --- a/knewsticker/knewstickerstub/knewstickerstub.cpp +++ b/knewsticker/knewstickerstub/knewstickerstub.cpp @@ -49,14 +49,14 @@ int main(int argc, char **argv) DCOPClient *dcopClient = app.dcopClient(); dcopClient->attach(); - KConfig cfg(QString::fromLatin1("knewsticker_panelappletrc"), false, false); + KConfig cfg(TQString::fromLatin1("knewsticker_panelappletrc"), false, false); ConfigAccess configFrontend(&cfg); if (args->isSet("addrdf")) { - QStringList newsSources = configFrontend.newsSources(); + TQStringList newsSources = configFrontend.newsSources(); // TODO: Use the "Suggest" functionality from addnewssourcedlgimpl.cpp here. - QString name = i18n("Unknown"); + TQString name = i18n("Unknown"); if (newsSources.contains(name)) for (unsigned int i = 0; ; i++) if (!newsSources.contains(i18n("Unknown %1").arg(i))) { @@ -66,11 +66,11 @@ int main(int argc, char **argv) newsSources += name; - QString sourceFile = QString(args->getOption("addrdf")); + TQString sourceFile = TQString(args->getOption("addrdf")); configFrontend.setNewsSource(NewsSourceBase::Data(name, sourceFile)); configFrontend.setNewsSources(newsSources); - QByteArray data; + TQByteArray data; dcopClient->send("knewsticker", "KNewsTicker", "reparseConfig()", data); } -- cgit v1.2.1