src/plugins/kbddrivers/linuxinput/main.cpp
changeset 7 f7bc934e204c
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the plugins of the Qt Toolkit.
     7 ** This file is part of the plugins of the Qt Toolkit.
     8 **
     8 **
    67                                                  const QString &device)
    67                                                  const QString &device)
    68 {
    68 {
    69     Q_UNUSED(device);
    69     Q_UNUSED(device);
    70     if (driver.compare(QLatin1String("LinuxInput"), Qt::CaseInsensitive))
    70     if (driver.compare(QLatin1String("LinuxInput"), Qt::CaseInsensitive))
    71         return 0;
    71         return 0;
    72     return new QWSLinuxInputKeyboardHandler(driver, device);
    72     return new QWSLinuxInputKeyboardHandler(device);
    73 }
    73 }
    74 
    74 
    75 Q_EXPORT_PLUGIN2(qwslinuxinputkbddriver, QLinuxInputKbdDriver)
    75 Q_EXPORT_PLUGIN2(qwslinuxinputkbddriver, QLinuxInputKbdDriver)
    76 
    76 
    77 QT_END_NAMESPACE
    77 QT_END_NAMESPACE