Logo Search packages:      
Sourcecode: qt-at-spi version File versions  Download package

text_adaptor.h

/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -i adaptor.h -a text_adaptor -l QSpiAdaptor ../../xml/Text.xml
 *
 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef TEXT_ADAPTOR_H_1297240343
#define TEXT_ADAPTOR_H_1297240343

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "adaptor.h"
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;

/*
 * Adaptor class for interface org.a11y.atspi.Text
 */
00028 class TextAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.a11y.atspi.Text")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.a11y.atspi.Text\">\n"
"    <property access=\"read\" type=\"i\" name=\"CharacterCount\"/>\n"
"    <property access=\"read\" type=\"i\" name=\"CaretOffset\"/>\n"
"    <method name=\"GetText\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"endOffset\"/>\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"    </method>\n"
"    <method name=\"SetCaretOffset\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"GetTextBeforeOffset\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"type\"/>\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"    </method>\n"
"    <method name=\"GetTextAtOffset\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"type\"/>\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"    </method>\n"
"    <method name=\"GetTextAfterOffset\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"type\"/>\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"    </method>\n"
"    <method name=\"GetCharacterAtOffset\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"GetAttributeValue\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"attributeName\"/>\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"      <arg direction=\"out\" type=\"b\" name=\"defined\"/>\n"
"    </method>\n"
"    <method name=\"GetAttributes\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"out\" type=\"a{ss}\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"      <annotation value=\"QSpiAttributeSet\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
"    </method>\n"
"    <method name=\"GetDefaultAttributes\">\n"
"      <arg direction=\"out\" type=\"a{ss}\"/>\n"
"      <annotation value=\"QSpiAttributeSet\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
"    </method>\n"
"    <method name=\"GetCharacterExtents\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"x\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"y\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"width\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"height\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"coordType\"/>\n"
"    </method>\n"
"    <method name=\"GetOffsetAtPoint\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"x\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"y\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"coordType\"/>\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"GetNSelections\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"GetSelection\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"selectionNum\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"    </method>\n"
"    <method name=\"AddSelection\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"endOffset\"/>\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"RemoveSelection\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"selectionNum\"/>\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"SetSelection\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"selectionNum\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"endOffset\"/>\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"GetRangeExtents\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"endOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"x\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"y\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"width\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"height\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"coordType\"/>\n"
"    </method>\n"
"    <method name=\"GetBoundedRanges\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"x\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"y\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"width\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"height\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"coordType\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"xClipType\"/>\n"
"      <arg direction=\"in\" type=\"u\" name=\"yClipType\"/>\n"
"      <arg direction=\"out\" type=\"a(iisv)\"/>\n"
"      <annotation value=\"QSpiRangeList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
"    </method>\n"
"    <method name=\"GetAttributeRun\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"offset\"/>\n"
"      <arg direction=\"in\" type=\"b\" name=\"includeDefaults\"/>\n"
"      <arg direction=\"out\" type=\"a{ss}\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"startOffset\"/>\n"
"      <arg direction=\"out\" type=\"i\" name=\"endOffset\"/>\n"
"      <annotation value=\"QSpiAttributeSet\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
"    </method>\n"
"    <method name=\"GetDefaultAttributeSet\">\n"
"      <arg direction=\"out\" type=\"a{ss}\"/>\n"
"      <annotation value=\"QSpiAttributeSet\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    TextAdaptor(QSpiAdaptor *parent);
    virtual ~TextAdaptor();

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

public: // PROPERTIES
    Q_PROPERTY(int CaretOffset READ caretOffset)
    int caretOffset() const;

    Q_PROPERTY(int CharacterCount READ characterCount)
    int characterCount() const;

public Q_SLOTS: // METHODS
    bool AddSelection(int startOffset, int endOffset);
    QSpiAttributeSet GetAttributeRun(int offset, bool includeDefaults, int &startOffset, int &endOffset);
    QString GetAttributeValue(int offset, const QString &attributeName, int &startOffset, int &endOffset, bool &defined);
    QSpiAttributeSet GetAttributes(int offset, int &startOffset, int &endOffset);
    QSpiRangeList GetBoundedRanges(int x, int y, int width, int height, uint coordType, uint xClipType, uint yClipType);
    int GetCharacterAtOffset(int offset);
    int GetCharacterExtents(int offset, uint coordType, int &y, int &width, int &height);
    QSpiAttributeSet GetDefaultAttributeSet();
    QSpiAttributeSet GetDefaultAttributes();
    int GetNSelections();
    int GetOffsetAtPoint(int x, int y, uint coordType);
    int GetRangeExtents(int startOffset, int endOffset, uint coordType, int &y, int &width, int &height);
    int GetSelection(int selectionNum, int &endOffset);
    QString GetText(int startOffset, int endOffset);
    QString GetTextAfterOffset(int offset, uint type, int &startOffset, int &endOffset);
    QString GetTextAtOffset(int offset, uint type, int &startOffset, int &endOffset);
    QString GetTextBeforeOffset(int offset, uint type, int &startOffset, int &endOffset);
    bool RemoveSelection(int selectionNum);
    bool SetCaretOffset(int offset);
    bool SetSelection(int selectionNum, int startOffset, int endOffset);
Q_SIGNALS: // SIGNALS
};

#endif

Generated by  Doxygen 1.6.0   Back to index