summaryrefslogtreecommitdiffstats
path: root/kfind/kdatecombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfind/kdatecombo.cpp')
-rw-r--r--kfind/kdatecombo.cpp6
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;