Changeset View
Changeset View
Standalone View
Standalone View
part/part.cpp
Show All 34 Lines | |||||
35 | #include "jobtracker.h" | 35 | #include "jobtracker.h" | ||
36 | #include "generalsettingspage.h" | 36 | #include "generalsettingspage.h" | ||
37 | #include "extractiondialog.h" | 37 | #include "extractiondialog.h" | ||
38 | #include "extractionsettingspage.h" | 38 | #include "extractionsettingspage.h" | ||
39 | #include "jobs.h" | 39 | #include "jobs.h" | ||
40 | #include "settings.h" | 40 | #include "settings.h" | ||
41 | #include "previewsettingspage.h" | 41 | #include "previewsettingspage.h" | ||
42 | #include "propertiesdialog.h" | 42 | #include "propertiesdialog.h" | ||
43 | #include "pluginsettingspage.h" | ||||
43 | #include "pluginmanager.h" | 44 | #include "pluginmanager.h" | ||
44 | 45 | | |||
45 | #include <KAboutData> | 46 | #include <KAboutData> | ||
46 | #include <KActionCollection> | 47 | #include <KActionCollection> | ||
47 | #include <KConfigGroup> | 48 | #include <KConfigGroup> | ||
48 | #include <KGuiItem> | 49 | #include <KGuiItem> | ||
49 | #include <KIO/Job> | 50 | #include <KIO/Job> | ||
50 | #include <KJobWidgets> | 51 | #include <KJobWidgets> | ||
▲ Show 20 Lines • Show All 182 Lines • ▼ Show 20 Line(s) | 792 | { | |||
792 | return ArkSettings::self(); | 793 | return ArkSettings::self(); | ||
793 | } | 794 | } | ||
794 | 795 | | |||
795 | QList<Kerfuffle::SettingsPage*> Part::settingsPages(QWidget *parent) const | 796 | QList<Kerfuffle::SettingsPage*> Part::settingsPages(QWidget *parent) const | ||
796 | { | 797 | { | ||
797 | QList<SettingsPage*> pages; | 798 | QList<SettingsPage*> pages; | ||
798 | pages.append(new GeneralSettingsPage(parent, i18nc("@title:tab", "General Settings"), QStringLiteral("go-home"))); | 799 | pages.append(new GeneralSettingsPage(parent, i18nc("@title:tab", "General Settings"), QStringLiteral("go-home"))); | ||
799 | pages.append(new ExtractionSettingsPage(parent, i18nc("@title:tab", "Extraction Settings"), QStringLiteral("archive-extract"))); | 800 | pages.append(new ExtractionSettingsPage(parent, i18nc("@title:tab", "Extraction Settings"), QStringLiteral("archive-extract"))); | ||
801 | pages.append(new PluginSettingsPage(parent, i18nc("@title:tab", "Plugin Settings"), QStringLiteral("plugins"))); | ||||
800 | pages.append(new PreviewSettingsPage(parent, i18nc("@title:tab", "Preview Settings"), QStringLiteral("document-preview-archive"))); | 802 | pages.append(new PreviewSettingsPage(parent, i18nc("@title:tab", "Preview Settings"), QStringLiteral("document-preview-archive"))); | ||
801 | 803 | | |||
802 | return pages; | 804 | return pages; | ||
803 | } | 805 | } | ||
804 | 806 | | |||
805 | bool Part::isLocalFileValid() | 807 | bool Part::isLocalFileValid() | ||
806 | { | 808 | { | ||
807 | const QString localFile = localFilePath(); | 809 | const QString localFile = localFilePath(); | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |