Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfilewidget.cpp
Show First 20 Lines • Show All 2020 Lines • ▼ Show 20 Line(s) | |||||
2021 | QPushButton *KFileWidget::cancelButton() const | 2021 | QPushButton *KFileWidget::cancelButton() const | ||
2022 | { | 2022 | { | ||
2023 | return d->cancelButton; | 2023 | return d->cancelButton; | ||
2024 | } | 2024 | } | ||
2025 | 2025 | | |||
2026 | // Called by KFileDialog | 2026 | // Called by KFileDialog | ||
2027 | void KFileWidget::slotCancel() | 2027 | void KFileWidget::slotCancel() | ||
2028 | { | 2028 | { | ||
2029 | // qDebug(); | | |||
2030 | | ||||
2031 | d->ops->close(); | | |||
2032 | | ||||
2033 | d->writeViewConfig(); | 2029 | d->writeViewConfig(); | ||
2030 | d->ops->close(); | ||||
2034 | } | 2031 | } | ||
2035 | 2032 | | |||
2036 | void KFileWidget::setKeepLocation(bool keep) | 2033 | void KFileWidget::setKeepLocation(bool keep) | ||
2037 | { | 2034 | { | ||
2038 | d->keepLocation = keep; | 2035 | d->keepLocation = keep; | ||
2039 | } | 2036 | } | ||
2040 | 2037 | | |||
2041 | bool KFileWidget::keepsLocation() const | 2038 | bool KFileWidget::keepsLocation() const | ||
▲ Show 20 Lines • Show All 824 Lines • Show Last 20 Lines |