Qt 4.8
Classes | Macros | Typedefs | Functions | Variables
qaccessible_win.cpp File Reference
#include "qaccessible.h"
#include "qapplication.h"
#include <private/qsystemlibrary_p.h>
#include "qmessagebox.h"
#include "qt_windows.h"
#include "qwidget.h"
#include "qsettings.h"
#include <QtCore/qmap.h>
#include <QtCore/qpair.h>
#include <QtCore/qpointer.h>
#include <QtGui/qgraphicsitem.h>
#include <QtGui/qgraphicsscene.h>
#include <QtGui/qgraphicsview.h>
#include <winuser.h>
#include <bldver.h>
#include <winable.h>
#include <oleacc.h>
#include <comdef.h>
#include "qguifunctions_wince.h"

Go to the source code of this file.

Classes

struct  AccessibleElement
 
class  QWindowsAccessible
 
class  QWindowsEnumerate
 

Macros

#define showDebug(f, iface)
 

Typedefs

typedef QMap< int, QPair< QPointer< QObject >, int > > NotifyMap
 

Functions

static BSTR QStringToBSTR (const QString &str)
 
IAccessible * qt_createWindowsAccessible (QAccessibleInterface *access)
 

Variables

static int eventNum = 0
 

Macro Definition Documentation

◆ showDebug

#define showDebug (   f,
  iface 
)

Typedef Documentation

◆ NotifyMap

typedef QMap<int, QPair<QPointer<QObject>, int> > NotifyMap

Definition at line 269 of file qaccessible_win.cpp.

Function Documentation

◆ QStringToBSTR()

static BSTR QStringToBSTR ( const QString str)
inlinestatic

Definition at line 706 of file qaccessible_win.cpp.

Referenced by QWindowsAccessible::get_accDefaultAction(), QWindowsAccessible::get_accDescription(), QWindowsAccessible::get_accHelp(), QWindowsAccessible::get_accKeyboardShortcut(), QWindowsAccessible::get_accName(), and QWindowsAccessible::get_accValue().

707 {
708  return SysAllocStringLen((OLECHAR*)str.unicode(), str.length());
709 }
int length() const
Returns the number of characters in this string.
Definition: qstring.h:696
const QChar * unicode() const
Returns a &#39;\0&#39;-terminated Unicode representation of the string.
Definition: qstring.h:706

◆ qt_createWindowsAccessible()

IAccessible* qt_createWindowsAccessible ( QAccessibleInterface access)

Definition at line 713 of file qaccessible_win.cpp.

Referenced by QtWndProc().

714 {
715  QWindowsAccessible *acc = new QWindowsAccessible(access);
716  IAccessible *iface;
717  acc->QueryInterface(IID_IAccessible, (void**)&iface);
718 
719  return iface;
720 }
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID, LPVOID *)

Variable Documentation

◆ eventNum

int eventNum = 0
static

Definition at line 271 of file qaccessible_win.cpp.