• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • sources
  • kde-4.12
  • kdepim
  • messageviewer
  • a11y
messagevieweraccessiblewidgetfactory.cpp
Go to the documentation of this file.
1 /*
2  Copyright 2011 José Millán Soto <fid@gpul.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Lesser General Public
6  License as published by the Free Software Foundation; either
7  version 2.1 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public
15  License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #include "messagevieweraccessiblewidgetfactory.h"
19 
20 #include <QtCore/qplugin.h>
21 #include "accessiblemailwebview.h"
22 
23 Q_EXPORT_PLUGIN(MessageViewerAccessibleWidgetFactory)
24 
25 QAccessibleInterface *MessageViewerAccessibleWidgetFactory::create( const QString &key, QObject *object )
26 {
27  if ( key == QLatin1String( "MessageViewer::MailWebView" ) ) {
28  return new AccessibleMailWebView( reinterpret_cast< MessageViewer::MailWebView* >( object ) );
29  }
30  return 0;
31 }
32 
33 MessageViewerAccessibleWidgetFactory::MessageViewerAccessibleWidgetFactory( QObject *parent ):
34  QAccessiblePlugin( parent )
35 {
36 }
37 
38 QStringList MessageViewerAccessibleWidgetFactory::keys() const
39 {
40  QStringList l;
41  l.append( QLatin1String( "MessageViewer::MailWebView" ) );
42  return l;
43 }
MessageViewerAccessibleWidgetFactory::keys
virtual QStringList keys() const
Definition: messagevieweraccessiblewidgetfactory.cpp:38
QAccessiblePlugin
QObject
messagevieweraccessiblewidgetfactory.h
accessiblemailwebview.h
AccessibleMailWebView
Definition: accessiblemailwebview.h:28
MessageViewerAccessibleWidgetFactory
Definition: messagevieweraccessiblewidgetfactory.h:24
MessageViewerAccessibleWidgetFactory::MessageViewerAccessibleWidgetFactory
MessageViewerAccessibleWidgetFactory(QObject *parent=0)
Definition: messagevieweraccessiblewidgetfactory.cpp:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal