Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/knewfilemenu.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Line(s) | 59 | public: | |||
---|---|---|---|---|---|
104 | void setParentWidget(QWidget *parentWidget); | 104 | void setParentWidget(QWidget *parentWidget); | ||
105 | 105 | | |||
106 | /** | 106 | /** | ||
107 | * Set the files the popup is shown for | 107 | * Set the files the popup is shown for | ||
108 | * Call this before showing up the menu | 108 | * Call this before showing up the menu | ||
109 | */ | 109 | */ | ||
110 | void setPopupFiles(const QList<QUrl> &files); | 110 | void setPopupFiles(const QList<QUrl> &files); | ||
111 | 111 | | |||
112 | #ifndef KIOFILEWIDGETS_NO_DEPRECATED | 112 | #if KIOFILEWIDGETS_ENABLE_DEPRECATED_SINCE(5, 0) | ||
113 | void setPopupFiles(const QUrl &file) | 113 | void setPopupFiles(const QUrl &file) | ||
114 | { | 114 | { | ||
115 | setPopupFiles(QList<QUrl>() << file); | 115 | setPopupFiles(QList<QUrl>() << file); | ||
116 | } | 116 | } | ||
117 | #endif | 117 | #endif | ||
118 | 118 | | |||
119 | /** | 119 | /** | ||
120 | * Only show the files in a given set of mimetypes. | 120 | * Only show the files in a given set of mimetypes. | ||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |