diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-08 15:41:08 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-08 15:41:08 -0500 |
commit | 1c137dacd1195df2bba9c110e7b7b325b56dee56 (patch) | |
tree | b4bbf858a16afad9312eef9dac59a3dcc4d5f627 /src/newstuff/dialog.h | |
parent | e4b4d01f652d8ae191a7ce029f8bb37f67f77fdb (diff) | |
download | tellico-1c137dacd1195df2bba9c110e7b7b325b56dee56.tar.gz tellico-1c137dacd1195df2bba9c110e7b7b325b56dee56.zip |
Fix TDEHotNewStuff interface with OCS providers
This relates to Bug 2127
Diffstat (limited to 'src/newstuff/dialog.h')
-rw-r--r-- | src/newstuff/dialog.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/newstuff/dialog.h b/src/newstuff/dialog.h index 082fbd8..468b6c4 100644 --- a/src/newstuff/dialog.h +++ b/src/newstuff/dialog.h @@ -1,6 +1,8 @@ /*************************************************************************** copyright : (C) 2006 by Robby Stephenson email : robby@periapsis.org + + Copyright (c) 2014 Timothy Pearson <kb9vqf@pearsoncomputing.net> ***************************************************************************/ /*************************************************************************** @@ -17,16 +19,13 @@ #include "manager.h" #include <kdialogbase.h> +#include <tdenewstuff/provider.h> class KPushButton; class KStatusBar; namespace TDEIO { class Job; } -namespace KNS { - class Entry; - class Provider; -} class TQProgressBar; class TQSplitter; @@ -39,7 +38,9 @@ namespace Tellico { class CursorSaver; } - namespace NewStuff { +using namespace KNS; + +namespace NewStuff { class Dialog : public KDialogBase { Q_OBJECT @@ -52,15 +53,18 @@ public: TQPtrList<DataSourceInfo> dataSourceInfo() const { return m_manager->dataSourceInfo(); } private slots: - void slotProviders(TQPtrList<KNS::Provider>* list); + void slotProviders(Provider::List* list); void slotData(TDEIO::Job* job, const TQByteArray& data); void slotResult(TDEIO::Job* job); + void slotJobData( TDEIO::Job *, const TQByteArray & ); + void slotJobResult( TDEIO::Job * ); void slotPreviewResult(TDEIO::Job* job); void slotShowPercent(TDEIO::Job* job, unsigned long percent); void slotSelected(TQListViewItem* item); void slotInstall(); + void slotInstallPhase2(); void slotDoneInstall(KNS::Entry* entry); void slotProviderError(); @@ -95,6 +99,9 @@ private: TQMap<TQListViewItem*, KNS::Entry*> m_entryMap; TQListViewItem* m_lastPreviewItem; + + KNS::Entry* mJobEntry; + TQString mJobData; }; } |