summaryrefslogtreecommitdiffstats
path: root/kfind
diff options
context:
space:
mode:
Diffstat (limited to 'kfind')
-rw-r--r--kfind/kdatecombo.cpp4
-rw-r--r--kfind/kfind.cpp10
-rw-r--r--kfind/kfinddlg.cpp26
-rw-r--r--kfind/kfindpart.cpp20
-rw-r--r--kfind/kftabdlg.cpp20
-rw-r--r--kfind/kfwin.cpp28
-rw-r--r--kfind/kquery.cpp14
7 files changed, 61 insertions, 61 deletions
diff --git a/kfind/kdatecombo.cpp b/kfind/kdatecombo.cpp
index 05e6148a9..4e44f6c91 100644
--- a/kfind/kdatecombo.cpp
+++ b/kfind/kdatecombo.cpp
@@ -38,7 +38,7 @@ void KDateCombo::initObject(const TQDate & date, TQWidget *, const char *)
popupFrame->setMainWidget(datePicker);
setDate(date);
- connect(datePicker, TQT_SIGNAL(dateSelected(TQDate)), this, TQT_SLOT(dateEnteredEvent(TQDate)));
+ connect(datePicker, TQ_SIGNAL(dateSelected(TQDate)), this, TQ_SLOT(dateEnteredEvent(TQDate)));
}
KDateCombo::~KDateCombo()
@@ -105,7 +105,7 @@ bool KDateCombo::eventFilter (TQObject*, TQEvent* e)
TQPoint p = mapFromGlobal( me->globalPos() );
if (rect().contains( p ) )
{
- TQTimer::singleShot(10, this, TQT_SLOT(dateEnteredEvent()));
+ TQTimer::singleShot(10, this, TQ_SLOT(dateEnteredEvent()));
return true;
}
}
diff --git a/kfind/kfind.cpp b/kfind/kfind.cpp
index 1675d9d71..bcf1e3cd8 100644
--- a/kfind/kfind.cpp
+++ b/kfind/kfind.cpp
@@ -71,17 +71,17 @@ Kfind::Kfind(TQWidget *parent, const char *name)
mSearch = new KPushButton( KGuiItem(i18n("&Find"), "edit-find"), mButtonBox );
mButtonBox->setSpacing( (tabWidget->sizeHint().height()-4*mSearch->sizeHint().height()) / 4);
- connect( mSearch, TQT_SIGNAL(clicked()), this, TQT_SLOT( startSearch() ) );
+ connect( mSearch, TQ_SIGNAL(clicked()), this, TQ_SLOT( startSearch() ) );
mStop = new KPushButton( KGuiItem(i18n("Stop"), "process-stop"), mButtonBox );
- connect( mStop, TQT_SIGNAL(clicked()), this, TQT_SLOT( stopSearch() ) );
+ connect( mStop, TQ_SIGNAL(clicked()), this, TQ_SLOT( stopSearch() ) );
mSave = new KPushButton( KStdGuiItem::saveAs(), mButtonBox );
- connect( mSave, TQT_SIGNAL(clicked()), this, TQT_SLOT( saveResults() ) );
+ connect( mSave, TQ_SIGNAL(clicked()), this, TQ_SLOT( saveResults() ) );
KPushButton * mClose = new KPushButton( KStdGuiItem::close(), mButtonBox );
- connect( mClose, TQT_SIGNAL(clicked()), this, TQT_SIGNAL( destroyMe() ) );
+ connect( mClose, TQ_SIGNAL(clicked()), this, TQ_SIGNAL( destroyMe() ) );
// react to search requests from widget
- connect( tabWidget, TQT_SIGNAL(startSearch()), this, TQT_SLOT( startSearch() ) );
+ connect( tabWidget, TQ_SIGNAL(startSearch()), this, TQ_SLOT( startSearch() ) );
mSearch->setEnabled(true); // Enable "Search"
mStop->setEnabled(false); // Disable "Stop"
diff --git a/kfind/kfinddlg.cpp b/kfind/kfinddlg.cpp
index 7fabcecde..f26710ce2 100644
--- a/kfind/kfinddlg.cpp
+++ b/kfind/kfinddlg.cpp
@@ -62,20 +62,20 @@ KfindDlg::KfindDlg(const KURL & url, TQWidget *parent, const char *name)
vBox->addWidget(win, 1);
vBox->addWidget(mStatusBar, 0);
- connect(this, TQT_SIGNAL(applyClicked()),
- this, TQT_SLOT(startSearch()));
- connect(this, TQT_SIGNAL(user1Clicked()),
- this, TQT_SLOT(stopSearch()));
- connect(this, TQT_SIGNAL(user2Clicked()),
- win, TQT_SLOT(saveResults()));
+ connect(this, TQ_SIGNAL(applyClicked()),
+ this, TQ_SLOT(startSearch()));
+ connect(this, TQ_SIGNAL(user1Clicked()),
+ this, TQ_SLOT(stopSearch()));
+ connect(this, TQ_SIGNAL(user2Clicked()),
+ win, TQ_SLOT(saveResults()));
- connect(win ,TQT_SIGNAL(resultSelected(bool)),
- this,TQT_SIGNAL(resultSelected(bool)));
+ connect(win ,TQ_SIGNAL(resultSelected(bool)),
+ this,TQ_SIGNAL(resultSelected(bool)));
query = new KQuery(frame);
- connect(query, TQT_SIGNAL(addFile(const KFileItem*,const TQString&)),
- TQT_SLOT(addFile(const KFileItem*,const TQString&)));
- connect(query, TQT_SIGNAL(result(int)), TQT_SLOT(slotResult(int)));
+ connect(query, TQ_SIGNAL(addFile(const KFileItem*,const TQString&)),
+ TQ_SLOT(addFile(const KFileItem*,const TQString&)));
+ connect(query, TQ_SIGNAL(result(int)), TQ_SLOT(slotResult(int)));
dirwatch=NULL;
}
@@ -121,8 +121,8 @@ void KfindDlg::startSearch()
if(dirwatch!=NULL)
delete dirwatch;
dirwatch=new KDirWatch();
- connect(dirwatch, TQT_SIGNAL(created(const TQString&)), this, TQT_SLOT(slotNewItems(const TQString&)));
- connect(dirwatch, TQT_SIGNAL(deleted(const TQString&)), this, TQT_SLOT(slotDeleteItem(const TQString&)));
+ connect(dirwatch, TQ_SIGNAL(created(const TQString&)), this, TQ_SLOT(slotNewItems(const TQString&)));
+ connect(dirwatch, TQ_SIGNAL(deleted(const TQString&)), this, TQ_SLOT(slotDeleteItem(const TQString&)));
dirwatch->addDir(query->url().path(),true);
#if 0
diff --git a/kfind/kfindpart.cpp b/kfind/kfindpart.cpp
index 54de01e9b..8fb99fdac 100644
--- a/kfind/kfindpart.cpp
+++ b/kfind/kfindpart.cpp
@@ -53,18 +53,18 @@ KFindPart::KFindPart( TQWidget * parentWidget, const char *widgetName,
setWidget( m_kfindWidget );
- connect( m_kfindWidget, TQT_SIGNAL(started()),
- this, TQT_SLOT(slotStarted()) );
- connect( m_kfindWidget, TQT_SIGNAL(destroyMe()),
- this, TQT_SLOT(slotDestroyMe()) );
- connect(m_kfindWidget->dirlister,TQT_SIGNAL(deleteItem(KFileItem*)), this, TQT_SLOT(removeFile(KFileItem*)));
- connect(m_kfindWidget->dirlister,TQT_SIGNAL(newItems(const KFileItemList&)), this, TQT_SLOT(newFiles(const KFileItemList&)));
+ connect( m_kfindWidget, TQ_SIGNAL(started()),
+ this, TQ_SLOT(slotStarted()) );
+ connect( m_kfindWidget, TQ_SIGNAL(destroyMe()),
+ this, TQ_SLOT(slotDestroyMe()) );
+ connect(m_kfindWidget->dirlister,TQ_SIGNAL(deleteItem(KFileItem*)), this, TQ_SLOT(removeFile(KFileItem*)));
+ connect(m_kfindWidget->dirlister,TQ_SIGNAL(newItems(const KFileItemList&)), this, TQ_SLOT(newFiles(const KFileItemList&)));
//setXMLFile( "kfind.rc" );
query = new KQuery(this);
- connect(query, TQT_SIGNAL(addFile(const KFileItem *, const TQString&)),
- TQT_SLOT(addFile(const KFileItem *, const TQString&)));
- connect(query, TQT_SIGNAL(result(int)),
- TQT_SLOT(slotResult(int)));
+ connect(query, TQ_SIGNAL(addFile(const KFileItem *, const TQString&)),
+ TQ_SLOT(addFile(const KFileItem *, const TQString&)));
+ connect(query, TQ_SIGNAL(result(int)),
+ TQ_SLOT(slotResult(int)));
m_kfindWidget->setQuery(query);
m_bShowsResult = false;
diff --git a/kfind/kftabdlg.cpp b/kfind/kftabdlg.cpp
index 6def97ec6..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
@@ -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();
diff --git a/kfind/kfwin.cpp b/kfind/kfwin.cpp
index f068d031e..c4a19cf94 100644
--- a/kfind/kfwin.cpp
+++ b/kfind/kfwin.cpp
@@ -131,14 +131,14 @@ KfindWindow::KfindWindow( TQWidget *parent, const char *name )
resetColumns(true);
- connect( this, TQT_SIGNAL(selectionChanged()),
- this, TQT_SLOT( selectionHasChanged() ));
+ connect( this, TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT( selectionHasChanged() ));
- connect(this, TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem*,const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(TDEListView *,TQListViewItem*,const TQPoint&)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView *, TQListViewItem*,const TQPoint&)),
+ this, TQ_SLOT(slotContextMenu(TDEListView *,TQListViewItem*,const TQPoint&)));
- connect(this, TQT_SIGNAL(executed(TQListViewItem*)),
- this, TQT_SLOT(slotExecute(TQListViewItem*)));
+ connect(this, TQ_SIGNAL(executed(TQListViewItem*)),
+ this, TQ_SLOT(slotExecute(TQListViewItem*)));
setDragEnabled(true);
}
@@ -409,21 +409,21 @@ void KfindWindow::slotContextMenu(TDEListView *,TQListViewItem *item,const TQPoi
{
//menu = new TDEPopupMenu(item->text(0), this);
m_menu->insertTitle(item->text(0));
- m_menu->insertItem(SmallIcon("document-open"),i18n("Menu item", "Open"), this, TQT_SLOT(openBinding()));
- m_menu->insertItem(SmallIcon("window-new"),i18n("Open Folder"), this, TQT_SLOT(openFolder()));
+ m_menu->insertItem(SmallIcon("document-open"),i18n("Menu item", "Open"), this, TQ_SLOT(openBinding()));
+ m_menu->insertItem(SmallIcon("window-new"),i18n("Open Folder"), this, TQ_SLOT(openFolder()));
m_menu->insertSeparator();
- m_menu->insertItem(SmallIcon("edit-copy"),i18n("Copy"), this, TQT_SLOT(copySelection()));
- m_menu->insertItem(SmallIcon("edit-delete"),i18n("Delete"), this, TQT_SLOT(deleteFiles()));
+ m_menu->insertItem(SmallIcon("edit-copy"),i18n("Copy"), this, TQ_SLOT(copySelection()));
+ m_menu->insertItem(SmallIcon("edit-delete"),i18n("Delete"), this, TQ_SLOT(deleteFiles()));
m_menu->insertSeparator();
- m_menu->insertItem(i18n("Open With..."), this, TQT_SLOT(slotOpenWith()));
+ m_menu->insertItem(i18n("Open With..."), this, TQ_SLOT(slotOpenWith()));
m_menu->insertSeparator();
- m_menu->insertItem(i18n("Properties"), this, TQT_SLOT(fileProperties()));
+ m_menu->insertItem(i18n("Properties"), this, TQ_SLOT(fileProperties()));
}
else
{
m_menu->insertTitle(i18n("Selected Files"));
- m_menu->insertItem(SmallIcon("edit-copy"),i18n("Copy"), this, TQT_SLOT(copySelection()));
- m_menu->insertItem(SmallIcon("edit-delete"),i18n("Delete"), this, TQT_SLOT(deleteFiles()));
+ m_menu->insertItem(SmallIcon("edit-copy"),i18n("Copy"), this, TQ_SLOT(copySelection()));
+ m_menu->insertItem(SmallIcon("edit-delete"),i18n("Delete"), this, TQ_SLOT(deleteFiles()));
}
m_menu->popup(p, 1);
}
diff --git a/kfind/kquery.cpp b/kfind/kquery.cpp
index 1e3617c70..44fc2a97d 100644
--- a/kfind/kquery.cpp
+++ b/kfind/kquery.cpp
@@ -21,9 +21,9 @@ KQuery::KQuery(TQObject *parent, const char * name)
m_regexps.setAutoDelete(true);
m_fileItems.setAutoDelete(true);
processLocate = new TDEProcess(this);
- connect(processLocate,TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),this,TQT_SLOT(slotreceivedSdtout(TDEProcess*,char*,int)));
- connect(processLocate,TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),this,TQT_SLOT(slotreceivedSdterr(TDEProcess*,char*,int)));
- connect(processLocate,TQT_SIGNAL(processExited(TDEProcess*)),this,TQT_SLOT(slotendProcessLocate(TDEProcess*)));
+ connect(processLocate,TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),this,TQ_SLOT(slotreceivedSdtout(TDEProcess*,char*,int)));
+ connect(processLocate,TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),this,TQ_SLOT(slotreceivedSdterr(TDEProcess*,char*,int)));
+ connect(processLocate,TQ_SIGNAL(processExited(TDEProcess*)),this,TQ_SLOT(slotendProcessLocate(TDEProcess*)));
// Files with these mime types can be ignored, even if
// findFormatByFileContent() in some cases may claim that
@@ -87,10 +87,10 @@ void KQuery::start()
else
job = TDEIO::listDir( m_url, false );
- connect(job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)),
- TQT_SLOT(slotListEntries(TDEIO::Job *, const TDEIO::UDSEntryList &)));
- connect(job, TQT_SIGNAL(result(TDEIO::Job *)), TQT_SLOT(slotResult(TDEIO::Job *)));
- connect(job, TQT_SIGNAL(canceled(TDEIO::Job *)), TQT_SLOT(slotCanceled(TDEIO::Job *)));
+ connect(job, TQ_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)),
+ TQ_SLOT(slotListEntries(TDEIO::Job *, const TDEIO::UDSEntryList &)));
+ connect(job, TQ_SIGNAL(result(TDEIO::Job *)), TQ_SLOT(slotResult(TDEIO::Job *)));
+ connect(job, TQ_SIGNAL(canceled(TDEIO::Job *)), TQ_SLOT(slotCanceled(TDEIO::Job *)));
}
void KQuery::slotResult( TDEIO::Job * _job )