File indexing completed on 2024-04-28 07:33:18

0001 /*
0002  * This file was generated by dbusxml2cpp version 0.6
0003  * Command line was: dbusxml2cpp -m -a interpreteradaptor -i interpreter/interpreter.h -l Interpreter /home/cies/kturtle/working-kdeedu/kturtle/src/interpreter/org.kde.kturtle.Interpreter.xml
0004  *
0005  * dbusxml2cpp is SPDX-FileCopyrightText: 2008 Nokia Corporation and /or its subsidiary(-ies).
0006  *
0007  * This is an auto-generated file.
0008  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #include "interpreteradaptor.h"
0012 #include <QString>
0013 #include <QStringList>
0014 
0015 /*
0016  * Implementation of adaptor class InterpreterAdaptor
0017  */
0018 
0019 InterpreterAdaptor::InterpreterAdaptor(Interpreter *parent)
0020     : QDBusAbstractAdaptor(parent)
0021 {
0022     // constructor
0023     setAutoRelaySignals(true);
0024 }
0025 
0026 InterpreterAdaptor::~InterpreterAdaptor()
0027 {
0028     // destructor
0029 }
0030 
0031 bool InterpreterAdaptor::encounteredErrors()
0032 {
0033     // handle method call org.kde.kturtle.Interpreter.encounteredErrors
0034     return parent()->encounteredErrors();
0035 }
0036 
0037 QStringList InterpreterAdaptor::getErrorStrings()
0038 {
0039     // handle method call org.kde.kturtle.Interpreter.getErrorStrings
0040     return parent()->getErrorStrings();
0041 }
0042 
0043 void InterpreterAdaptor::initialize(const QString &inputString)
0044 {
0045     // handle method call org.kde.kturtle.Interpreter.initialize
0046     parent()->initialize(inputString);
0047 }
0048 
0049 void InterpreterAdaptor::interpret()
0050 {
0051     // handle method call org.kde.kturtle.Interpreter.interpret
0052     parent()->interpret();
0053 }
0054 
0055 int InterpreterAdaptor::state()
0056 {
0057     // handle method call org.kde.kturtle.Interpreter.state
0058     return parent()->state();
0059 }
0060 
0061 
0062 #include "interpreteradaptor.moc"
0063 
0064 #include "moc_interpreteradaptor.cpp"