kleopatra
resultpage.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef __KLEOPATRA_CRYPTO_GUI_RESULTPAGE_H__
00034 #define __KLEOPATRA_CRYPTO_GUI_RESULTPAGE_H__
00035
00036 #include <crypto/gui/wizardpage.h>
00037 #include <crypto/task.h>
00038
00039 #include <utils/pimpl_ptr.h>
00040
00041 #include <QAbstractItemDelegate>
00042 #include <QAbstractItemModel>
00043
00044 #include <boost/shared_ptr.hpp>
00045
00046 namespace Kleo {
00047 namespace Crypto {
00048
00049 class TaskCollection;
00050
00051 namespace Gui {
00052
00053 class ResultPage : public WizardPage {
00054 Q_OBJECT
00055
00056 public:
00057 explicit ResultPage( QWidget* parent = 0, Qt::WindowFlags flags = 0 );
00058 ~ResultPage();
00059
00060 void setTaskCollection( const boost::shared_ptr<TaskCollection> & coll );
00061
00062 bool isComplete() const;
00063
00064 bool keepOpenWhenDone() const;
00065 void setKeepOpenWhenDone( bool keep );
00066
00067 Q_SIGNALS:
00068 void linkActivated( const QString & link );
00069
00070 private:
00071 class Private;
00072 kdtools::pimpl_ptr<Private> d;
00073 Q_PRIVATE_SLOT( d, void progress( QString, int, int ) )
00074 Q_PRIVATE_SLOT( d, void result( boost::shared_ptr<const Kleo::Crypto::Task::Result> ) )
00075 Q_PRIVATE_SLOT( d, void started( boost::shared_ptr<Kleo::Crypto::Task> ) )
00076 Q_PRIVATE_SLOT( d, void keepOpenWhenDone( bool ) )
00077 Q_PRIVATE_SLOT( d, void allDone() )
00078 };
00079
00080 }
00081 }
00082 }
00083
00084 #endif // __KLEOPATRA_CRYPTO_GUI_RESULTPAGE_H__