diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
commit | b965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch) | |
tree | 7fcff5d301752cbdcdfff64d8791aff1369b803f /kcontrol/tdeio/uagentproviderdlg.cpp | |
parent | 7d6d35b42e00d6b6658951871b29489bdec80714 (diff) | |
download | tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/tdeio/uagentproviderdlg.cpp')
-rw-r--r-- | kcontrol/tdeio/uagentproviderdlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/tdeio/uagentproviderdlg.cpp b/kcontrol/tdeio/uagentproviderdlg.cpp index 5e5cbd233..821d2e8e4 100644 --- a/kcontrol/tdeio/uagentproviderdlg.cpp +++ b/kcontrol/tdeio/uagentproviderdlg.cpp @@ -45,8 +45,8 @@ void UALineEdit::keyPressEvent( TQKeyEvent* e ) { int key = e->key(); TQString keycode = e->text(); - if ( (key >= Qt::Key_Escape && key <= Qt::Key_Help) || key == Qt::Key_Period || - (cursorPosition() > 0 && key == Qt::Key_Minus) || + if ( (key >= TQt::Key_Escape && key <= TQt::Key_Help) || key == TQt::Key_Period || + (cursorPosition() > 0 && key == TQt::Key_Minus) || (!keycode.isEmpty() && keycode.unicode()->isLetterOrNumber()) ) { KLineEdit::keyPressEvent(e); |