summaryrefslogtreecommitdiffstats
path: root/quanta/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-10-02 19:42:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-02 19:42:18 +0200
commit76c59a33842975a2b430454348ce98a05192b6af (patch)
tree5c64537a68bd7c0825c139169652a912f215b929 /quanta/src
parente85d9aa121d049f8d71d0b7495a856c56743fcb8 (diff)
downloadtdewebdev-76c59a33842975a2b430454348ce98a05192b6af.tar.gz
tdewebdev-76c59a33842975a2b430454348ce98a05192b6af.zip
Update for recent TDENewStuff changes
Delete duplicate knewstuff files
Diffstat (limited to 'quanta/src')
-rw-r--r--quanta/src/quanta.cpp18
-rw-r--r--quanta/src/quanta_init.cpp6
2 files changed, 12 insertions, 12 deletions
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();
}