summaryrefslogtreecommitdiffstats
path: root/kfind
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 21:03:36 +0900
committerMichele Calgaro <[email protected]>2023-11-14 12:59:42 +0900
commita49b0e2c531c81e420dc103b5130e2fa8643f46d (patch)
tree42ee6213b300c2366208f6c122bee39845b5a89c /kfind
parent36eda89f538b610db9dbda129d7c8e81089caf1a (diff)
downloadtdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz
tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'kfind')
-rw-r--r--kfind/kdatecombo.cpp6
-rw-r--r--kfind/kfinddlg.cpp2
-rw-r--r--kfind/kftabdlg.cpp4
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("*");