[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Migrating to qt2.0
From:       Pete Ware <ware () cis ! ohio-state ! edu>
Date:       2000-04-01 21:22:57
[Download RAW message or body]

I found myself adding this code fragment:

        if qt.QT_VERSION >= 200:
                qt.CTRL = qt.Qt.Modifier.CTRL
                qt.Key_Delete = qt.Qt.Key.Key_Delete
                qt.Key_A = qt.Qt.Key.Key_A
                qt.Key_B = qt.Qt.Key.Key_B
                qt.Key_C = qt.Qt.Key.Key_C
                qt.Key_D = qt.Qt.Key.Key_D
                qt.Key_G = qt.Qt.Key.Key_G
                qt.Key_H = qt.Qt.Key.Key_H
                qt.Key_L = qt.Qt.Key.Key_L
                qt.Key_M = qt.Qt.Key.Key_M
                qt.Key_N = qt.Qt.Key.Key_N
                qt.Key_P = qt.Qt.Key.Key_P
                qt.Key_Q = qt.Qt.Key.Key_Q
                qt.Key_S = qt.Qt.Key.Key_S
                qt.Key_T = qt.Qt.Key.Key_T

to help my application run under either qt 1.44 or qt 2.0.x

--pete


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic