/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.mauiman.FormFactor.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef FORMFACTORADAPTOR_H
#define FORMFACTORADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "modules/formfactor.h"
#include <QtCore/qcontainerfwd.h>

/*
 * Adaptor class for interface org.mauiman.FormFactor
 */
class FormFactorAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.mauiman.FormFactor")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.mauiman.FormFactor\">\n"
"    <method name=\"setPreferredMode\">\n"
"      <arg direction=\"in\" type=\"u\" name=\"preferredMode\"/>\n"
"    </method>\n"
"    <method name=\"setForceTouchScreen\">\n"
"      <arg direction=\"in\" type=\"b\" name=\"forceTouchScreen\"/>\n"
"    </method>\n"
"    <property access=\"read\" type=\"b\" name=\"hasKeyboard\"/>\n"
"    <property access=\"read\" type=\"b\" name=\"hasTouchscreen\"/>\n"
"    <property access=\"read\" type=\"b\" name=\"hasMouse\"/>\n"
"    <property access=\"read\" type=\"b\" name=\"hasTouchpad\"/>\n"
"    <property access=\"read\" type=\"b\" name=\"forceTouchScreen\"/>\n"
"    <property access=\"read\" type=\"u\" name=\"preferredMode\"/>\n"
"    <property access=\"read\" type=\"u\" name=\"bestMode\"/>\n"
"    <property access=\"read\" type=\"u\" name=\"defaultMode\"/>\n"
"    <signal name=\"hasKeyboardChanged\">\n"
"      <arg type=\"b\"/>\n"
"    </signal>\n"
"    <signal name=\"hasTouchscreenChanged\">\n"
"      <arg type=\"b\"/>\n"
"    </signal>\n"
"    <signal name=\"hasTouchpadChanged\">\n"
"      <arg type=\"b\"/>\n"
"    </signal>\n"
"    <signal name=\"hasMouseChanged\">\n"
"      <arg type=\"b\"/>\n"
"    </signal>\n"
"    <signal name=\"preferredModeChanged\">\n"
"      <arg type=\"u\"/>\n"
"    </signal>\n"
"    <signal name=\"bestModeChanged\">\n"
"      <arg type=\"u\"/>\n"
"    </signal>\n"
"    <signal name=\"forceTouchScreenChanged\">\n"
"      <arg type=\"b\"/>\n"
"    </signal>\n"
"  </interface>\n"
        "")
public:
    FormFactorAdaptor(FormFactor *parent);
    ~FormFactorAdaptor() override;

    inline FormFactor *parent() const
    { return static_cast<FormFactor *>(QObject::parent()); }

public: // PROPERTIES
    Q_PROPERTY(uint bestMode READ bestMode)
    uint bestMode() const;

    Q_PROPERTY(uint defaultMode READ defaultMode)
    uint defaultMode() const;

    Q_PROPERTY(bool forceTouchScreen READ forceTouchScreen)
    bool forceTouchScreen() const;

    Q_PROPERTY(bool hasKeyboard READ hasKeyboard)
    bool hasKeyboard() const;

    Q_PROPERTY(bool hasMouse READ hasMouse)
    bool hasMouse() const;

    Q_PROPERTY(bool hasTouchpad READ hasTouchpad)
    bool hasTouchpad() const;

    Q_PROPERTY(bool hasTouchscreen READ hasTouchscreen)
    bool hasTouchscreen() const;

    Q_PROPERTY(uint preferredMode READ preferredMode)
    uint preferredMode() const;

public Q_SLOTS: // METHODS
    void setForceTouchScreen(bool forceTouchScreen);
    void setPreferredMode(uint preferredMode);
Q_SIGNALS: // SIGNALS
    void bestModeChanged(uint in0);
    void forceTouchScreenChanged(bool in0);
    void hasKeyboardChanged(bool in0);
    void hasMouseChanged(bool in0);
    void hasTouchpadChanged(bool in0);
    void hasTouchscreenChanged(bool in0);
    void preferredModeChanged(uint in0);
};

#endif
