summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerstub/knewstickerstub.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /knewsticker/knewstickerstub/knewstickerstub.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/knewstickerstub/knewstickerstub.cpp')
-rw-r--r--knewsticker/knewstickerstub/knewstickerstub.cpp10
1 files changed, 5 insertions, 5 deletions
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);
}