summaryrefslogtreecommitdiffstats
path: root/src/newstuff/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newstuff/dialog.cpp')
-rw-r--r--src/newstuff/dialog.cpp22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/newstuff/dialog.cpp b/src/newstuff/dialog.cpp
index d8e30dd..786eb98 100644
--- a/src/newstuff/dialog.cpp
+++ b/src/newstuff/dialog.cpp
@@ -26,8 +26,8 @@
#include <tdeio/job.h>
#include <tdeio/netaccess.h>
#include <tdeaccelmanager.h>
-#include <knewstuff/entry.h>
-#include <knewstuff/provider.h>
+#include <tdenewstuff/entry.h>
+#include <tdenewstuff/provider.h>
#include <tdetempfile.h>
#include <tqlabel.h>
@@ -228,21 +228,15 @@ Dialog::Dialog(NewStuff::DataType type_, TQWidget* parent_)
connect(loader, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)), TQT_SLOT(slotShowPercent(TDEIO::Job*, unsigned long)));
connect(loader, TQT_SIGNAL(error()), TQT_SLOT(slotProviderError()));
- TDEConfigGroup config(TDEGlobal::config(), "KNewStuff");
+ TDEConfigGroup config(TDEGlobal::config(), "TDENewStuff");
TQString prov = config.readEntry("ProvidersUrl");
if(prov.isEmpty()) {
- if(m_type == EntryTemplate) {
- prov = TQString::fromLatin1("http://periapsis.org/tellico/newstuff/tellicotemplates-providers.php");
- TQString alt = TQString::fromLatin1("http://download.kde.org/khotnewstuff/tellicotemplates-providers.xml");
- loader->setAlternativeProvider(alt);
- } else {
- prov = TQString::fromLatin1("http://periapsis.org/tellico/newstuff/tellicoscripts-providers.php");
- }
+ prov = TQString::fromLatin1("https://www.trinitydesktop.org/ocs/providers.xml");
}
if(m_type == EntryTemplate) {
- m_typeName = TQString::fromLatin1("tellico/entry-template");
+ m_typeName = TQString::fromLatin1("tellico template");
} else {
- m_typeName = TQString::fromLatin1("tellico/data-source");
+ m_typeName = TQString::fromLatin1("tellico script");
}
loader->load(m_typeName, prov);
@@ -301,9 +295,9 @@ void Dialog::slotResult(TDEIO::Job* job_) {
return;
}
- TQDomElement knewstuff = dom.documentElement();
+ TQDomElement tdenewstuff = dom.documentElement();
- for(TQDomNode pn = knewstuff.firstChild(); !pn.isNull(); pn = pn.nextSibling()) {
+ for(TQDomNode pn = tdenewstuff.firstChild(); !pn.isNull(); pn = pn.nextSibling()) {
TQDomElement stuff = pn.toElement();
if(stuff.isNull()) {
continue;