25 #include <tdemacros.h>
30 class TDEActionCollection;
36 TDE_EXPORT TDEAction* standardAction(
const TQString& what,
37 const TQObject *recvr,
39 TDEActionCollection* parent,
40 const char *name = 0);
80 TDENewStuff(
const TQString &type, TQWidget *parentWidget = 0 );
91 TDENewStuff(
const TQString &type,
const TQString &providerList, TQWidget *parentWidget = 0 );
97 TQString type()
const;
102 TQWidget *parentWidget()
const;
117 void upload(
const TQString &fileName,
const TQString previewName );
130 virtual bool install(
const TQString &fileName ) = 0;
147 virtual TQString downloadDestination(
KNS::Entry *entry );
Central class combining all possible TDENewStuff operations.
TDENewStuff data entry container.
This class provides the functionality to download and upload "new stuff".
virtual bool createUploadFile(const TQString &fileName)=0
Create a file to be uploaded to a "new stuff provider" and return the filename.
KNS::Engine * engine()
Get the pointer to the engine.
virtual bool install(const TQString &fileName)=0
Install file to application.
Handles security releated issues, like signing, verifying.