From 47ac4096211c3f8634bc5e17027523dfe955bcaf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 21 Sep 2014 17:37:36 -0500 Subject: Rework the KHNS system to properly download data from the new OCS network This relates to Bug 2093 --- knewstuff/engine.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'knewstuff/engine.cpp') diff --git a/knewstuff/engine.cpp b/knewstuff/engine.cpp index 2b33e85f5..f8e7163a9 100644 --- a/knewstuff/engine.cpp +++ b/knewstuff/engine.cpp @@ -1,6 +1,7 @@ /* This file is part of KOrganizer. Copyright (c) 2002 Cornelius Schumacher + Copyright (c) 2014 Timothy Pearson This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -42,10 +43,10 @@ using namespace KNS; struct Engine::Private { bool mIgnoreInstallResult; - KNewStuff *mNewStuff; + TDENewStuff *mNewStuff; }; -Engine::Engine( KNewStuff *newStuff, const TQString &type, +Engine::Engine( TDENewStuff *newStuff, const TQString &type, TQWidget *parentWidget ) : mParentWidget( parentWidget ), mDownloadDialog( 0 ), mUploadDialog( 0 ), mProviderDialog( 0 ), mUploadProvider( 0 ), @@ -56,7 +57,7 @@ Engine::Engine( KNewStuff *newStuff, const TQString &type, mProviderLoader = new ProviderLoader( mParentWidget ); } -Engine::Engine( KNewStuff *newStuff, const TQString &type, +Engine::Engine( TDENewStuff *newStuff, const TQString &type, const TQString &providerList, TQWidget *parentWidget ) : mParentWidget( parentWidget ), mDownloadDialog( 0 ), mUploadDialog( 0 ), -- cgit v1.2.1