/***************************************************************************
                            QAccessible.m -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#if defined(QT_ACCESSIBILITY_SUPPORT)

#include <qtc/qt_QString.h>
#include <qtc/qt_QCString.h>
#include <qtc/qt_QAccessible.h>
#include <qtobjc/QObject.h>
#include <qtobjc/QAccessible.h>

@implementation  QAccessible

- (void *) qt
{
	return _qt;
}

- setQt: (void *) qt
{
	_qt = qt;
	return self;
}

- (BOOL) allocatedInObjcWorld
{
	return _allocatedInObjcWorld;
}

- setAllocatedInObjcWorld: (BOOL) yn
{
	_allocatedInObjcWorld = yn;
	return self;
}


//+ (long) queryAccessibleInterface: (QObject *)arg1 accessibleinterface: (QAccessibleInterface**)arg2
//{
//	return (long) qt_QAccessible_queryAccessibleInterface((qt_QObject *) [arg1 qt], (qt_QAccessibleInterface**) [arg2 qt]);
//}

+ updateAccessibility: (QObject *)arg1 who: (int)who reason: (int)reason
{
	qt_QAccessible_updateAccessibility((qt_QObject *) [arg1 qt], (int)who, (int)reason);
	return self;
}

+ (int) SoundPlayed
{
	return (int) QACCESSIBLE_SoundPlayed;
}

+ (int) Alert
{
	return (int) QACCESSIBLE_Alert;
}

+ (int) ForegroundChanged
{
	return (int) QACCESSIBLE_ForegroundChanged;
}

+ (int) MenuStart
{
	return (int) QACCESSIBLE_MenuStart;
}

+ (int) MenuEnd
{
	return (int) QACCESSIBLE_MenuEnd;
}

+ (int) PopupMenuStart
{
	return (int) QACCESSIBLE_PopupMenuStart;
}

+ (int) PopupMenuEnd
{
	return (int) QACCESSIBLE_PopupMenuEnd;
}

+ (int) ContextHelpStart
{
	return (int) QACCESSIBLE_ContextHelpStart;
}

+ (int) ContextHelpEnd
{
	return (int) QACCESSIBLE_ContextHelpEnd;
}

+ (int) DragDropStart
{
	return (int) QACCESSIBLE_DragDropStart;
}

+ (int) DragDropEnd
{
	return (int) QACCESSIBLE_DragDropEnd;
}

+ (int) DialogStart
{
	return (int) QACCESSIBLE_DialogStart;
}

+ (int) DialogEnd
{
	return (int) QACCESSIBLE_DialogEnd;
}

+ (int) ScrollingStart
{
	return (int) QACCESSIBLE_ScrollingStart;
}

+ (int) ScrollingEnd
{
	return (int) QACCESSIBLE_ScrollingEnd;
}

+ (int) MenuCommand
{
	return (int) QACCESSIBLE_MenuCommand;
}

+ (int) ObjectCreated
{
	return (int) QACCESSIBLE_ObjectCreated;
}

+ (int) ObjectDestroyed
{
	return (int) QACCESSIBLE_ObjectDestroyed;
}

+ (int) ObjectShow
{
	return (int) QACCESSIBLE_ObjectShow;
}

+ (int) ObjectHide
{
	return (int) QACCESSIBLE_ObjectHide;
}

+ (int) ObjectReorder
{
	return (int) QACCESSIBLE_ObjectReorder;
}

+ (int) Focus
{
	return (int) QACCESSIBLE_Focus;
}

+ (int) Selection
{
	return (int) QACCESSIBLE_Selection;
}

+ (int) SelectionAdd
{
	return (int) QACCESSIBLE_SelectionAdd;
}

+ (int) SelectionRemove
{
	return (int) QACCESSIBLE_SelectionRemove;
}

+ (int) SelectionWithin
{
	return (int) QACCESSIBLE_SelectionWithin;
}

+ (int) StateChanged
{
	return (int) QACCESSIBLE_StateChanged;
}

+ (int) LocationChanged
{
	return (int) QACCESSIBLE_LocationChanged;
}

+ (int) NameChanged
{
	return (int) QACCESSIBLE_NameChanged;
}

+ (int) DescriptionChanged
{
	return (int) QACCESSIBLE_DescriptionChanged;
}

+ (int) ValueChanged
{
	return (int) QACCESSIBLE_ValueChanged;
}

+ (int) ParentChanged
{
	return (int) QACCESSIBLE_ParentChanged;
}

+ (int) HelpChanged
{
	return (int) QACCESSIBLE_HelpChanged;
}

+ (int) DefaultActionChanged
{
	return (int) QACCESSIBLE_DefaultActionChanged;
}

+ (int) AcceleratorChanged
{
	return (int) QACCESSIBLE_AcceleratorChanged;
}

+ (int) Normal
{
	return (int) QACCESSIBLE_Normal;
}

+ (int) Unavailable
{
	return (int) QACCESSIBLE_Unavailable;
}

+ (int) Selected
{
	return (int) QACCESSIBLE_Selected;
}

+ (int) Focused
{
	return (int) QACCESSIBLE_Focused;
}

+ (int) Pressed
{
	return (int) QACCESSIBLE_Pressed;
}

+ (int) Checked
{
	return (int) QACCESSIBLE_Checked;
}

+ (int) Mixed
{
	return (int) QACCESSIBLE_Mixed;
}

+ (int) ReadOnly
{
	return (int) QACCESSIBLE_ReadOnly;
}

+ (int) HotTracked
{
	return (int) QACCESSIBLE_HotTracked;
}

+ (int) Default
{
	return (int) QACCESSIBLE_Default;
}

+ (int) Expanded
{
	return (int) QACCESSIBLE_Expanded;
}

+ (int) Collapsed
{
	return (int) QACCESSIBLE_Collapsed;
}

+ (int) Busy
{
	return (int) QACCESSIBLE_Busy;
}

+ (int) Floating
{
	return (int) QACCESSIBLE_Floating;
}

+ (int) Marqueed
{
	return (int) QACCESSIBLE_Marqueed;
}

+ (int) Animated
{
	return (int) QACCESSIBLE_Animated;
}

+ (int) Invisible
{
	return (int) QACCESSIBLE_Invisible;
}

+ (int) Offscreen
{
	return (int) QACCESSIBLE_Offscreen;
}

+ (int) Sizeable
{
	return (int) QACCESSIBLE_Sizeable;
}

+ (int) Moveable
{
	return (int) QACCESSIBLE_Moveable;
}

+ (int) SelfVoicing
{
	return (int) QACCESSIBLE_SelfVoicing;
}

+ (int) Focusable
{
	return (int) QACCESSIBLE_Focusable;
}

+ (int) Selectable
{
	return (int) QACCESSIBLE_Selectable;
}

+ (int) Linked
{
	return (int) QACCESSIBLE_Linked;
}

+ (int) Traversed
{
	return (int) QACCESSIBLE_Traversed;
}

+ (int) MultiSelectable
{
	return (int) QACCESSIBLE_MultiSelectable;
}

+ (int) ExtSelectable
{
	return (int) QACCESSIBLE_ExtSelectable;
}

+ (int) AlertLow
{
	return (int) QACCESSIBLE_AlertLow;
}

+ (int) AlertMedium
{
	return (int) QACCESSIBLE_AlertMedium;
}

+ (int) AlertHigh
{
	return (int) QACCESSIBLE_AlertHigh;
}

+ (int) Protected
{
	return (int) QACCESSIBLE_Protected;
}

+ (int) Valid
{
	return (int) QACCESSIBLE_Valid;
}

+ (int) NoRole
{
	return (int) QACCESSIBLE_NoRole;
}

+ (int) TitleBar
{
	return (int) QACCESSIBLE_TitleBar;
}

+ (int) MenuBar
{
	return (int) QACCESSIBLE_MenuBar;
}

+ (int) ScrollBar
{
	return (int) QACCESSIBLE_ScrollBar;
}

+ (int) Grip
{
	return (int) QACCESSIBLE_Grip;
}

+ (int) Sound
{
	return (int) QACCESSIBLE_Sound;
}

+ (int) Cursor
{
	return (int) QACCESSIBLE_Cursor;
}

+ (int) Caret
{
	return (int) QACCESSIBLE_Caret;
}

+ (int) AlertMessage
{
	return (int) QACCESSIBLE_AlertMessage;
}

+ (int) Window
{
	return (int) QACCESSIBLE_Window;
}

+ (int) Client
{
	return (int) QACCESSIBLE_Client;
}

+ (int) PopupMenu
{
	return (int) QACCESSIBLE_PopupMenu;
}

+ (int) MenuItem
{
	return (int) QACCESSIBLE_MenuItem;
}

+ (int) ToolTip
{
	return (int) QACCESSIBLE_ToolTip;
}

+ (int) Application
{
	return (int) QACCESSIBLE_Application;
}

+ (int) Document
{
	return (int) QACCESSIBLE_Document;
}

+ (int) Pane
{
	return (int) QACCESSIBLE_Pane;
}

+ (int) Chart
{
	return (int) QACCESSIBLE_Chart;
}

+ (int) Dialog
{
	return (int) QACCESSIBLE_Dialog;
}

+ (int) Border
{
	return (int) QACCESSIBLE_Border;
}

+ (int) Grouping
{
	return (int) QACCESSIBLE_Grouping;
}

+ (int) Separator
{
	return (int) QACCESSIBLE_Separator;
}

+ (int) ToolBar
{
	return (int) QACCESSIBLE_ToolBar;
}

+ (int) StatusBar
{
	return (int) QACCESSIBLE_StatusBar;
}

+ (int) Table
{
	return (int) QACCESSIBLE_Table;
}

+ (int) ColumnHeader
{
	return (int) QACCESSIBLE_ColumnHeader;
}

+ (int) RowHeader
{
	return (int) QACCESSIBLE_RowHeader;
}

+ (int) Column
{
	return (int) QACCESSIBLE_Column;
}

+ (int) Row
{
	return (int) QACCESSIBLE_Row;
}

+ (int) Cell
{
	return (int) QACCESSIBLE_Cell;
}

+ (int) Link
{
	return (int) QACCESSIBLE_Link;
}

+ (int) HelpBalloon
{
	return (int) QACCESSIBLE_HelpBalloon;
}

+ (int) Character
{
	return (int) QACCESSIBLE_Character;
}

+ (int) List
{
	return (int) QACCESSIBLE_List;
}

+ (int) ListItem
{
	return (int) QACCESSIBLE_ListItem;
}

+ (int) Outline
{
	return (int) QACCESSIBLE_Outline;
}

+ (int) OutlineItem
{
	return (int) QACCESSIBLE_OutlineItem;
}

+ (int) PageTab
{
	return (int) QACCESSIBLE_PageTab;
}

+ (int) PropertyPage
{
	return (int) QACCESSIBLE_PropertyPage;
}

+ (int) Indicator
{
	return (int) QACCESSIBLE_Indicator;
}

+ (int) Graphic
{
	return (int) QACCESSIBLE_Graphic;
}

+ (int) StaticText
{
	return (int) QACCESSIBLE_StaticText;
}

+ (int) EditableText
{
	return (int) QACCESSIBLE_EditableText;
}

+ (int) PushButton
{
	return (int) QACCESSIBLE_PushButton;
}

+ (int) CheckBox
{
	return (int) QACCESSIBLE_CheckBox;
}

+ (int) RadioButton
{
	return (int) QACCESSIBLE_RadioButton;
}

+ (int) ComboBox
{
	return (int) QACCESSIBLE_ComboBox;
}

+ (int) DropLest
{
	return (int) QACCESSIBLE_DropLest;
}

+ (int) ProgressBar
{
	return (int) QACCESSIBLE_ProgressBar;
}

+ (int) Dial
{
	return (int) QACCESSIBLE_Dial;
}

+ (int) HotkeyField
{
	return (int) QACCESSIBLE_HotkeyField;
}

+ (int) Slider
{
	return (int) QACCESSIBLE_Slider;
}

+ (int) SpinBox
{
	return (int) QACCESSIBLE_SpinBox;
}

+ (int) Diagram
{
	return (int) QACCESSIBLE_Diagram;
}

+ (int) Animation
{
	return (int) QACCESSIBLE_Animation;
}

+ (int) Equation
{
	return (int) QACCESSIBLE_Equation;
}

+ (int) ButtonDropDown
{
	return (int) QACCESSIBLE_ButtonDropDown;
}

+ (int) ButtonMenu
{
	return (int) QACCESSIBLE_ButtonMenu;
}

+ (int) ButtonDropGrid
{
	return (int) QACCESSIBLE_ButtonDropGrid;
}

+ (int) Whitespace
{
	return (int) QACCESSIBLE_Whitespace;
}

+ (int) PageTabList
{
	return (int) QACCESSIBLE_PageTabList;
}

+ (int) Clock
{
	return (int) QACCESSIBLE_Clock;
}

+ (int) NavUp
{
	return (int) QACCESSIBLE_NavUp;
}

+ (int) NavDown
{
	return (int) QACCESSIBLE_NavDown;
}

+ (int) NavLeft
{
	return (int) QACCESSIBLE_NavLeft;
}

+ (int) NavRight
{
	return (int) QACCESSIBLE_NavRight;
}

+ (int) NavNext
{
	return (int) QACCESSIBLE_NavNext;
}

+ (int) NavPrevious
{
	return (int) QACCESSIBLE_NavPrevious;
}

+ (int) NavFirstChild
{
	return (int) QACCESSIBLE_NavFirstChild;
}

+ (int) NavLastChild
{
	return (int) QACCESSIBLE_NavLastChild;
}

+ (int) NavFocusChild
{
	return (int) QACCESSIBLE_NavFocusChild;
}

+ (int) Name
{
	return (int) QACCESSIBLE_Name;
}

+ (int) Description
{
	return (int) QACCESSIBLE_Description;
}

+ (int) Value
{
	return (int) QACCESSIBLE_Value;
}

+ (int) Help
{
	return (int) QACCESSIBLE_Help;
}

+ (int) Accelerator
{
	return (int) QACCESSIBLE_Accelerator;
}

+ (int) DefaultAction
{
	return (int) QACCESSIBLE_DefaultAction;
}

@end

#endif

