• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • knewstuff
 

knewstuff

knewstuffsecure.h
00001 /***************************************************************************
00002                         knewstuffsecure.h  -  description
00003                              -------------------
00004     begin               : Tue Jun 22 12:19:55 2004
00005     copyright          : (C) 2004, 2005 by Andras Mantia <amantia@kde.org>
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU Library General Public License as       *
00012  *   published by the Free Software Foundation; version 2 of the License.  *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #ifndef KNEWSTUFFSECURE_H
00017 #define KNEWSTUFFSECURE_H
00018 
00019 //qt includes
00020 #include <tqobject.h>
00021 
00022 //kde includes
00023 #include "knewstuff.h"
00024 
00025 class KTempDir;
00040 class KDE_EXPORT KNewStuffSecure : public  TQObject, public KNewStuff
00041 {
00042   Q_OBJECT
00043 
00044 public:
00052     KNewStuffSecure(const TQString &type,  TQWidget *parentWidget=0);
00053     virtual ~KNewStuffSecure();
00054 
00058     bool install( const TQString &fileName );
00059     
00061     bool createUploadFile(const TQString &fileName);
00062     
00065     void downloadResource();
00066     
00070     void uploadResource(const TQString &fileName);
00071     
00072 
00073 private slots:
00075     void slotValidated(int result);
00077     void slotFileSigned(int result);
00084     void slotUploadFinished(bool result);  
00085 
00086 signals:
00087     void installFinished();
00088     
00089 protected:
00091     virtual void installResource() = 0;
00093     void removeTempDirectory();    
00094     
00095     KTempDir *m_tempDir;
00096     TQString m_tarName; 
00097     TQString m_signedFileName;
00098     TQMap<TQString, TQString> m_installedResources;
00099 };
00100 
00101 #endif

knewstuff

Skip menu "knewstuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

knewstuff

Skip menu "knewstuff"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for knewstuff by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |