diff options
Diffstat (limited to 'kfind/kfwin.cpp')
-rw-r--r-- | kfind/kfwin.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kfind/kfwin.cpp b/kfind/kfwin.cpp index f068d031e..5399d3c92 100644 --- a/kfind/kfwin.cpp +++ b/kfind/kfwin.cpp @@ -25,9 +25,9 @@ #include <tdelocale.h> #include <tdeapplication.h> #include <krun.h> -#include <kprocess.h> +#include <tdeprocess.h> #include <kpropertiesdialog.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdemessagebox.h> #include <kmimetype.h> #include <tdeglobal.h> @@ -110,7 +110,7 @@ KfindWindow::KfindWindow( TQWidget *parent, const char *name ) ,m_menu(0) { setSelectionMode( TQListView::Extended ); - setShowSortIndicator( TRUE ); + setShowSortIndicator( true ); addColumn(i18n("Name")); addColumn(i18n("In Subfolder")); @@ -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); } @@ -178,7 +178,7 @@ void KfindWindow::copySelection() if (drag_obj) { - TQClipboard *cb = kapp->clipboard(); + TQClipboard *cb = tdeApp->clipboard(); cb->setData(drag_obj); } } @@ -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); } |