24 #ifndef RESOURCEMANAGER_H
25 #define RESOURCEMANAGER_H
32 #include "scribusapi.h"
33 #include "scribusstructs.h"
34 #include "ui_resourcemanagerbase.h"
57 void languageChange();
60 void setFontCategory();
61 void setHyphCategory();
62 void setSpellCategory();
63 void setTemplatesCategory();
65 void updateInstalledFonts();
66 void updateInstalledHyph();
67 void updateInstalledSpell();
68 void updateInstalledTemplates();
69 void updateAvailableFonts();
70 void updateAvailableHyph();
71 void updateAvailableSpell();
72 void updateAvailableTemplates();
74 QString currentCategory;
75 QMap <int, QString> resourceCategories;
76 QMap <int, QString> dataFiles;
78 QMap<QString, QString> dictionaryMap;
79 QStringList dictionaryPaths;
80 QList <DownloadItem> dictList;
81 QList <DownloadItem> fontList;
82 QList <DownloadItem> templateList;
83 QList <DownloadItem> profileList;
84 QList <DownloadItem> downloadList;
85 QString affixFileName(QStringList files);
86 QString dictFileName(QStringList files);
87 QString findDestinationFolder();
90 void categoryChanged();
91 void updateDownloadLists();
92 void downloadListFinished();
93 void downloadFilesFinished();
94 void downloadLicenseFinished();
95 void downloadLicenseFileFinished(
const QString &);
96 void downloadLicenseFileFailed(
const QString &);
97 void updateProgressBar();
103 #endif // RESOURCEMANAGER_H
Definition: resourcemanager.h:38