diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-04-07 13:32:21 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-04-07 13:32:21 (GMT) |
commit | f6cefda2c038c68883f535bb86ac297e2a4f5407 (patch) | |
tree | 3a5de8fcd72ec2134f37d55790797744d445c907 /src/gui/embedded/qkbdlinuxinput_qws.cpp | |
parent | 1562ae67a1be7a16e1e2f6a5c40528da61e40cec (diff) | |
download | Qt-f6cefda2c038c68883f535bb86ac297e2a4f5407.zip Qt-f6cefda2c038c68883f535bb86ac297e2a4f5407.tar.gz Qt-f6cefda2c038c68883f535bb86ac297e2a4f5407.tar.bz2 |
Added copyright headers for the new QWS keymap handling files
Also removed the old obsolete qkbpc101_qws files. Somehow this removal got
lost in the rebase before the keyboard handler refactoring commit.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/embedded/qkbdlinuxinput_qws.cpp')
-rw-r--r-- | src/gui/embedded/qkbdlinuxinput_qws.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/embedded/qkbdlinuxinput_qws.cpp b/src/gui/embedded/qkbdlinuxinput_qws.cpp index d04b09f..1ef2696 100644 --- a/src/gui/embedded/qkbdlinuxinput_qws.cpp +++ b/src/gui/embedded/qkbdlinuxinput_qws.cpp @@ -105,9 +105,9 @@ QWSLinuxInputKbPrivate::QWSLinuxInputKbPrivate(QWSLinuxInputKeyboardHandler *h, QStringList args = device.split(QLatin1Char(':')); foreach (const QString &arg, args) { - if (arg.startsWith(QLatin1String("repeat_delay="))) + if (arg.startsWith(QLatin1String("repeat-delay="))) repeat_delay = arg.mid(13).toInt(); - else if (arg.startsWith(QLatin1String("repeat_rate="))) + else if (arg.startsWith(QLatin1String("repeat-rate="))) repeat_rate = arg.mid(12).toInt(); else if (arg.startsWith(QLatin1String("/dev/"))) dev = arg; |