File indexing completed on 2022-09-27 12:31:10

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