KIO
kfileitemactions.h
29 * @li user-defined actions for a .desktop file, defined in the file itself (see the desktop entry standard)
30 * @li servicemenus actions, defined in .desktop files and selected based on the MIME type of the url
98 void insertOpenWithActionsTo(QAction *before, QMenu *topMenu, const QStringList &excludedDesktopEntryNames);
125 Services = 0x1, ///< Add user defined actions and servicemenu actions (this used to include builtin
135 * @param sources sources from which the actions should be fetched. By default all sources are used.
void error(const QString &errorMessage)
Forwards the errors from the KAbstractFileItemActionPlugin instances.
static KService::List associatedApplications(const QStringList &mimeTypeList)
Returns the applications associated with all the given MIME types.
Definition kfileitemactions.cpp:275
void insertOpenWithActionsTo(QAction *before, QMenu *topMenu, const QStringList &excludedDesktopEntryNames)
Generates the "Open With <Application>" actions, and inserts them in menu, before action before.
Definition kfileitemactions.cpp:288
void setItemListProperties(const KFileItemListProperties &itemList)
Sets all the data for the next instance of the popupmenu.
Definition kfileitemactions.cpp:245
void openWithDialogAboutToBeShown()
Emitted before the "Open With" dialog is shown This is used e.g in folderview to close the folder pee...
@ Services
Add user defined actions and servicemenu actions (this used to include builtin actions,...
Definition kfileitemactions.h:125
@ Plugins
Add actions implemented by plugins. See KAbstractFileItemActionPlugin base class.
Definition kfileitemactions.h:127
void setParentWidget(QWidget *widget)
Set the parent widget for any dialogs being shown.
Definition kfileitemactions.cpp:843
void runPreferredApplications(const KFileItemList &fileOpenList)
Slot used to execute a list of files in their respective preferred application.
Definition kfileitemactions.cpp:322
KFileItemActions(QObject *parent=nullptr)
Creates a KFileItemActions instance.
Definition kfileitemactions.cpp:237
Provides information about the common properties of a group of KFileItem objects.
Definition kfileitemlistproperties.h:39
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition kfileitem.h:632
QList< Ptr > List
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.