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 | |
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')
-rw-r--r-- | kfind/kdatecombo.cpp | 6 | ||||
-rw-r--r-- | kfind/kfinddlg.cpp | 2 | ||||
-rw-r--r-- | kfind/kftabdlg.cpp | 4 |
3 files changed, 6 insertions, 6 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; diff --git a/kfind/kfinddlg.cpp b/kfind/kfinddlg.cpp index 29e3010b4..ff47a2776 100644 --- a/kfind/kfinddlg.cpp +++ b/kfind/kfinddlg.cpp @@ -31,7 +31,7 @@ KfindDlg::KfindDlg(const KURL & url, TQWidget *parent, const char *name) KStdGuiItem::saveAs()) { TQWidget::setCaption( i18n("Find Files/Folders" ) ); - setButtonBoxOrientation(Qt::Vertical); + setButtonBoxOrientation(TQt::Vertical); enableButton(Apply, true); // Enable "Find" enableButton(User1, false); // Disable "Stop" diff --git a/kfind/kftabdlg.cpp b/kfind/kftabdlg.cpp index c2df7aa67..240b223bf 100644 --- a/kfind/kftabdlg.cpp +++ b/kfind/kftabdlg.cpp @@ -212,7 +212,7 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name) grid1->addWidget(rb[0], 1, 1 ); grid1->addWidget(fromDate, 1, 2 ); - grid1->addWidget(andL, 1, 3, Qt::AlignHCenter ); + grid1->addWidget(andL, 1, 3, TQt::AlignHCenter ); grid1->addWidget(toDate, 1, 4 ); grid1->addWidget(rb[1], 2, 1 ); @@ -330,7 +330,7 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name) grid2->addWidget( textMetaKey, 4, 0 ); grid2->addWidget( metainfokeyEdit, 4, 1 ); - grid2->addWidget( textMetaInfo, 4, 2, Qt::AlignHCenter ); + grid2->addWidget( textMetaInfo, 4, 2, TQt::AlignHCenter ); grid2->addWidget( metainfoEdit, 4, 3 ); metainfokeyEdit->setText("*"); |