Changeset View
Changeset View
Standalone View
Standalone View
slicers/slicer-rect.cpp
Show All 14 Lines | |||||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | ***************************************************************************/ | 17 | ***************************************************************************/ | ||
18 | 18 | | |||
19 | #include "slicer-rect.h" | 19 | #include "slicer-rect.h" | ||
20 | 20 | | |||
21 | #include <KLocalizedString> | 21 | #include <KLocalizedString> | ||
22 | #include <KPluginFactory> | 22 | #include <KPluginFactory> | ||
23 | #include <KPluginLoader> | | |||
24 | 23 | | |||
25 | K_PLUGIN_FACTORY(RectSlicerFactory, registerPlugin<RectSlicer>();) | 24 | K_PLUGIN_FACTORY(RectSlicerFactory, registerPlugin<RectSlicer>();) | ||
26 | K_EXPORT_PLUGIN(RectSlicerFactory("palapeli_rectslicer")) | | |||
27 | 25 | | |||
28 | RectSlicer::RectSlicer(QObject* parent, const QVariantList& args) | 26 | RectSlicer::RectSlicer(QObject* parent, const QVariantList& args) | ||
29 | : Pala::Slicer(parent, args) | 27 | : Pala::Slicer(parent, args) | ||
30 | , Pala::SimpleGridPropertySet(this) | 28 | , Pala::SimpleGridPropertySet(this) | ||
31 | { | 29 | { | ||
32 | } | 30 | } | ||
33 | 31 | | |||
34 | bool RectSlicer::run(Pala::SlicerJob* job) | 32 | bool RectSlicer::run(Pala::SlicerJob* job) | ||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |