diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-10-02 19:42:18 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-10-02 19:42:18 +0200 |
commit | 76c59a33842975a2b430454348ce98a05192b6af (patch) | |
tree | 5c64537a68bd7c0825c139169652a912f215b929 /quanta | |
parent | e85d9aa121d049f8d71d0b7495a856c56743fcb8 (diff) | |
download | tdewebdev-76c59a33842975a2b430454348ce98a05192b6af.tar.gz tdewebdev-76c59a33842975a2b430454348ce98a05192b6af.zip |
Update for recent TDENewStuff changes
Delete duplicate knewstuff files
Diffstat (limited to 'quanta')
-rw-r--r-- | quanta/data/tips | 2 | ||||
-rw-r--r-- | quanta/src/quanta.cpp | 18 | ||||
-rw-r--r-- | quanta/src/quanta_init.cpp | 6 | ||||
-rw-r--r-- | quanta/utility/newstuff.cpp | 4 | ||||
-rw-r--r-- | quanta/utility/newstuff.h | 18 |
5 files changed, 24 insertions, 24 deletions
diff --git a/quanta/data/tips b/quanta/data/tips index 3db0c892..8293d232 100644 --- a/quanta/data/tips +++ b/quanta/data/tips @@ -355,7 +355,7 @@ Just go to <b>Settings > Configure Shortcuts</b>. <tip category="Application"> <html> -<p>...that Quanta now has a <b>public repository</b> for all resources? Quanta uses <i>KNewStuff</i> to make templates, scripts, DTEPs, toolbars and more available for download. Need something? Check the download menu items. +<p>...that Quanta now has a <b>public repository</b> for all resources? Quanta uses <i>TDENewStuff</i> to make templates, scripts, DTEPs, toolbars and more available for download. Need something? Check the download menu items. </p> </html> </tip> diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp index ff9d6705..b41b1b63 100644 --- a/quanta/src/quanta.cpp +++ b/quanta/src/quanta.cpp @@ -2767,7 +2767,7 @@ void QuantaApp::slotSendToolbar() void QuantaApp::slotDownloadToolbar() { if (!m_newToolbarStuff) - m_newToolbarStuff = new QNewToolbarStuff("quanta/toolbar", this); + m_newToolbarStuff = new QNewToolbarStuff("quanta toolbar", this); m_newToolbarStuff->downloadResource(); } @@ -2777,7 +2777,7 @@ void QuantaApp::slotUploadToolbar() if (tempFileName.isNull()) return; if (!m_newToolbarStuff) - m_newToolbarStuff = new QNewToolbarStuff("quanta/toolbar", this); + m_newToolbarStuff = new QNewToolbarStuff("quanta toolbar", this); // tempDirList.append(m_newToolbarStuff->uploadResource(tempFileName)); m_newToolbarStuff->uploadResource(tempFileName); } @@ -3624,7 +3624,7 @@ void QuantaApp::slotEmailDTEP() void QuantaApp::slotDownloadDTEP() { if (!m_newDTEPStuff) - m_newDTEPStuff = new QNewDTEPStuff("quanta/dtep", this); + m_newDTEPStuff = new QNewDTEPStuff("quanta dtep", this); m_newDTEPStuff->downloadResource(); } @@ -3634,7 +3634,7 @@ void QuantaApp::slotUploadDTEP() if (tempFileName.isNull()) return; if (!m_newDTEPStuff) - m_newDTEPStuff = new QNewDTEPStuff("quanta/dtep", this); + m_newDTEPStuff = new QNewDTEPStuff("quanta dtep", this); // tempDirList.append(m_newDTEPStuff->uploadResource(tempFileName)); m_newDTEPStuff->uploadResource(tempFileName); } @@ -3658,14 +3658,14 @@ void QuantaApp::slotSmartTagInsertion() void QuantaApp::slotDownloadTemplate() { if (!m_newTemplateStuff) - m_newTemplateStuff = new QNewTemplateStuff("quanta/template", this); + m_newTemplateStuff = new QNewTemplateStuff("quanta template", this); m_newTemplateStuff->downloadResource(); } void QuantaApp::slotUploadTemplate(const TQString &fileName) { if (!m_newTemplateStuff) - m_newTemplateStuff = new QNewTemplateStuff("quanta/template", this); + m_newTemplateStuff = new QNewTemplateStuff("quanta template", this); // tempDirList.append(m_newTemplateStuff->uploadResource(fileName)); m_newTemplateStuff->uploadResource(fileName); } @@ -3673,14 +3673,14 @@ void QuantaApp::slotUploadTemplate(const TQString &fileName) void QuantaApp::slotDownloadScript() { if (!m_newScriptStuff) - m_newScriptStuff = new QNewScriptStuff("quanta/script", this); + m_newScriptStuff = new QNewScriptStuff("quanta script", this); m_newScriptStuff->downloadResource(); } void QuantaApp::slotUploadScript(const TQString &fileName) { if (!m_newScriptStuff) - m_newScriptStuff = new QNewScriptStuff("quanta/script", this); + m_newScriptStuff = new QNewScriptStuff("quanta script", this); // tempDirList.append(m_newScriptStuff->uploadResource(fileName)); m_newScriptStuff->uploadResource(fileName); } @@ -3689,7 +3689,7 @@ void QuantaApp::slotDownloadDoc() { if (!m_newDocStuff) { - m_newDocStuff = new QNewDocStuff("quanta/documentation", this); + m_newDocStuff = new QNewDocStuff("quanta documentation", this); connect(m_newDocStuff, TQT_SIGNAL(installFinished()), dTab, TQT_SLOT(slotRefreshTree())); } m_newDocStuff->downloadResource(); diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index c0bcf32e..303bb870 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -617,12 +617,12 @@ void QuantaInit::readOptions() m_quanta->showVPLAction->setChecked( false ); -//KNewStuff config - m_config->setGroup("KNewStuff"); +//TDENewStuff config + m_config->setGroup("TDENewStuff"); TQString str = m_config->readEntry("ProvidersUrl"); if (str.isEmpty()) { - m_config->writeEntry( "ProvidersUrl", "http://quanta.kdewebdev.org/newstuff/providers.xml" ); + m_config->writeEntry( "ProvidersUrl", "https://www.trinitydesktop.org/ocs/providers.xml" ); m_config->sync(); } diff --git a/quanta/utility/newstuff.cpp b/quanta/utility/newstuff.cpp index f818571d..a00e9c75 100644 --- a/quanta/utility/newstuff.cpp +++ b/quanta/utility/newstuff.cpp @@ -54,7 +54,7 @@ void QNewDTEPStuff::installResource() } QNewToolbarStuff::QNewToolbarStuff(const TQString &type, TQWidget *parentWidget) - :KNewStuffSecure(type, parentWidget) + :TDENewStuffSecure(type, parentWidget) { connect(this, TQT_SIGNAL(loadToolbarFile(const KURL&)), parentWidget, TQT_SLOT(slotLoadToolbarFile(const KURL&))); } @@ -81,7 +81,7 @@ void QNewToolbarStuff::installResource() } QNewTemplateStuff::QNewTemplateStuff(const TQString &type, TQWidget *parentWidget) - :KNewStuffSecure(type, parentWidget) + :TDENewStuffSecure(type, parentWidget) { connect(this, TQT_SIGNAL(openFile(const KURL&)), parentWidget, TQT_SLOT(slotFileOpen(const KURL&))); } diff --git a/quanta/utility/newstuff.h b/quanta/utility/newstuff.h index 1975f998..c35be15b 100644 --- a/quanta/utility/newstuff.h +++ b/quanta/utility/newstuff.h @@ -20,7 +20,7 @@ #include <tqobject.h> //kde includes -#include <knewstuff/knewstuffsecure.h> +#include <tdenewstuff/knewstuffsecure.h> /** Makes possible downloading and installing a DTEP resource files from a server. @@ -29,14 +29,14 @@ Makes possible downloading and installing a DTEP resource files from a server. class KURL; -class QNewDTEPStuff: public KNewStuffSecure +class QNewDTEPStuff: public TDENewStuffSecure { Q_OBJECT public: QNewDTEPStuff(const TQString &type, TQWidget *parentWidget=0) - :KNewStuffSecure(type, parentWidget){}; + :TDENewStuffSecure(type, parentWidget){}; ~QNewDTEPStuff() {}; private: @@ -48,7 +48,7 @@ Makes possible downloading and installing a Toolbar resource files from a server @author Andras Mantia */ -class QNewToolbarStuff: public KNewStuffSecure +class QNewToolbarStuff: public TDENewStuffSecure { Q_OBJECT @@ -69,7 +69,7 @@ Makes possible downloading and installing a template resource files from a serve @author Andras Mantia */ -class QNewTemplateStuff: public KNewStuffSecure +class QNewTemplateStuff: public TDENewStuffSecure { Q_OBJECT @@ -90,14 +90,14 @@ Makes possible downloading and installing a script resource files from a server. @author Andras Mantia */ -class QNewScriptStuff: public KNewStuffSecure +class QNewScriptStuff: public TDENewStuffSecure { Q_OBJECT public: QNewScriptStuff(const TQString &type, TQWidget *parentWidget=0) - :KNewStuffSecure(type, parentWidget){}; + :TDENewStuffSecure(type, parentWidget){}; ~QNewScriptStuff() {}; private: @@ -109,14 +109,14 @@ Makes possible downloading and installing a documentation resource files from a @author Andras Mantia */ -class QNewDocStuff: public KNewStuffSecure +class QNewDocStuff: public TDENewStuffSecure { Q_OBJECT public: QNewDocStuff(const TQString &type, TQWidget *parentWidget=0) - :KNewStuffSecure(type, parentWidget){}; + :TDENewStuffSecure(type, parentWidget){}; ~QNewDocStuff() {}; private: |