Qt 4.8
Classes | Functions
quikiteventloop.mm File Reference
#include "quikiteventloop.h"
#include "quikitintegration.h"
#include "quikitscreen.h"
#include "quikitwindow.h"
#include "quikitwindowsurface.h"
#include <UIKit/UIKit.h>
#include <QtGui/QApplication>
#include <QtGui/QWidget>
#include <QtGui/QGraphicsView>
#include <QtGui/QGraphicsScene>
#include <QtGui/QGraphicsItem>
#include <QtDebug>

Go to the source code of this file.

Classes

class  EventLoopHelper
 
class  QUIKitAppDelegate
 

Functions

static UIReturnKeyType keyTypeForObject (QObject *obj)
 

Function Documentation

◆ keyTypeForObject()

static UIReturnKeyType keyTypeForObject ( QObject obj)
static

Definition at line 211 of file quikiteventloop.mm.

Referenced by QUIKitSoftwareInputHandler::eventFilter().

212 {
213  if (strcmp(obj->metaObject()->className(), "QDeclarativeTextEdit") == 0)
214  return UIReturnKeyDefault;
215  return UIReturnKeyDone;
216 }
const char * className() const
Returns the class name.
Definition: qobjectdefs.h:491
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.