KIO
kfileitemactions.h
Go to the documentation of this file.
117 static KService::List associatedApplications(const QStringList& mimeTypeList, const QString& traderConstraint);
149 void runPreferredApplications(const KFileItemList& fileOpenList, const QString& traderConstraint);
int addServiceActionsTo(QMenu *menu)
Generate the user-defined actions and submenus, and adds them to the menu.
Definition kfileitemactions.cpp:204
KFileItemActions(QObject *parent=0)
Creates a KFileItemActions instance.
Definition kfileitemactions.cpp:179
void setItemListProperties(const KFileItemListProperties &itemList)
Sets all the data for the next instance of the popupmenu.
Definition kfileitemactions.cpp:190
void openWithDialogAboutToBeShown()
Emitted before the "Open With" dialog is shown This is used e.g in folderview to close the folder pee...
KAction * preferredOpenWithAction(const QString &traderConstraint)
Returns an action for the preferred application only.
Definition kfileitemactions.cpp:712
void runPreferredApplications(const KFileItemList &fileOpenList, const QString &traderConstraint)
Slot used to execute a list of files in their respective preferred application.
Definition kfileitemactions.cpp:633
void addOpenWithActionsTo(QMenu *menu, const QString &traderConstraint=QString())
Generate the "Open With <Application>" actions, and adds them to the menu.
Definition kfileitemactions.cpp:497
void setParentWidget(QWidget *widget)
Set the parent widget for any dialogs being shown.
Definition kfileitemactions.cpp:721
static KService::List associatedApplications(const QStringList &mimeTypeList, const QString &traderConstraint)
Helper method used internally, can also be used for similar GUIs that show the list of associated app...
Definition kfileitemactions.cpp:431
friend class KFileItemActionsPrivate
Definition kfileitemactions.h:153
Provides information about the common properties of a group of KFileItem objects.
Definition kfileitemlistproperties.h:50
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition kfileitem.h:675
QList< Ptr > List
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.