diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-21 17:37:36 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-21 17:37:36 -0500 |
| commit | 47ac4096211c3f8634bc5e17027523dfe955bcaf (patch) | |
| tree | 81124942ac2548fde3eb84c6f8f70bd6c66ceb0c /knewstuff/knewstuffgeneric.cpp | |
| parent | 20e7ea1336a0c28c09b22623cb676d83a7fd168b (diff) | |
| download | tdelibs-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/knewstuffgeneric.cpp')
| -rw-r--r-- | knewstuff/knewstuffgeneric.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/knewstuff/knewstuffgeneric.cpp b/knewstuff/knewstuffgeneric.cpp index ef6a37456..16fda977c 100644 --- a/knewstuff/knewstuffgeneric.cpp +++ b/knewstuff/knewstuffgeneric.cpp @@ -37,22 +37,22 @@ using namespace std; -KNewStuffGeneric::KNewStuffGeneric( const TQString &type, TQWidget *parent ) - : KNewStuff( type, parent ) +TDENewStuffGeneric::TDENewStuffGeneric( const TQString &type, TQWidget *parent ) + : TDENewStuff( type, parent ) { mConfig = TDEGlobal::config(); } -KNewStuffGeneric::~KNewStuffGeneric() +TDENewStuffGeneric::~TDENewStuffGeneric() { } -bool KNewStuffGeneric::install( const TQString &fileName ) +bool TDENewStuffGeneric::install( const TQString &fileName ) { - kdDebug() << "KNewStuffGeneric::install(): " << fileName << endl; + kdDebug() << "TDENewStuffGeneric::install(): " << fileName << endl; TQStringList list, list2; - mConfig->setGroup("KNewStuff"); + mConfig->setGroup("TDENewStuff"); TQString uncompress = mConfig->readEntry( "Uncompress" ); if ( !uncompress.isEmpty() ) { @@ -80,16 +80,16 @@ bool KNewStuffGeneric::install( const TQString &fileName ) return true; } -bool KNewStuffGeneric::createUploadFile( const TQString & /*fileName*/ ) +bool TDENewStuffGeneric::createUploadFile( const TQString & /*fileName*/ ) { return false; } -TQString KNewStuffGeneric::destinationPath( KNS::Entry *entry ) +TQString TDENewStuffGeneric::destinationPath( KNS::Entry *entry ) { TQString path, file, target, ext; - mConfig->setGroup("KNewStuff"); + mConfig->setGroup("TDENewStuff"); if ( entry ) { @@ -117,7 +117,7 @@ TQString KNewStuffGeneric::destinationPath( KNS::Entry *entry ) if ( res.isEmpty() && path.isEmpty() ) { if ( !entry ) return TQString::null; - else return KNewStuff::downloadDestination( entry ); + else return TDENewStuff::downloadDestination( entry ); } if ( !path.isEmpty() ) @@ -130,7 +130,7 @@ TQString KNewStuffGeneric::destinationPath( KNS::Entry *entry ) return file; } -TQString KNewStuffGeneric::downloadDestination( KNS::Entry *entry ) +TQString TDENewStuffGeneric::downloadDestination( KNS::Entry *entry ) { TQString file = destinationPath(entry); |
