#include "dolphinnewmenuobserver.h"
#include "dolphinremoteencoding.h"
-#include <konq_fileitemcapabilities.h>
+#include <kfileitemlistproperties.h>
#include <konq_operations.h>
#include <kaboutdata.h>
// Watch for changes that should result in updates to the
// status bar text.
- connect(m_dirLister, SIGNAL(deleteItem(const KFileItem&)),
+ connect(m_dirLister, SIGNAL(itemsDeleted(const KFileItemList&)),
this, SLOT(updateStatusBar()));
connect(m_dirLister, SIGNAL(clear()),
this, SLOT(updateStatusBar()));
// TODO share this code with DolphinMainWindow::updateEditActions (and the desktop code)
// in libkonq
- KonqFileItemCapabilities capabilities(selection);
+ KFileItemListProperties capabilities(selection);
const bool enableMoveToTrash = capabilities.isLocal() && capabilities.supportsMoving();
renameAction->setEnabled(capabilities.supportsMoving());
{
// TODO: Check issue N176832 for the missing QAIV signal; task 177399 - maybe this code
// should be moved into DolphinPart::slotItemTriggered()
- KFileItem item(S_IFDIR, (mode_t)-1, url);
- KParts::OpenUrlArguments args;
- args.setMimeType(item.mimetype());
- emit m_extension->createNewWindow(url, args);
+ emit m_extension->createNewWindow(url);
}
void DolphinPart::slotOpenContextMenu(const KFileItem& _item,