summaryrefslogtreecommitdiffstats
path: root/knewstuff/knewstuff.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-21 17:37:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-21 17:37:36 -0500
commit47ac4096211c3f8634bc5e17027523dfe955bcaf (patch)
tree81124942ac2548fde3eb84c6f8f70bd6c66ceb0c /knewstuff/knewstuff.cpp
parent20e7ea1336a0c28c09b22623cb676d83a7fd168b (diff)
downloadtdelibs-47ac4096211c3f8634bc5e17027523dfe955bcaf.tar.gz
tdelibs-47ac4096211c3f8634bc5e17027523dfe955bcaf.zip
Rework the KHNS system to properly download data from the new OCS network
This relates to Bug 2093
Diffstat (limited to 'knewstuff/knewstuff.cpp')
-rw-r--r--knewstuff/knewstuff.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knewstuff/knewstuff.cpp b/knewstuff/knewstuff.cpp
index b652ba4a8..ad4f0fb98 100644
--- a/knewstuff/knewstuff.cpp
+++ b/knewstuff/knewstuff.cpp
@@ -39,48 +39,48 @@ TDEAction* KNS::standardAction(const TQString& what,
0, recvr, slot, parent, name);
}
-KNewStuff::KNewStuff( const TQString &type, TQWidget *parentWidget )
+TDENewStuff::TDENewStuff( const TQString &type, TQWidget *parentWidget )
{
mEngine = new Engine( this, type, parentWidget );
}
-KNewStuff::KNewStuff( const TQString &type, const TQString &providerList, TQWidget *parentWidget )
+TDENewStuff::TDENewStuff( const TQString &type, const TQString &providerList, TQWidget *parentWidget )
{
mEngine = new Engine( this, type, providerList, parentWidget );
}
-TQString KNewStuff::type() const
+TQString TDENewStuff::type() const
{
return mEngine->type();
}
-TQWidget *KNewStuff::parentWidget() const
+TQWidget *TDENewStuff::parentWidget() const
{
return mEngine->parentWidget();
}
-KNewStuff::~KNewStuff()
+TDENewStuff::~TDENewStuff()
{
delete mEngine;
}
-void KNewStuff::download()
+void TDENewStuff::download()
{
mEngine->download();
}
-TQString KNewStuff::downloadDestination( Entry * )
+TQString TDENewStuff::downloadDestination( Entry * )
{
return TDEGlobal::dirs()->saveLocation( "tmp" ) +
TDEApplication::randomString( 10 );
}
-void KNewStuff::upload()
+void TDENewStuff::upload()
{
mEngine->upload();
}
-void KNewStuff::upload( const TQString &fileName, const TQString previewName )
+void TDENewStuff::upload( const TQString &fileName, const TQString previewName )
{
mEngine->upload(fileName, previewName);
}