From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QKeyEvent.java | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QKeyEvent.java') diff --git a/qtjava/javalib/org/kde/qt/QKeyEvent.java b/qtjava/javalib/org/kde/qt/QKeyEvent.java index 9bec7330..50015bfc 100644 --- a/qtjava/javalib/org/kde/qt/QKeyEvent.java +++ b/qtjava/javalib/org/kde/qt/QKeyEvent.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QKeyEvent extends QEvent { - protected QKeyEvent(Class dummy){super((Class) null);} - public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) { +public class TQKeyEvent extends TQEvent { + protected TQKeyEvent(Class dummy){super((Class) null);} + public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) { super((Class) null); - newQKeyEvent(type,key,ascii,state,text,autorep,count); + newTQKeyEvent(type,key,ascii,state,text,autorep,count); } - private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count); - public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) { + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count); + public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) { super((Class) null); - newQKeyEvent(type,key,ascii,state,text,autorep); + newTQKeyEvent(type,key,ascii,state,text,autorep); } - private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep); - public QKeyEvent(int type, int key, int ascii, int state, String text) { + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep); + public TQKeyEvent(int type, int key, int ascii, int state, String text) { super((Class) null); - newQKeyEvent(type,key,ascii,state,text); + newTQKeyEvent(type,key,ascii,state,text); } - private native void newQKeyEvent(int type, int key, int ascii, int state, String text); - public QKeyEvent(int type, int key, int ascii, int state) { + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text); + public TQKeyEvent(int type, int key, int ascii, int state) { super((Class) null); - newQKeyEvent(type,key,ascii,state); + newTQKeyEvent(type,key,ascii,state); } - private native void newQKeyEvent(int type, int key, int ascii, int state); + private native void newTQKeyEvent(int type, int key, int ascii, int state); public native int key(); public native int ascii(); public native int state(); -- cgit v1.2.1