20 #ifndef KNEWSTUFF_DOWNLOADDIALOG_H
21 #define KNEWSTUFF_DOWNLOADDIALOG_H
23 #include <kdialogbase.h>
24 #include <tdenewstuff/provider.h>
91 void setType(TQString type);
108 void setProviderList(
const TQString& providerList);
118 void load(TQString providerList);
134 void addEntry(
Entry *entry);
144 void addEntry(
Entry *entry,
const TQStringList& variants);
180 static void open(
const TQString& type,
const TQString& caption);
191 static void open(TQString type) TDE_DEPRECATED;
198 TQPtrList<Entry> installedEntries();
207 void slotProviders(Provider::List *list);
214 void slotResult(TDEIO::Job *job);
215 void slotData(TDEIO::Job *job,
const TQByteArray &a);
216 void slotJobData( TDEIO::Job *,
const TQByteArray & );
217 void slotJobResult( TDEIO::Job * );
219 void slotInstallPhase2();
221 void slotInstalled(TDEIO::Job *job);
224 void slotPage(TQWidget *w);
226 void slotEmail(
const TQString& link);
232 void install(
Entry *e);
233 int installStatus(
Entry *e);
234 TQListViewItem *currentEntryItem();
237 TQString m_entryname;
238 TDEListView *lv_r, *lv_d, *lv_l;
241 TQListViewItem *m_entryitem;
242 TQPtrList<Entry> m_entries;
246 TQMap<TQWidget*, TQValueList<TDEListView*>* > m_map;
247 TQMap<TQWidget*, Provider*> m_providers;
248 TQMap<TQWidget*, TQTextBrowser*> m_rts;
249 TQMap<TQWidget*, TQValueList<TQPushButton*>* > m_buttons;
250 TQMap<TDEIO::Job*, Provider*> m_jobs;
251 TQMap<TDEIO::Job*, TQString> m_data;
Common download dialog for data browsing and installation.
Central class combining all possible TDENewStuff operations.
TDENewStuff data entry container.
TDENewStuff provider loader.
TDENewStuff provider container.
Basic TDENewStuff class with predefined actions.
Handles security releated issues, like signing, verifying.