File indexing completed on 2022-11-29 18:16:33

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  * This file may have been hand-edited. Look for HAND-EDIT comments
0009  * before re-generating it.
0010  */
0011 
0012 #ifndef INTERPRETERADAPTOR_H_1243976287
0013 #define INTERPRETERADAPTOR_H_1243976287
0014 
0015 #include <QObject>
0016 #include "interpreter/interpreter.h"
0017 template<class T> class QList;
0018 template<class Key, class Value> class QMap;
0019 class QString;
0020 class QStringList;
0021 
0022 /*
0023  * Adaptor class for interface org.kde.kturtle.Interpreter
0024  */
0025 class InterpreterAdaptor: public QDBusAbstractAdaptor
0026 {
0027     Q_OBJECT
0028     Q_CLASSINFO("D-Bus Interface", "org.kde.kturtle.Interpreter")
0029     Q_CLASSINFO("D-Bus Introspection", ""
0030 "  <interface name=\"org.kde.kturtle.Interpreter\" >\n"
0031 "    <signal name=\"parsing\" />\n"
0032 "    <signal name=\"executing\" />\n"
0033 "    <signal name=\"finished\" />\n"
0034 "    <method name=\"interpret\" />\n"
0035 "    <method name=\"state\" >\n"
0036 "      <arg direction=\"out\" type=\"i\" />\n"
0037 "    </method>\n"
0038 "    <method name=\"initialize\" >\n"
0039 "      <arg direction=\"in\" type=\"s\" name=\"inputString\" />\n"
0040 "    </method>\n"
0041 "    <method name=\"encounteredErrors\" >\n"
0042 "      <arg direction=\"out\" type=\"b\" />\n"
0043 "    </method>\n"
0044 "    <method name=\"getErrorStrings\" >\n"
0045 "      <arg direction=\"out\" type=\"as\" />\n"
0046 "    </method>\n"
0047 "  </interface>\n"
0048         "")
0049 public:
0050     InterpreterAdaptor(Interpreter *parent);
0051     virtual ~InterpreterAdaptor();
0052 
0053     inline Interpreter *parent() const
0054     { return static_cast<Interpreter *>(QObject::parent()); }
0055 
0056 public: // PROPERTIES
0057 public Q_SLOTS: // METHODS
0058     bool encounteredErrors();
0059     QStringList getErrorStrings();
0060     void initialize(const QString &inputString);
0061     void interpret();
0062     int state();
0063 Q_SIGNALS: // SIGNALS
0064     void executing();
0065     void finished();
0066     void parsing();
0067 };
0068 
0069 #endif