Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/kopenwithdialog.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | 48 | public: | |||
---|---|---|---|---|---|
76 | * @param mimeType the mime type we want to choose an application for. | 76 | * @param mimeType the mime type we want to choose an application for. | ||
77 | * @param value is the initial value of the line | 77 | * @param value is the initial value of the line | ||
78 | * @param parent parent widget | 78 | * @param parent parent widget | ||
79 | */ | 79 | */ | ||
80 | KOpenWithDialog(const QString &mimeType, const QString &value, | 80 | KOpenWithDialog(const QString &mimeType, const QString &value, | ||
81 | QWidget *parent = nullptr); | 81 | QWidget *parent = nullptr); | ||
82 | 82 | | |||
83 | /** | 83 | /** | ||
84 | * Create a dialog that asks for a application for opening a given | ||||
85 | * URL (or more than one), when we already know the mimetype of the URL(s). | ||||
86 | * | ||||
87 | * @param urls is the URLs that should be opened | ||||
88 | * @param mimeType the MIME type of the URL | ||||
89 | * @param text appears as a label on top of the entry box. | ||||
90 | * @param value is the initial value of the line | ||||
91 | * @param parent parent widget | ||||
92 | * @since 5.71 | ||||
93 | */ | ||||
94 | KOpenWithDialog(const QList<QUrl> &urls, const QString &mimeType, | ||||
95 | const QString &text, const QString &value, | ||||
96 | QWidget *parent = nullptr); | ||||
97 | | ||||
98 | /** | ||||
84 | * Create a dialog to select an application | 99 | * Create a dialog to select an application | ||
85 | * Note that this dialog doesn't apply to URLs. | 100 | * Note that this dialog doesn't apply to URLs. | ||
86 | * | 101 | * | ||
87 | * @param parent parent widget | 102 | * @param parent parent widget | ||
88 | */ | 103 | */ | ||
89 | KOpenWithDialog(QWidget *parent = nullptr); | 104 | KOpenWithDialog(QWidget *parent = nullptr); | ||
90 | 105 | | |||
91 | /** | 106 | /** | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |