Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/kurlrequesterdialog.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
78 | * | 78 | * | ||
79 | * @param url This specifies the initial path of the input line. | 79 | * @param url This specifies the initial path of the input line. | ||
80 | * @param parent The widget the dialog will be centered on initially. | 80 | * @param parent The widget the dialog will be centered on initially. | ||
81 | * @param caption The caption to use for the dialog. | 81 | * @param caption The caption to use for the dialog. | ||
82 | */ | 82 | */ | ||
83 | static QUrl getUrl(const QUrl &url = QUrl(), | 83 | static QUrl getUrl(const QUrl &url = QUrl(), | ||
84 | QWidget *parent = nullptr, const QString &caption = QString()); | 84 | QWidget *parent = nullptr, const QString &caption = QString()); | ||
85 | 85 | | |||
86 | #if KIOWIDGETS_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
86 | /** | 87 | /** | ||
87 | * Returns a pointer to the file dialog used by the KUrlRequester. | 88 | * Returns a pointer to the file dialog used by the KUrlRequester. | ||
88 | * @deprecated since 5.0, use urlRequester() methods instead. | 89 | * @deprecated since 5.0, use urlRequester() methods instead. | ||
89 | */ | 90 | */ | ||
90 | #ifndef KIOWIDGETS_NO_DEPRECATED | 91 | KIOWIDGETS_DEPRECATED_VERSION(5, 0, "Use KUrlRequesterDialog::urlRequester() and methods on it") | ||
91 | KIOWIDGETS_DEPRECATED QFileDialog *fileDialog(); | 92 | QFileDialog *fileDialog(); | ||
92 | #endif | 93 | #endif | ||
93 | 94 | | |||
94 | /** | 95 | /** | ||
95 | * Returns a pointer to the KUrlRequester. | 96 | * Returns a pointer to the KUrlRequester. | ||
96 | */ | 97 | */ | ||
97 | KUrlRequester *urlRequester(); | 98 | KUrlRequester *urlRequester(); | ||
98 | 99 | | |||
99 | private: | 100 | private: | ||
Show All 10 Lines |