16 #ifndef KNEWSTUFFSECURE_H
17 #define KNEWSTUFFSECURE_H
23 #include "knewstuff.h"
58 bool install(
const TQString &fileName );
65 void downloadResource();
70 void uploadResource(
const TQString &fileName);
75 void slotValidated(
int result);
77 void slotFileSigned(
int result);
84 void slotUploadFinished(
bool result);
87 void installFinished();
93 void removeTempDirectory();
97 TQString m_signedFileName;
98 TQMap<TQString, TQString> m_installedResources;
Makes possible downloading and installing signed resource files from a server.
virtual void installResource()=0
Installs the resource specified by m_tarName.
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.
virtual bool install(const TQString &fileName)=0
Install file to application.