diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 21:03:36 +0900 |
commit | b965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch) | |
tree | 7fcff5d301752cbdcdfff64d8791aff1369b803f /kfind/kdatecombo.cpp | |
parent | 7d6d35b42e00d6b6658951871b29489bdec80714 (diff) | |
download | tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kfind/kdatecombo.cpp')
-rw-r--r-- | kfind/kdatecombo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kfind/kdatecombo.cpp b/kfind/kdatecombo.cpp index 467f26792..05e6148a9 100644 --- a/kfind/kdatecombo.cpp +++ b/kfind/kdatecombo.cpp @@ -84,7 +84,7 @@ void KDateCombo::dateEnteredEvent(TQDate newDate) void KDateCombo::mousePressEvent (TQMouseEvent * e) { - if (e->button() & Qt::LeftButton) + if (e->button() & TQt::LeftButton) { if (rect().contains( e->pos())) { @@ -113,12 +113,12 @@ bool KDateCombo::eventFilter (TQObject*, TQEvent* e) { TQKeyEvent *k = (TQKeyEvent *)e; //Press return == pick selected date and close the combo - if((k->key()==Qt::Key_Return)||(k->key()==Qt::Key_Enter)) + if((k->key()==TQt::Key_Return)||(k->key()==TQt::Key_Enter)) { dateEnteredEvent(datePicker->date()); return true; } - else if (k->key()==Qt::Key_Escape) + else if (k->key()==TQt::Key_Escape) { popupFrame->hide(); return true; |