diff options
Diffstat (limited to 'kfind/kftabdlg.cpp')
-rw-r--r-- | kfind/kftabdlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kfind/kftabdlg.cpp b/kfind/kftabdlg.cpp index c2df7aa67..3820eaead 100644 --- a/kfind/kftabdlg.cpp +++ b/kfind/kftabdlg.cpp @@ -134,11 +134,11 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name) // Signals - connect( browseB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(getDirectory()) ); + connect( browseB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(getDirectory()) ); - connect( nameBox, TQT_SIGNAL(activated(int)), - this, TQT_SIGNAL(startSearch())); + connect( nameBox, TQ_SIGNAL(activated(int)), + this, TQ_SIGNAL(startSearch())); // ************ Page Two @@ -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 ); @@ -235,9 +235,9 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name) grid1->setRowStretch(6,1); // Connect - connect( findCreated, TQT_SIGNAL(toggled(bool)), TQT_SLOT(fixLayout()) ); - connect( bg, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(fixLayout()) ); - connect( sizeBox, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotSizeBoxChanged(int))); + connect( findCreated, TQ_SIGNAL(toggled(bool)), TQ_SLOT(fixLayout()) ); + connect( bg, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(fixLayout()) ); + connect( sizeBox, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotSizeBoxChanged(int))); // ************ Page Three @@ -250,7 +250,7 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name) textEdit=new KLineEdit(pages[2], "textEdit" ); TQLabel * textL =new TQLabel(textEdit, i18n("C&ontaining text:"), pages[2], "text"); - connect( textEdit, TQT_SIGNAL(returnPressed(const TQString &)), TQT_SIGNAL( startSearch())); + connect( textEdit, TQ_SIGNAL(returnPressed(const TQString &)), TQ_SIGNAL( startSearch())); const TQString containingtext = i18n("<qt>If specified, only files that contain this text" @@ -306,9 +306,9 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name) if ( editRegExp ) { // The editor was available, so lets use it. - connect( regexpContentCb, TQT_SIGNAL(toggled(bool) ), editRegExp, TQT_SLOT(setEnabled(bool)) ); + connect( regexpContentCb, TQ_SIGNAL(toggled(bool) ), editRegExp, TQ_SLOT(setEnabled(bool)) ); editRegExp->setEnabled(false); - connect( editRegExp, TQT_SIGNAL(clicked()), this, TQT_SLOT( slotEditRegExp() ) ); + connect( editRegExp, TQ_SIGNAL(clicked()), this, TQ_SLOT( slotEditRegExp() ) ); } else regexpContentCb->hide(); @@ -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("*"); @@ -496,7 +496,7 @@ void KfindTabWidget::loadHistory() void KfindTabWidget::slotEditRegExp() { if ( ! regExpDialog ) - regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) ); + regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this ); KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) ); if ( !iface ) @@ -807,7 +807,7 @@ bool KfindTabWidget::isSearchRecursive() Digit validator. Allows only digits to be typed. **/ KDigitValidator::KDigitValidator( TQWidget * parent, const char *name ) - : TQValidator( TQT_TQOBJECT(parent), name ) + : TQValidator( parent, name ) { r = new TQRegExp("^[0-9]*$"); } |