Changeset View
Changeset View
Standalone View
Standalone View
slicers/goldberg/slicer-goldberg.cpp
Show All 14 Lines | |||||
15 | * You should have received a copy of the GNU General Public License | 15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | 16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | * | 18 | * | ||
19 | ***************************************************************************/ | 19 | ***************************************************************************/ | ||
20 | 20 | | |||
21 | #include "slicer-goldberg.h" | 21 | #include "slicer-goldberg.h" | ||
22 | 22 | | |||
23 | #include <QMessageBox> | | |||
24 | #include <KLocalizedString> | 23 | #include <KLocalizedString> | ||
25 | #include <KPluginFactory> | 24 | #include <KPluginFactory> | ||
26 | #include <KPluginLoader> | | |||
27 | #include <QDebug> | 25 | #include <QDebug> | ||
28 | 26 | | |||
29 | #include "goldberg-engine.h" | 27 | #include "goldberg-engine.h" | ||
30 | #include "grid.h" | 28 | #include "grid.h" | ||
31 | #include "utilities.h" | 29 | #include "utilities.h" | ||
32 | 30 | | |||
33 | K_PLUGIN_FACTORY(SvgSlicerFactory, registerPlugin<GoldbergSlicer>();) | 31 | K_PLUGIN_FACTORY(SvgSlicerFactory, registerPlugin<GoldbergSlicer>();) | ||
34 | K_EXPORT_PLUGIN(SvgSlicerFactory("palapeli_goldbergslicer")) | | |||
35 | 32 | | |||
36 | GoldbergSlicer::GoldbergSlicer(QObject* parent, const QVariantList& args) | 33 | GoldbergSlicer::GoldbergSlicer(QObject* parent, const QVariantList& args) | ||
37 | : Pala::Slicer(parent, args) { | 34 | : Pala::Slicer(parent, args) { | ||
38 | 35 | | |||
39 | Pala::IntegerProperty* prop; | 36 | Pala::IntegerProperty* prop; | ||
40 | Pala::StringProperty* sprop; | 37 | Pala::StringProperty* sprop; | ||
41 | Pala::BooleanProperty* bprop; | 38 | Pala::BooleanProperty* bprop; | ||
42 | 39 | | |||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |