Changeset View
Changeset View
Standalone View
Standalone View
src/kpackage/packagestructure.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | * package->addDirectoryDefinition("theme", QStringLiteral("theme"), i18n("Themed Images")); | 48 | * package->addDirectoryDefinition("theme", QStringLiteral("theme"), i18n("Themed Images")); | ||
49 | * QStringList mimetypes; | 49 | * QStringList mimetypes; | ||
50 | * mimetypes << QStringLiteral("image/svg+xml") << QStringLiteral("image/png") << QStringLiteral("image/jpeg"); | 50 | * mimetypes << QStringLiteral("image/svg+xml") << QStringLiteral("image/png") << QStringLiteral("image/jpeg"); | ||
51 | * package->setMimeTypes("images", mimetypes); | 51 | * package->setMimeTypes("images", mimetypes); | ||
52 | * @endcode | 52 | * @endcode | ||
53 | * | 53 | * | ||
54 | * @author Aaron Seigo | 54 | * @author Aaron Seigo | ||
55 | */ | 55 | */ | ||
56 | class PACKAGE_EXPORT PackageStructure : public QObject | 56 | class KPACKAGE_EXPORT PackageStructure : public QObject | ||
57 | { | 57 | { | ||
58 | Q_OBJECT | 58 | Q_OBJECT | ||
59 | 59 | | |||
60 | public: | 60 | public: | ||
61 | 61 | | |||
62 | explicit PackageStructure(QObject *parent = nullptr, const QVariantList &args = QVariantList()); | 62 | explicit PackageStructure(QObject *parent = nullptr, const QVariantList &args = QVariantList()); | ||
63 | 63 | | |||
64 | ~PackageStructure(); | 64 | ~PackageStructure(); | ||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |